TV Show posters problem
#16
As I wrote above there are two separate issues

1. Tvdb must have changed their structure of api results, therefore season thumbs are no longer scraped by tvdb scraper

2. If xbmc finds no season thumb, it defaults to a wide icon/banner rather than the series thumb
Reply
#17
So you think there is nothing to do about it?
Reply
#18
jhonny30 Wrote:So you think there is nothing to do about it?

No, you can alter the tvdb.xml to allow it to pick up the season thumbs. Problem is the tvdb.xml file will be in different positions depending on whether you're using windows, mac or linux and where you've installed xbmc. On windows it should be in 'addons/metadata.tvdb.com' within the xbmc install folder or on Windows Xp: Documents and Settings\[user]\Application Data\XBMC\ or on Vista/Windows 7: Users\[user]\AppData\Roaming\XBMC\ or in all of those locations. As to where it'll be on a mac or linux I have no idea.

Once you've found the file you need to open it and locate the following lines (should be about halfway through the file):

Code:
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;season&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;$INFO[language]&lt;/Language&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;season&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;[a-z][^$INFO[language]]*&lt;/Language&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;seasonwide&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;$INFO[language]&lt;/Language&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;seasonwide&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;[a-z][^$INFO[language]]*&lt;/Language&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>

And change them to:

Code:
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;season&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;$INFO[language]&lt;/Language&gt;[^&lt;]*&lt;Rating&gt;[^&lt;]*&lt;/Rating&gt;[^&lt;]*&lt;RatingCount&gt;[^&lt;]*&lt;/RatingCount&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;season&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;[a-z][^$INFO[language]]*&lt;/Language&gt;[^&lt;]*&lt;Rating&gt;[^&lt;]*&lt;/Rating&gt;[^&lt;]*&lt;RatingCount&gt;[^&lt;]*&lt;/RatingCount&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;seasonwide&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;$INFO[language]&lt;/Language&gt;[^&lt;]*&lt;Rating&gt;[^&lt;]*&lt;/Rating&gt;[^&lt;]*&lt;RatingCount&gt;[^&lt;]*&lt;/RatingCount&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
<RegExp input="$$5" output="&lt;thumb type=&quot;season&quot; season=&quot;\2&quot;&gt;http://thetvdb.com/banners/\1&lt;/thumb&gt;" dest="4+">
    <expression repeat="yes">&lt;BannerPath&gt;([^&lt;]*)&lt;/BannerPath&gt;[^&lt;]*&lt;BannerType&gt;season&lt;/BannerType&gt;[^&lt;]*&lt;BannerType2&gt;seasonwide&lt;/BannerType2&gt;[^&lt;]*&lt;Language&gt;[a-z][^$INFO[language]]*&lt;/Language&gt;[^&lt;]*&lt;Rating&gt;[^&lt;]*&lt;/Rating&gt;[^&lt;]*&lt;RatingCount&gt;[^&lt;]*&lt;/RatingCount&gt;[^&lt;]*&lt;Season&gt;([0-9]+)&lt;/Season&gt;</expression>
</RegExp>
Reply
#19
I am on appletv
Reply
#20
Thanks Krazeh! The change fixed it for me!

I had to do the following under:
Windows 7 x64
XBMC 10.0-beta2 r33776 (Compiled : Sep 13 2010)

Replace tvdb.xml from C:\Program Files (x86)\XBMC\addons\metadata.tvdb.com with the following file

http://www.mediafire.com/?8p240n9mdk5tsi9

Turn UAC off.

Restart XBMC. Try loading TV show again. Thumbs show up after load! Nod
Reply
#21
Hey man it worked.. I replaced it just like you said and it worked!!!
What would happen if i delete all the tvdb.xml?
Because i wrote in another post that i have some scrapping issues with episodes! Could deleting resolve the problem?
Reply
#22
Great job Krazeh, would you mind uploading a patch to trac so the mods can update it in the repo?

Thanks
Reply
#23
http://forum.xbmc.org/showthread.php?tid=81964
Here is a link to my other thread! Perhaps you also can help me there Krazeh... Would be great;-)
Reply
#24
Krazeh Wrote:No, you can alter the tvdb.xml to allow it to pick up the season thumbs.

Krazeh, I went ahead and submitted a patch, so hopefully soon, your changes will be included in the repo update. I also made sure you receive the credit.

Thanks
Reply
#25
Would like to do this fix, but I am unable to find where to place the file. I am running XBMC Live 9.11 and I SSH into it. If someone could tell me the location of this file, it would greatly be appreciated.

Thanks!

linesma
And those who were seen dancing were thought to be insane by those who could not hear the music. - Friedrich Nietzsche
Reply
#26
linesma Wrote:Would like to do this fix, but I am unable to find where to place the file. I am running XBMC Live 9.11 and I SSH into it. If someone could tell me the location of this file, it would greatly be appreciated.

Thanks!

linesma

type "locate tvdb.xml" Wink
Reply
#27
olympia Wrote:type "locate tvdb.xml" Wink

I tried that when I logged out of the gui (the Confluence skin), and it tells me that the locate command is not recognized. I did figure out how to do a search using filezilla, and the file is located in "usr/share/xbmc/system/scrapers/video"

Thanks for the help!
And those who were seen dancing were thought to be insane by those who could not hear the music. - Friedrich Nietzsche
Reply
#28
moddster Wrote:Thanks Krazeh! The change fixed it for me!

I had to do the following under:
Windows 7 x64
XBMC 10.0-beta2 r33776 (Compiled : Sep 13 2010)

Replace tvdb.xml from C:\Program Files (x86)\XBMC\addons\metadata.tvdb.com with the following file

http://www.mediafire.com/?8p240n9mdk5tsi9

Turn UAC off.

Restart XBMC. Try loading TV show again. Thumbs show up after load! Nod

I tried using the file listed above with XBMC 9.11 Live, and it did not work. In fact, it removed TVDB as a scraper option! I also then tried to edit the xml file myself after restoring the original file, and I got the same results! I am at a loss. Any Ideas?

Thanks
And those who were seen dancing were thought to be insane by those who could not hear the music. - Friedrich Nietzsche
Reply
#29
linesma Wrote:I tried using the file listed above with XBMC 9.11 Live, and it did not work. In fact, it removed TVDB as a scraper option! I also then tried to edit the xml file myself after restoring the original file, and I got the same results! I am at a loss. Any Ideas?

Thanks

I had the same problem, and i used the solution from page 2. This is the edited tvdb.xml file

http://www.mediafire.com/?yvda7laum3my2fc
Reply
#30
To Camelot users: someone mind to test this one?

http://xbmchuscraper.googlecode.com/svn/...t/tvdb.xml
Reply

Logout Mark Read Team Forum Stats Members Help
TV Show posters problem0