Posts: 2,476
Joined: Sep 2006
Reputation:
338
Also, can anyone tell me how season thumbs etc are located.
At the moment i have this structure:
Family Guy/folder.jpg (main wide icon for family guy)
Family Guy/Season 1/folder.jpg (icon for that season)
Family Guy/Season 1/01 - Foo.tbn (icon for that episode)
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
im not sure, but i think season thumbs can only be scraped. and i believe the show thumb is gotten as the folder.jpg within the named tv show folder.
(and your filesystem structure is not supported by default. do you have a custom regexp defined to support it?)
Posts: 2,476
Joined: Sep 2006
Reputation:
338
im using: <regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
Family Guy/Season 2/02 - Holy Crap.avi
Posts: 2,476
Joined: Sep 2006
Reputation:
338
You can manually select season thumbs.
I think it should be built in tho to look for folder.jpg within the season folder
or look for season 1.jpg in the main tv show folder eg:
TV/Family Guy/folder.jpg (main show icon)
TV/Family Guy/season 1.jpg (season 1 thumb)
or:
TV/Family Guy/folder.jpg (main show icon)
TV/Family Guy/Season 1/folder.jpg (season thumb)
then for episode thumbs, keep the .tbn's :-)
The 2nd way would be good so i get the nice lil icons on the folders when browsing my NAS via windows
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
a "season folder" is not required, and is honestly meaningless. xbmc doesnt care about the folders in between the tv show named folder, and the files. there can be anything in between such as this:
\tvshows\family guy\foo\bar\bat\baz\xxx\yyy\zzz\file.s01e01.avi
though, looking for "season_#.jpg" or something along those lines directly beneath the folder used for the show name would work. feel free to submit a patch.
(and yes, you can manually set the thumb, but it is manual.)
Posts: 2,476
Joined: Sep 2006
Reputation:
338
Cool, been awhile since I made a patch for xbmc.. think it was the additem(pos) thing...
Will have a look tho :-)
Oh, i had regex, can you confirm that:
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
Family Guy/Season 2/02 - Holy Crap.avi
should work....
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
that looks about right... there are many free pcre based graphical regexp testers that you can download. one that i've used in the past is regexp coach. google. you'll find a bunch. give them a try. there's also some that are purely online.
Posts: 2,476
Joined: Sep 2006
Reputation:
338
Sounds great!
Thanks for the help.
Stay off the Kraqh!
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
/show/season1.tbn
/show/season2.tbn
...
for local season thumbs
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
debug log. and make sure you add a dummy file so that you override the content hash.