2015-11-07, 01:25
Hi,
First, let me say I know how to do it by clicking buttons. In the default skin. That's not why I am here.
I am brewing on a skin that has several panels and list - filled with database items; genres, artists, albums and songs - all together in a single window, all filled by plugins, and all actions handled by "onclick" - pretty much nothing is left for Kodi to handle.
I suddenly realize I have no idea how to "call" the music scraper to do it's magic on a certain album (or any other item, be that artist or movie or anything in the database really)?
I know I can activate "button 6" in dialogmusic.xml, but how do I tell xbmc/kodi what it is supposed to scrape?
Is it simply the selected item, in any panel? If so, what information must the item/panel/container have? (I fill them all dynamically so they don't really have any information besides the thumbnail but I could add it ofcourse). Oh, and I will quite possibly end up with lists with mixed contents any day soon.. then what?
If the solution is to somehow activate the scraper addon from (another) python script that would be ok by me. But how?
It is quite possible that I am overthinking this, so please - any help is appreciated
Thanks,
Torben
First, let me say I know how to do it by clicking buttons. In the default skin. That's not why I am here.
I am brewing on a skin that has several panels and list - filled with database items; genres, artists, albums and songs - all together in a single window, all filled by plugins, and all actions handled by "onclick" - pretty much nothing is left for Kodi to handle.
I suddenly realize I have no idea how to "call" the music scraper to do it's magic on a certain album (or any other item, be that artist or movie or anything in the database really)?
I know I can activate "button 6" in dialogmusic.xml, but how do I tell xbmc/kodi what it is supposed to scrape?
Is it simply the selected item, in any panel? If so, what information must the item/panel/container have? (I fill them all dynamically so they don't really have any information besides the thumbnail but I could add it ofcourse). Oh, and I will quite possibly end up with lists with mixed contents any day soon.. then what?
If the solution is to somehow activate the scraper addon from (another) python script that would be ok by me. But how?
It is quite possible that I am overthinking this, so please - any help is appreciated
Thanks,
Torben