PDA

View Full Version : Problem to manual scrap TV Shows (no episodes in XBMC/Library)


nicke3k
2009-02-27, 00:25
Hi,

I'm using the the 18004 (jester) build of XBMC for Windows and are trying to manual scrap a TV Show (a Swedish one) which XBMC not are able to scrap automatically. Nor is XBMC able to Scrap the Show even though it is available at thetvdb.com and the folder has the exact same name as the show (see error-log at end).

I've created a tvshow.nfo placed in the path \TVShow and episodename.nfo in \TVShow\SeasonX for each episode, however when I import the folder in XBMC only the show is presented in the library, but it says there are 0 episodes.

Here is the tvshow.nfo;
<?xml version="1.0" encoding="UTF-8"?>
<tvshow>
<title>Svenska Dialektmysterier</title>
<rating></rating>
<season>-1</season>
<episode>0</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<episodeguideurl>http://thetvdb.com/api/6E82FED600783400/series/80919/all/en.zip</episodeguideurl>
<plot>PLOT</plot>
<watched>false</watched>
<tvdbid>80919</tvdbid>
<genre>Comedy</genre>
<premiered>2006-01-11</premiered>
<studio>SVT</studio>
</tvshow>

Episode-NFO;

<?xml version="1.0" encoding="UTF-8"?>
<episodedetails>
<title>Dialekter</title>
<season>1</season>
<episode>1</episode>
<watched>false</watched>
<aired>2006-01-18</aired>
</episodedetails>

I can not understand what the problem is. Everything else is working ok. All other TV Shows where I've used XBMC Media Companion to scrap are working correctly, and I've tried to use those NFO-files to create this one.

I've tried to refresh the library within XBMC and also deleted the library completed but with no go.

Error log;

23:44:07 T:3812 M:1121378304 DEBUG: Surface::CSurface::Flip - missed requested swap
23:44:07 T:3812 M:1121353728 DEBUG: FileCurl::Open(0012D15C) http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
23:44:07 T:3812 M:1121345536 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://www.thetvdb.com
23:44:07 T:3812 M:1121292288 DEBUG: Curl::Debug About to connect() to www.thetvdb.com port 80 (#0)
23:44:07 T:3812 M:1121304576 DEBUG: Curl::Debug Trying 70.98.76.33...
23:44:07 T:3812 M:1121304576 DEBUG: Curl::Debug connected
23:44:07 T:3812 M:1121226752 DEBUG: Curl::Debug Connected to www.thetvdb.com (70.98.76.33) port 80 (#0)
23:44:07 T:3812 M:1121185792 DEBUG: Curl::Debug GET /api/1D62F2F90030C444/languages.xml HTTP/1.1
23:44:07 T:3812 M:1121185792 DEBUG: Curl::Debug User-Agent: XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)
23:44:07 T:3812 M:1121173504 DEBUG: Curl::Debug Host: www.thetvdb.com
23:44:07 T:3812 M:1121165312 DEBUG: Curl::Debug Accept: */*
23:44:07 T:3812 M:1121157120 DEBUG: Curl::Debug Connection: keep-alive
23:44:07 T:3812 M:1121071104 DEBUG: Curl::Debug Expire cleared
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug HTTP/1.1 200 OK
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Date: Thu, 26 Feb 2009 22:47:44 GMT
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Server: Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Last-Modified: Thu, 26 Feb 2009 22:45:01 GMT
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug ETag: "a30008-9c1-463da1a3bf540;45a6c04c79880"
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Accept-Ranges: bytes
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Content-Length: 2497
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Keep-Alive: timeout=15, max=100
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Connection: Keep-Alive
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Content-Type: application/xml
23:44:07 T:3812 M:1121910784 DEBUG: FileCurl::Close(0012D15C) http://www.thetvdb.com/api/1D62F2F90030C444/languages.xml
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Expire cleared
23:44:07 T:3812 M:1121910784 DEBUG: Curl::Debug Closing connection #0
23:44:08 T:3812 M:1121902592 DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
23:44:08 T:3812 M:1121902592 DEBUG: CApplication::OnKey: 61479 pressed, action is 2
23:44:08 T:3812 M:1121927168 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
23:44:08 T:3812 M:1121927168 DEBUG: CApplication::OnKey: 61453 pressed, action is 7
23:44:08 T:3812 M:1124151296 INFO: Loading skin file: DialogVideoScan.xml
23:44:08 T:3812 M:1124020224 DEBUG: Load DialogVideoScan.xml: 5.38ms
23:44:08 T:3812 M:1124020224 DEBUG: Alloc resources: 5.58ms (5.45 ms skin load, 0.10 ms preload)
23:44:08 T:3812 M:1124020224 ERROR: Control 402 in window 10133 has been asked to focus, but it can't
23:44:08 T:3140 M:1124003840 DEBUG: thread start, auto delete: 0
23:44:08 T:3812 M:1123995648 DEBUG: CGUIMediaWindow::GetDirectory ()
23:44:08 T:3812 M:1123995648 DEBUG: ParentPath = []
23:44:09 T:3140 M:1123930112 DEBUG: VIDEO::CVideoInfoScanner::Process - Starting scan
23:44:09 T:2980 M:1123917824 DEBUG: thread start, auto delete: 0
23:44:09 T:2980 M:1123913728 DEBUG: CThread::staticThread, deleting thread graphic context
23:44:09 T:2980 M:1123913728 DEBUG: Thread 2980 terminating
23:44:09 T:3812 M:1123905536 DEBUG: CFileItemList::Sort, sorting took 0 millis
23:44:09 T:3212 M:1123893248 DEBUG: thread start, auto delete: 0
23:44:09 T:3212 M:1123749888 DEBUG: CThread::staticThread, deleting thread graphic context
23:44:09 T:3212 M:1123741696 DEBUG: Thread 3212 terminating
23:44:09 T:3140 M:1123807232 DEBUG: Hash[tvshows,E:\Serier\Svenska Dialektmysterier\]:DB=[],Computed=[6885AC133DA65E5B79BD5DDE617654D2]
23:44:09 T:3140 M:1123717120 DEBUG: FileCurl::Open(0637AB90) http://www.thetvdb.com/api/GetSeries.php?seriesname=season%201&language=en
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug About to connect() to www.thetvdb.com port 80 (#0)
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug Trying 70.98.76.33...
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug Connected to www.thetvdb.com (70.98.76.33) port 80 (#0)
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug GET /api/GetSeries.php?seriesname=season%201&language=en HTTP/1.1
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug User-Agent: XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug Host: www.thetvdb.com
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug Accept: */*
23:44:09 T:3140 M:1123684352 DEBUG: Curl::Debug Connection: keep-alive
23:44:09 T:3140 M:1123672064 DEBUG: Curl::Debug Expire cleared
23:44:09 T:3140 M:1123631104 DEBUG: Curl::Debug HTTP/1.1 200 OK
23:44:09 T:3140 M:1123631104 DEBUG: Curl::Debug Date: Thu, 26 Feb 2009 22:47:45 GMT
23:44:09 T:3140 M:1123631104 DEBUG: Curl::Debug Server: Apache/2.2.9 (Debian) PHP/5.2.6-5 with Suhosin-Patch
23:44:09 T:3140 M:1123631104 DEBUG: Curl::Debug X-Powered-By: PHP/5.2.6-5
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Vary: Accept-Encoding
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Content-Length: 57
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Keep-Alive: timeout=15, max=100
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Connection: Keep-Alive
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Content-Type: text/xml; charset=utf-8
23:44:09 T:3140 M:1123627008 DEBUG: FileCurl::Close(0637AB90) http://www.thetvdb.com/api/GetSeries.php?seriesname=season%201&language=en
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Expire cleared
23:44:09 T:3140 M:1123627008 DEBUG: Curl::Debug Closing connection #0
23:44:09 T:3140 M:1123618816 DEBUG: VIDEO::CVideoInfoScanner::DoScan - Finished dir: E:\Serier\Svenska Dialektmysterier\
23:44:09 T:3140 M:1123614720 DEBUG: VIDEO::CVideoInfoScanner::Process - Finished scan
23:44:09 T:3140 M:1123614720 NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:00
23:44:09 T:3140 M:1123614720 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
23:44:09 T:3140 M:1123614720 DEBUG: CThread::staticThread, deleting thread graphic context
23:44:09 T:3140 M:1123614720 DEBUG: Thread 3140 terminating
23:44:11 T:3812 M:1125683200 DEBUG: SDLKeyboard: scancode: 75, sym: 276, unicode: 0, modifier: 0
23:44:11 T:3812 M:1125683200 DEBUG: CApplication::OnKey: 61477 pressed, action is 1
23:44:12 T:3812 M:1126326272 DEBUG: SDLKeyboard: scancode: 14, sym: 8, unicode: 8, modifier: 0
23:44:12 T:3812 M:1126326272 DEBUG: CApplication::OnKey: 61448 pressed, action is 9
23:44:12 T:3812 M:1126309888 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
23:44:12 T:3812 M:1126858752 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
23:44:12 T:3812 M:1126858752 INFO: Loading skin file: Home.xml

Maxim
2009-02-27, 01:40
A full log should be more helpful than just a small section. Post up a full debug log on pastebin.

nicke3k
2009-02-27, 08:45
Thansk for the reply. Here is the complete log-fole, http://pastebin.com/m16c51722

sho
2009-02-27, 11:00
What are the filenames of the episode files?
What is your directory structure like?
How do you set contents and what are your scraping options?

Unless you want custom info in your library I would suggest the following (given that your files are named correctly (http://xbmc.org/forum/showthread.php?t=38964))

Only have the tvshow.nfo contain the url pointing to theTVDB show
http://www.thetvdb.com/?tab=seasonall&id=80919&lid=7

skip the episode nfo files.

nicke3k
2009-02-27, 11:23
What are the filenames of the episode files?
---------------------
svenska.dialektmysterier.s01e01.avi and so on

What is your directory structure like?
---------------------
E:\Series\Svenska Dialektmysterier\Season 1

How do you set contents and what are your scraping options?
---------------------
Through XBMC, context menu, set content, tv-show, use thetvdb, automatic scan

If I have no NFO at all, the show is not recognized at all, if I have the NFOs I posted above, the show is found but no episodes are added. Will try your tips when I get back home.

eriksmith200
2009-02-27, 11:28
Do you have a custom regexp in advancedsettings.xml? That gave a problem for me as described in this (closed) ticket:
http://xbmc.org/trac/ticket/5955 (see my comments)

I think some work has been done recently on the tv shows library. Try installing a more recent build, remove any tv shows regexp in advancedsettings.xml, if episodes then do not magically appear take the steps described in my comment in the trac ticket (remove tv shows folder from sources, clean library, re-add folder to sources and scan)

Your file/dir/filename structure is exactly the same as what I am using, I use Media Companion to create .nfo files

keithskaggs
2009-02-27, 13:20
I had the same thing happen to me a few builds ago. I mapped the drive where the TV shows were stored instead of using SMB. It fixed the problem but later, I reverted back to build 16555 and was able to see episodes without drive mapping. I have not updated to a later build again to test.

Keith

sho
2009-02-27, 16:56
How do you set contents and what are your scraping options?
---------------------
Through XBMC, context menu, set content, tv-show, use thetvdb, automatic scan
On what folder did you set contents?