[ATV] Babylon not setting right URL for TVDB data
#1
I just installed XBMC Babylon on my ATV, and whenever I add new episodes of existing shows to my network share, XBMC never picked up the data. It would go from "Scanning for new content" to "Compressing database" in mere seconds with no changes to my library.

The debug log gave me this tell-tale bit of info:

Code:
18:43:33 T:51540480 M: 35401728   DEBUG: FileCurl::Open(0x311ea24) http://www.thetvdb.com/api/1D62F2F90030C444/series/75299/all/.zip
18:43:35 T:51540480 M: 35328000   DEBUG: FillBuffer: curl failed with code 22
18:43:35 T:51540480 M: 35328000   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
18:43:35 T:51540480 M: 35328000   DEBUG: FileCurl::Close(0x311ea24) http://www.thetvdb.com/api/1D62F2F90030C444/series/75299/all/.zip
18:43:35 T:51540480 M: 35328000   ERROR: InternalGetEpisodeList: Unable to retrieve web site
18:43:35 T:51540480 M: 35348480   DEBUG: DoScan - Finished dir: smb://SLEEPWALKER/data/tv/The Sopranos/
18:43:35 T:51540480 M: 35414016   DEBUG: Process - Finished scan

Lo and behold, the URL in the database is wrong:

Code:
$ sqlite3 MyVideos34.db
SQLite version 3.5.7
Enter ".help" for instructions
sqlite> select c10,idShow from tvshow;
<episodeguide><url cache="75299.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/75299/all/.zip</url></episodeguide>|50
sqlite>

If I manually update the SQLite database to change the URL to http://www.thetvdb.com/api/1D62F2F90030C...all/en.zip, it works.

Any ideas where it's getting the wrong URL for the show in the first place?
Reply
#2
This happens when the settings haven't been set correctly.

You can "fix" it by going via Set Content and go into the scraper settings.

I thought all of these things had been taken care of, but perhaps there's one that's missing.

If you can figure out how to reproduce this scenario that would be most useful.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:This happens when the settings haven't been set correctly.

You can "fix" it by going via Set Content and go into the scraper settings.

I thought all of these things had been taken care of, but perhaps there's one that's missing.

If you can figure out how to reproduce this scenario that would be most useful.

Cheers,
Jonathan

For starters, here are my scraper settings for TheTVDB.com:

Use DVD Order: false
Use Absolute Ordering (single Season): false
Enable Fanart: true
Prefer Posters: false
Language Override for Banners: false
Language: en

Steps to replicate, using Cowboy Bebop as an example. At this point the folder is blank:

- Exit library mode
- Highlight the Cowboy Bebop folder on my TV share
- Select "TV Show Information"
- Select the one TV show that appears, "Cowboy Bebop (en)"
- Let XBMC load the details from TheTVDB.com. At this point, the entry is there, but since there are no episodes in the folder, it doesn't find any.
- Copy an episode into the folder.
- Go back into Library Mode.
- Highlight Cowboy Bebop.
- Select "Scan for New Content".
- Library does not pick up the new episode as in my earlier post.

I'm thinking that this is part of the problem. For giggles I deleted Cowboy Bebop from the library, then tried "Update Library" from within the library, and that seemed to work - it picked up the show and the one episode that was in there. Further updates pick up new episodes, and the database entry is correct.

So, basically, I was doing it all wrong. Laugh

Thanks for the help.
Reply

Logout Mark Read Team Forum Stats Members Help
[ATV] Babylon not setting right URL for TVDB data0