Season posters not showing
Closed this issue · 13 comments
Hi,
I have my seasons posters like this:
SerieName (year)
------ Saison xx
------------- poster.jpg
The issue is that the season posters do not show in plex.
I think I found the problem. Fix will follow.
Sorry, but still not working for me.
I doubt we handle "Saison" vs "Season". Does XBMC really support season folders using other languages? If so, can you provide a reference to that (from either the wiki or XBMC code)?
Sorry I don't know if XBMC handle "Saison" i'm not using it.
But I found that when I put "poster.jpg" in the tvShow folder it is displayed at season poster for every seasons. So i think the "seasonPath" variable is pointing the location of the season folder instead of the inside path of the season folder.
I didn't see any official doc about this naming convention for TV arwork (for season posters):
http://wiki.xbmc.org/?title=Thumbnails#Video_Thumbnails
Did XBMC created those season posters? If not where do they come from (SB, etc...)?
Not saying not to support it, just curious...
TV Show Season Thumbnails
As of Frodo, XBMC can use either posters OR banners as the Season thumbnail. In the following example, the thumbnail will be used for the appropriate season in the Video Library season node. Where xx is 01, 02 etc.
TV\showfolder\seasonxx-poster.(jpg/png)
or
TV\showfolder\seasonxx-banner.(jpg/png)
TV Show Specials
TV\showfolder\season-specials-poster.(jpg/png)
or
TV\showfolder\season-specials-banner.(jpg/png)
For the all seasons item
TV\showfolder\season-all-poster.(jpg/png)
or
TV\showfolder\season-all-banner.(jpg/png
Historically the agent did support poster.jpg inside season folders I think. Also it should support seasons in other names theoretically. (At least it did for someone who had spanish naming some time ago.) Sorry the change did not work for you. I admit it was untested because it was rather late yesterday and I wanted to get the other changes in there.
Could you enable debug logging, copy one of the problematic shows (if possible with only a few seasons) to a test folder and add this as a test section? Zip up the complete debug logs, upload them to some cloud service and post me a link please.
I'll have a further look at the problem.
The poster.jpg in the series folder is the last resort fallback. It is used if no other poster file is found for the seasons. Before that it should look for the poster.jpg in the season folder. We'll have to find out why it doesn't. Also .png is not supported yet. :( Supporting that also would require an extensive rewrite.
I used MediaElch to scrap posters -> http://www.kvibes.de/en/mediaelch/
Here is the log file -> http://www.mediafire.com/view/arnc2ubhxvp0k1c/log.txt
Hmm... Going by the log, the poster.jpg files are found:
2014-05-12 10:56:19,931 (1a64) : INFO (logkit:16) - Trying I:\TV Show\Alien Theory (2010)\season01-poster.jpg
...
2014-05-12 10:56:19,934 (1a64) : INFO (logkit:16) - Trying I:\TV Show\Alien Theory (2010)\Saison 01\poster.jpg
2014-05-12 10:56:19,934 (1a64) : INFO (logkit:16) - Found season poster file I:\TV Show\Alien Theory (2010)\Saison 01\poster.jpg
2014-05-12 10:56:19,934 (1a64) : INFO (logkit:16) - Found season poster image at I:\TV Show\Alien Theory (2010)\Saison 01\poster.jpg
2014-
The agents tests the various options until it finally finds the poster.jpg in the season folder. It does this for season 2, too. Only problem I see is, that there is an exception occuring in the log. This might block plex from accepting the found posters.
2014-05-12 10:56:19,970 (165c) : CRITICAL (core:561) - Exception in task thread (most recent call last):
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 296, in _start
obj._exec()
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 243, in _exec
self._result = self._f(_self._args, *self.kwargs)
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\XBMCnfoTVImporter.bundle\Contents\Code__init.py", line 510, in UpdateEpisode
path1 = XML.ElementFromURL(pageUrl).xpath('//MediaPart')[0].get('file')
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 344, in ElementFromURL
method=method,
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, _args, *_kwargs)
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 426, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 147, in init
self.load()
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 194, in load
self._core.networking._save()
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 377, in _save
self._cookie_jar.save(self._cookie_file_path)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip_MozillaCookieJar.py", line 118, in save
f = open(filename, "w")
File "C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\subsystem\ospathfix.py", line 64, in builtins_open
return builtins['_open'](longpathify%28uni%28filename%29%29, mode)
IOError: [Errno 22] invalid mode ('w') or filename: u'\?\C:\Users\MorattelD\AppData\Local\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.xbmcnfotv\HTTPCookies'
Sadly I can't relate it directly to the agent. :( I don't really know what is going wrong.
Could you zip me the whole folder for this series without the episode files? All subfolders, posters, banners, nfo files.
Ok, here is the zip -> http://www.mediafire.com/download/kqfdzb74cz2w243/TV_Show.rar
Importing your show with my system worked perfectly fine. poster.jpg files from Saison folder are recognized without problems. Do you have a linux or a windows system? Do all files have the correct permissions?
This is strange, I am on windows 7, and yes the permissions are ok. I'll reinstall plex and retest.
The reference to the commit is misleading. It does not affect this issue. Please ignore it.
The problem seems to be solved, as there were no more posts stating otherwise. So I'm closing the issue.