[RELEASE] Artwork Downloader - Skin support - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: [RELEASE] Artwork Downloader - Skin support (/showthread.php?tid=115682) |
- Martijn - 2011-12-03 `Black Wrote:Thanks. By popular demand: Code: RunScript(script.artwork.downloader,mode=custom,mediatype=tvshow,extrafanart,banner) Code: RunScript(script.artwork.downloader,mode=custom,mediatype=tvshow,medianame=$INFO[ListItem.TVShowTitle],extrafanart,banner) Code: silent=true Specify as many artwork types as you like. When available of course. How to use: see "/resources/dosc/runscript.txt" (forgot to add the silent=true in there) script.artwork.downloader-Eden(1.0.1)-RC1.zip Find any bugs let me know. - `Black - 2011-12-03 Thanks, I'll try it as soon as I can. - Martijn - 2011-12-03 `Black Wrote:Thanks, I'll try it as soon as I can. ronie also updated TV Show Next Aired in combination with this. It's in his SVN I tested it out on my setup and it should work - Martijn - 2011-12-03 clear... - Jeroen - 2011-12-03 A couple of things. I'm confused as to whether the script fetches logo images (not clearlogo). The readme mentions that it does, however in the runscript.txt at available options it isn't mentioned. I haven't been able to get logo images using: PHP Code: <onclick>RunScript(script.artwork.downloader,mode=custom,silent="true",mediatype=tvshow,logo)</onclick> Also, could the "finished" popup be turned into a notification? I really think it's redundant to have to confirm a successful operation. Last, is it possible to have the user select the images from the results when more than one is found? - Martijn - 2011-12-03 Jeroen Wrote:A couple of things. I'm confused as to whether the script fetches logo images (not clearlogo). The readme mentions that it does, however in the runscript.txt at available options it isn't mentioned. I haven't been able to get logo images using: Remove the quotes around PHP Code: silent=true So this will download logo PHP Code: <onclick>RunScript(script.artwork.downloader,mode=custom,silent=true,mediatype=tvshow,clearlogo)</onclick> It saves me a bunch of code this way because fanart.tv also calls it clearlogo. Will add a note in the runscript.txt At the moment the user can only select a custom image when run in the mode=gui I can look into it if it is also possible for mode=custom however that might take some time. EDIT: Apperently these are all valid PHP Code: silent="true" - Martijn - 2011-12-03 Updated the runscript.txt and fixed the dialog script.artwork.downloader-Eden(1.0.1)-RC2.zip Just a note: I will leave the version in addon.xml the same until it goes to repo. This way every one that installed one of the RC versions will also recieve an update - Jeroen - 2011-12-03 Machine-Sanctum Wrote:Remove the quotes aroundGreat Quote:So this will download logoAh I see. Reading clearlogo made me think clearart, nvm Quote:At the moment the user can only select a custom image when run in the mode=guiThat would be great. I don't know much about scripting but it was possible with the old script so maybe it can be borrowed from that. Cheers - Martijn - 2011-12-03 Jeroen Wrote:Ah I see. Reading clearlogo made me think clearart, nvmYeah it can be a bit confusing. Sometimes i still mix them up. Jeroen Wrote:That would be great. I don't know much about scripting but it was possible with the old script so maybe it can be borrowed from that. Was it Never noticed that and i copied a part of the script Can't imagine it was because that would mean a pop for every tvshow you have when running in bulk mode After we rebuild the code into separate chunks for better readability. You are sure you are not talking about this http://forum.xbmc.org/showpost.php?p=935632&postcount=4 - Jeroen - 2011-12-03 Machine-Sanctum Wrote:Yeah it can be a bit confusing. Sometimes i still mix them up. I should clarify, I am talking about using it in solo mode. I have two separate buttons in DialogVideoInfo, one to download banners, and one for logos. Upon pressing one of those buttons the old script used to show a "Choose what to download" dialog, but I requested Ronie to skip that dialog when separate buttons were used for specific artwork types. And then it would show DialogSelect, allowing to choose the desired banner or logo. Check out the latest (non-git) version of reFocus to see what I mean. Support added to reFocus btw (git version) - Martijn - 2011-12-03 Jeroen Wrote:I should clarify, I am talking about using it in solo mode. Yes i saw the Git I have been watching you I now see what you mean. Might take some time to figure it out how do do it nicely. It might be very simple. For now it downloads the 'most popular'. EDIT: Fixed version that doesn't hard code season artwork enabled script.artwork.downloader-Eden(1.0.1)-RC3.zip - `Black - 2011-12-03 I think for that you should add a setting, can be annoying if it asks for every movie / tv show which artwork to download. - Martijn - 2011-12-03 `Black Wrote:I think for that you should add a setting, can be annoying if it asks for every movie / tv show which artwork to download. It was only for solo mode so one tvshow. So when not provided it will auto download and when provided a tvshow name it pops-up the dialog. Will maybe ake it somethings like PHP Code: XBMC.runscript(script.artwork.downloader, mode=customgui, mediatype=tvshow,medianame=$INFO[ListItem.TVShowTitle],logo) - Jeroen - 2011-12-03 `Black Wrote:I think for that you should add a setting, can be annoying if it asks for every movie / tv show which artwork to download.This would only apply when you're in DialogVideoInfo for a specific show, not in bulk mode. edit: too late - `Black - 2011-12-03 Ok setting is not needed then. Edit: What do I do if I want to download i.e. extrafanart for both, movies and tv shows? Edit2: Solo mode should always either download the artwork (if only 1 was found) or ask the user which to download (if more than 1 was found). No customgui mode necessary imo. |