Kodi Community Forum

Full Version: New bug for tvdb scraper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a new problem with the tvdb scrapper. In fact, I have a lot of file named as this:
foo. 1x01x02x03x04x05.avi
here us an exemple for 5 episodes for season 01.

But now tvdb scrapper just create 2 episodes in the database, 1X01 and 1X02

If I have a file named 2x05x06x07x08.....avi, the scrapper create only Episode 05 and 06 for the second season.

I have this problem with all my tv shows..

Here is an extract of the xbmc.log.

Thanks for your help.

Code:
12:06:04 T:3078764432 M:1401806848   DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
12:06:04 T:3078764432 M:1401806848   DEBUG: Found matching URL NFO file: /Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/tvshow.nfo
12:06:04 T:3078764432 M:1401806848   DEBUG: -- nfo-scraper: tvdb.xml
12:06:04 T:3078764432 M:1401806848   DEBUG: -- nfo-url: http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip
12:06:04 T:3078764432 M:1401806848    INFO: Loading skin file: DialogProgress.xml
12:06:04 T:3078764432 M:1401806848   DEBUG: Load DialogProgress.xml: 2,04ms
12:06:04 T:3078764432 M:1401806848   DEBUG: DialogProgress::StartModal called
12:06:04 T:3078764432 M:1401806848   DEBUG: ------ Window Init (DialogProgress.xml) ------
12:06:04 T:3078764432 M:1401806848   DEBUG: Alloc resources: 0,12ms (0,00 ms skin load)

12:06:04 T:3078764432 M:1402568704   DEBUG: -- nfo-scraper: tvdb.xml
12:06:04 T:3078764432 M:1402568704   DEBUG: -- nfo-url: http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip
12:06:04 T:3078764432 M:1402568704   DEBUG: FileCurl::Open(0xbffe8b9c) http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip
12:06:04 T:3078764432 M:1402568704    INFO: easy_aquire - Created session to http://www.thetvdb.com
12:06:05 T:3078764432 M:1402404864   DEBUG: FileCurl::Close(0xbffe8b9c) http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip
12:06:05 T:3078764432 M:1402404864   DEBUG: scraper: GetDetails returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><details><plot>Cette série destinée à la jeunesse met en scène, sur les côtes de l'Adriatique, à Senj, en Croatie, les aventures d'une bande de jeunes adolescents en rupture de ban. Branko, un jeune orphelin, entre dans la bande de vagabonds que sont les Houskoks, autrefois chevaliers maîtres de cette portion de l'Adriatique dont les enfants ont adopté le nom. Ils ont d'ailleurs élu domicile dans un vieux château qui appartenait aux chevaliers.</plot><id>80022</id><mpaa></mpaa><premiered></premiered><rating>8.0</rating><studio>ZDF</studio><title>Zora La Rousse</title><fanart url="http://thetvdb.com/banners/"></fanart><episodeguide><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url></episodeguide></details>
12:06:05 T:3078764432 M:1402404864   DEBUG: Adding new item to tvshows:/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/
12:06:05 T:3078764432 M:1402404864   ERROR: Failed to download fanart  to special://masterprofile/Thumbnails/Video/Fanart/0d4a8182.tbn
12:06:05 T:3078764432 M:1402404864    INFO: Creating thumb from: /Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/folder.jpg as: special://masterprofile/Thumbnails/Video/0/0d4a8182.tbn
12:06:05 T:3078764432 M:1401896960   DEBUG: found episode based match /database/series/zora la rousse (die rote zora und ihre bande)/saison 1/ep 01 à 13/slot 742 - dvdrip - fr - hq. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi (s1e1) [[\\/\._ \[-]([0-9]+)x([0-9]+)([^\\/]*)$]
12:06:05 T:3078764432 M:1401896960   DEBUG: adding multipart episode 2
12:06:05 T:3078764432 M:1401769984   DEBUG: scraper: GetEpisodeList returned <episodeguide><episode><title>Au voleur !</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>1</epnum><season>1</season><id>444566</id><aired></aired></episode><episode><title>L'Épreuve</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>2</epnum><season>1</season><id>444567</id><aired></aired></episode><episode><title>Jeux de vilains</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>3</epnum><season>1</season><id>444568</id><aired></aired></episode><episode><title>Le Vieux Pêcheur</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>4</epnum><season>1</season><id>444569</id><aired></aired></episode><episode><title>La Leçon</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>5</epnum><season>1</season><id>444570</id><aired></aired></episode><episode><title>La Fuite</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>6</epnum><season>1</season><id>444571</id><aired></aired></episode><episode><title>La Prédiction</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>7</epnum><season>1</season><id>444572</id><aired></aired></episode><episode><title>La Grande Pêche</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>8</epnum><season>1</season><id>444573</id><aired></aired></episode><episode><title>La Fille du maire</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>9</epnum><season>1</season><id>444574</id><aired></aired></episode><episode><title>Les Associés</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>10</epnum><season>1</season><id>444575</id><aired></aired></episode><episode><title>Concurrence déloyale</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>11</epnum><season>1</season><id>444576</id><aired></aired></episode><episode><title>Le Poisson de l'année</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>12</epnum><season>1</season><id>444577</id><aired></aired></episode><episode><title>Réhabilitation</title><url cache="80022.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/80022/all/fr.zip</url><epnum>13</epnum><season>1</season><id>444578</id><aired></aired></episode></episodeguide>
12:06:06 T:3078764432 M:1401769984   DEBUG: GetEpisodeId (/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi), query = select idEpisode from episode where idFile=499
12:06:06 T:3078764432 M:1401769984   DEBUG: No NFO file found. Using title search for '/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi'
12:06:06 T:2908199792 M:1401769984   DEBUG: thread start, auto delete: 0
12:06:06 T:2908199792 M:1401769984   DEBUG: scraper: GetEpisodeDetails returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><details><plot></plot><title>Au voleur !</title><season>1</season><episode>1</episode></details>
12:06:06 T:2908199792 M:1401769984   DEBUG: Thread 2908199792 terminating
12:06:06 T:3078764432 M:1401769984   DEBUG: Adding new item to tvshows:/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi
12:06:06 T:3078764432 M:1401700352   DEBUG: GetEpisodeId (/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi), query = select idEpisode from episode where idFile=499
12:06:06 T:3078764432 M:1401700352   DEBUG: No NFO file found. Using title search for '/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi'
12:06:06 T:2908199792 M:1401700352   DEBUG: thread start, auto delete: 0
12:06:06 T:2908199792 M:1401700352   DEBUG: scraper: GetEpisodeDetails returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><details><plot></plot><title>L'Épreuve</title><season>1</season><episode>2</episode></details>
12:06:06 T:2908199792 M:1401700352   DEBUG: Thread 2908199792 terminating
12:06:06 T:3078764432 M:1401700352   DEBUG: Adding new item to tvshows:/Database/Series/Zora La Rousse (Die Rote Zora Und Ihre Bande)/Saison 1/Ep 01 à 13/Slot 742 - DVDRip - FR - HQ. 1x01x02x03x04x05x06x07x08x09x10x11x12x13.avi
12:06:06 T:3078764432 M:1401884672   DEBUG: GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=81) order by idShow
12:06:06 T:3078764432 M:1401884672   DEBUG: GetSeasonsNav query: select episode.c12,path.strPath,tvshow.c00,tvshow.c08,count(1),count(files.playCount) from episode join tvshow on tvshow.idshow=tvshowlinkepisode.idshow join tvshowlinkepisode on tvshowlinkepisode.idEpisode = episode.idEpisode join files on files.idFile=episode.idFile  join tvshowlinkpath on tvshowlinkpath.idShow = tvshow.idShow join path on path.idPath = tvshowlinkpath.idPath where tvshow.idShow = 81  group by episode.c12
12:06:06 T:3078764432 M:1401884672   DEBUG: GetMoviesByWhere query: select * from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie where movielinktvshow.idShow = 81
12:06:06 T:3078764432 M:1401249792   DEBUG: got details
12:06:06 T:3078764432 M:1401249792   DEBUG: show info
You'll probably have to add a regular expression to advancedsettings.xml, specifiying your odd file naming scheme to the scraper.
jonassw Wrote:You'll probably have to add a regular expression to advancedsettings.xml, specifiying your odd file naming scheme to the scraper.

No, because as specified in the xbmc wiki, my file naming is standard:

http://wiki.xbmc.org/?title=TV_Shows#Mul...t_Episodes

And this naming worked last month (certainly before beta 1...)
XBMC moves very, very fast. What's considered a bug today may be a feature tomorrow. There is no way the wiki can or will follow developers whims Smile
All,

Let's all take a breath, and take a look at this issue again...

For selfish purposes I suggest that we do, as I have the exact same issue that is being described by Jeepcook.

You see, I follow the standard naming structure for TV Shows. I use TheTVDB as my scraper.

For example, Files that have failed look like:
STARTREK_s03e01e02e03e04.ISO
STARTREK_s03e05e06e07e08.ISO

In these two files, only the first two episodes are being scraped (e01e02 & e05e06). The latter two (or more) in the file name are ignored.

Like Jeepcook, this is true for all TV show files that I have attempted to scrape today.

This "feature" (as suggested by Sho) was not present inprevious versions of XBMC, but appears to have happened between my loading of 9.11 Beta1 (as I rescanned successfully all my files during a new fresh load), and the update 9.11-alpha2 R25559.


Now... This is the question: Did I make the error by my overwriting the 9.11 Beta1 release with the XBMC nightly from http://sshcs.com/xbmc/ ? What I mean is: did I put alpha fixes over Beta Code... Or is it a TVDB issue?

Update: Nope... That was not the problem...

I have deleted XBMC and loaded 9.11 beta2... and now ALL my TV shows have this same issue.


Anyone else beside Jeepcook and I seeing this issue?


Thanks.

V.

XBMC on Win7Ult64
Hello,

My problem is now solved, I finally renamed (automaticly) all my files like this:

Before: foo. 1x01x02x03x04x05.avi
Now: foo. 1x01.1x02.1x03.1x04.1x05.avi

But i'm sure there was a bug with the scraper and the old naming.

Regards
i still don't understand why my suggestion to autoban when the word 'scrapper' is uttered in a post was rejected :/
also the bug is resolved.
Spiff,

Have a bit of a head cold, so forgive me if I ask the stupid questions...

If it is resolved "for final release", do you mean that it's not in Beta2? At least, that is what I think you mean...

If you know, when is that "final release" going to be released?
Do you know what SVN release resolved this issue? I would be willing to do an update if I knew what would fix it. From what I can tell, 25561 doesn't fix it.

I don't want to keep banging away at this, and I don't want to kill time reloading and rescanning if I don't have to.

Thanks, and forgive the obvious groveling for info.

v
Zebraitis - Stop spamming multiple threads with the same problem.

http://trac.xbmc.org/timeline

Fixed in 25663 - http://trac.xbmc.org/changeset/25663
Prae,

Sorry... I piled on this initial request in Linux, but saw that it affected multiple OS's. My bad. With my sincere appologies! Nod

Thanks for the info!