Kodi Community Forum
[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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


Season poasters/banners - Martijn - 2012-01-13

I got most of the things figured out however I do appreciate some feedback.

I will be able to save 'poster.jpg' and 'banner.jpg' inside the season folders.
Would this feature be appriciated by skinners?
PHP Code:
tvshows/season ../poster.jpg
tvshows
/season ../banner.jpg 

Any other suggestions what you guys would be looking for concerning this?


Note:
Still working on a way to directly push the downloaded poster locations into xbmc database.


- Hitcher - 2012-01-13

Doesn't XBMC ignore season folders?


- Martijn - 2012-01-13

Hitcher Wrote:Doesn't XBMC ignore season folders?
How do you mean?


- Hitcher - 2012-01-13

http://wiki.xbmc.org/index.php?title=TV_Shows_(Video_Library)#Directory_Structure_and_File_Names

Quote:You can have different seasons in different season subfolders under the individual TV Show folders if it suits you. XBMC does not use them, but they do not cause issues either.

I don't use them myself either but if XBMC doesn't use them are they included in the media path?


- Martijn - 2012-01-14

That's true however AD wasn't intended (and can't) to be used before stuff is added to the library. It is intended to make life easy after it was scanned.
I always use season folders and they are scanned without any problems.


Banners aren't supported by XBMC anyway. In other words most skins just use poster as default and look for banner.jpg in the tvshow folder (or offer this as an option).

I already discussed this once with BigNoid (and forgot what came out of that) and his skin already needs season folders for some things to work (and i agree this makes a lot of sense using season folders).

I can already save them like XBMC exports them but i don't think skins can easily use them like that. So i was looking for a way that skins can have easy access to downloaded artwork.
Season posters can be pushed into the library (once i figure it out) however season banners are 'new' and not supported yet.

Others options/proposals?


- ronie - 2012-01-14

Martijn Wrote:I got most of the things figured out however I do appreciate some feedback.

I will be able to save 'poster.jpg' and 'banner.jpg' inside the season folders.
Would this feature be appriciated by skinners?
PHP Code:
tvshows/season ../poster.jpg
tvshows
/season ../banner.jpg 

Any other suggestions what you guys would be looking for concerning this?

currently, season thumbs live in the root folder of the tv show:
Code:
House/season08.tbn

so maybe store poster/banner there as well?

as for the naming scheme, you could use:
Code:
House/season08-poster.jpg
House/season08-banner.jpg

no clue if there's any downsides to it, but it seems to most logical thing to do.

edit:
nah, forget it.



- Martijn - 2012-01-14

Possibility:

PHP Code:
Season Folders:
$INFO[ListItem.Path]$INFO[ListItem.Season,../season,-banner.jpg]
$INFO[ListItem.Path]$INFO[ListItem.Season,../season,-poster.jpg]
$INFO[Player.Folderpath]$INFO[VideoPlayer.Season,../season,-banner.jpg]
$INFO[Player.Folderpath]$INFO[VideoPlayer.Season,../season,-posters.jpg]

No season folders:
$INFO[ListItem.Path]$INFO[ListItem.Season,season,-banner.jpg]
$INFO[ListItem.Path]$INFO[ListItem.Season,season,-poster.jpg]
$INFO[Player.Folderpath]$INFO[VideoPlayer.Season,season,-banner.jpg]
$INFO[Player.Folderpath]$INFO[VideoPlayer.Season,season,-posters.jpg
PHP Code:
tvshows/seasonx-poster.jpg
tvshows
/seasonx-banner.jpg
tvshows
/seasonx-landscape.jpg 
So this can work regardless of yes/no season folders (may need extra work).


- Martijn - 2012-01-16

OK I got things working like proposed in previous post.

PHP Code:
tvshows/seasonx-poster.jpg
tvshows
/seasonx-banner.jpg 
Through GUI, custom and bulk download.
Extra info like rating,season, language,size are included in the image selection dialog.

This is in no way final release. It all depends on how you guys feel about the season banners and posters.
I would rather push the season posters straight to the database if possible and that is something i will be working on next week to get that working.
Script can be run the same way but now with extra commands: seasonbanner, seasonposter

script.artwork.downloader-Eden(1.0.4)-Skinners_Only.zip

Any feedback from you guys is welcome Smile


- Hitcher - 2012-01-20

I'm having a problem adding this to get banner images.

Here's what happens -

Image

The progress dialog doesn't close when the banners are found.

Thanks.


- Martijn - 2012-01-20

Hitcher Wrote:I'm having a problem adding this to get banner images.
The progress dialog doesn't close when the banners are found.

Thanks.

Weird. Just tried with reFocus and it closes the progress dialog.

It shouldn't make any difference on what type of image you use.
Can i get that version included the banner part from your googlecode page?

EDIT:

Ah i see what's the problem Smile
You have a different z index than others. In T! the select dialog is on top of the progress dialog.
Will close the progress dialog first


- Hitcher - 2012-01-20

Cheers.


- Martijn - 2012-01-20

Hitcher Wrote:Cheers.

I thought I already had fixed it but apparently i only did that for the GUI mode and not the custom mode that uses the image list.

Anyway I fixed it in git. So if you want to try you can grab the new code.


- Hitcher - 2012-01-20

Yep, that's sorted it thanks.


Release 1.0.4 - Martijn - 2012-01-23

AVAILABLE IN XBMC REPO

1.0.4
- Fixed: After doing ID conversion it skipped that movie
- Fixed: Some mayor bug that no ones has noticed so far
- Fixed: When no exact title match was found it downloaded the entire library
- Fixed: Close progress dialog before opening the image selection window
- Changed: Reverted old change of using image ID from tmdb as filename. This is not available any more in new API v3
- Changed: Use the new TMDB API v3
- Changed: Use smaller image in GUI dialog for faster loading of images (when posible)
- Changed: You can now set preferred language. Will always use English as fallback
- Changed: Show yes/no dialog for faulty settings instead of looping
- Changed: Only start service when user is logged in (requires minimal XBMC beta2)
- Added: Polish translation (thx cienislaw)
- Added: Dutch translation (thx Martijn)
- Added: German translation (thx Suven)
- Added: Download report is accessible from the add-on settings window
- Added: Download report is accessible from the yes/no dialog when finished (not when background/silent/custom run)
- Added: Extra info to gui dialog (language, rating, votes, season and size)
- Added: Ratings for movie artwork
- Added: Now tries to look up the 'tmdb ID' if no 'imdb ID' is found and retrieves artwork using that
- Added: Added musicvideo section that uses the title to search for artwork on TMDB
Needs extra argument from skin (see runscript.txt)


Example of extra info when able to choose what image you want:
Image


- Hitcher - 2012-01-27

While adding season banners support to XeeBo I noticed the script didn't find season banners for The Unit even though they exist.

Thanks.