Scraper seems to download episode data but does not add it to DB
#1
Despite theTVDB having plenty of info on Grey's Anatomy it never seems to find any info on the greys anatomy episodes on my server. As such it never makes it into the library.

I reproduced the issue and placed the log here:
http://www.protazoa.com/xbmc.20090928.log.txt

The following section of log would seem to suggest it actually successfully downloaded some info, regardless it never made it to the the library
Code:
18:56:10 T:2186672464 M:1349873664   DEBUG: scraper: GetEpisodeList returned <episodeguide><episode><title>Straight To The Heart</title><url cache="73762.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/73762/all/en.zip</url><epnum>72</epnum><season>1</season><id>316950</id><aired>2006-01-08</aired></episode></episodeguide>
18:56:10 T:2186672464 M:1349873664   DEBUG: GetEpisodeId (/media/media/Videos/TV/Greys-Anatomy/Season-5/Grey's_Anatomy.S05E14.Beat_Your_Heart_Out.avi), query = select idEpisode from episode where idFile=728

Anyone got any suggestions what might be wrong?

The system:
Ubuntu Jaunty 64 bit with XBMC Built on Sep 6th 2009 from the PPA, I think it's a pre 9.10 build.
Quote:loz@gravity:~$ uname -a
Linux gravity 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux
lloz@gravity:~$ grep xbmc /etc/apt/sources.list
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main #XBMC
deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu jaunty main

System info (although I suspect it's fairly irrelevant here:
CPU: AMD Athlon 64 X2 4800+ Socket AM2 (2.5GHz) L2 Cache 1MB OEM Processor
RAM: 2GB (2x1GB) DDR2 800MHz/PC2-6400
GPU: NVIDIA GeForce 6200LE TurboCache supporting 256MB ON Asus EN6200LE 64MB Turbocache supporting 256MB DDR DVI PCI-E Graphics
Mothorboard: Gigabyte GA-M57SLI-S4 Socket AM2 Nvidia MCP55P PCI-E 8 Channel audio ATX Motherboard
This also provides the audio which I believe is a realtek chip.
Reply
#2
Could it be a bug with the apostrophe in the title acting as an un-escaped quote?
Reply
#3
delete the tvshow.nfo and reload the show again

BTW next time use this site to post logs
http://pastebin.com/
clearArt Concept
cdArt Concept

*If like, thank user
Reply
#4
Hi

Firstly thank you for taking the time to reply to my Post.

I Removed the nfos which I put there to see if they would help, they didn't. I did the same again and pasted the resulting log here:
http://pastebin.com/f1a2efe85

Any other ideas?

By the way, what's wrong with the way I posted the logs before?
Reply
#5
lozbrown85 Wrote:Hi

Firstly thank you for taking the time to reply to my Post.

I Removed the nfos which I put there to see if they would help, they didn't. I did the same again and pasted the resulting log here:
http://pastebin.com/f1a2efe85

Any other ideas?

By the way, what's wrong with the way I posted the logs before?

Try removing the Apostrophe, OR adding it to the folder name... since you have a folder without it, and a file with it.

I have this show in the following way:
Grey's Anatomy\
Grey's Anatomy\Season 01\
Grey's Anatomy\Season 01\S01E01 - A Hard Day's Night.avi

and it works perfectly, so I suspect it's the MISSING apostrophe (or a space issue)

Regarding the debug log.... nothing 'wrong' with it here.... it's just that it takes up more storage space. Using PasteBin reduces that problem (if everybody posted debug logs on here, it would EAT space).
Reply
#6
Hmmm It Doesn't seem to work with or without the apostrophes

With Apostrophes:
http://pastebin.com/f13b61865

Without Apostrophes
http://pastebin.com/ffafa65e

I tend to prefer to remove apostrophes because there a pain in the backside when you use the Command Line.

Perhaps this is a Linux only issue, I'm guessing you are both windows users (the backslash is the give-away)
Any other ideas?
Reply
#7
After you deleted tvshow.nfo - did you remove Grey's Anatomy from the XBMC database and then re-scrape? Give it a whirl if you haven't.

(I've had similar problems, I used MIP to generate .nfo files for all my shows and then newer episodes weren't being detected, it wasn't until I removed all .nfo files, removed from the database and let xbmc scrape that it worked okay)
Reply
#8
vexation Wrote:After you deleted tvshow.nfo - did you remove Grey's Anatomy from the XBMC database and then re-scrape? Give it a whirl if you haven't.

Hmmm no, but I have just tried that. To No Avail unfortunatly...

I removed it from the Library
requested "Update Library"
Dialogue Box mentions "Grey's Anatomy (en)
Once again the folder is there but there's nothing in it in Library mode.
So leave Library mode and go find one of the Episodes
Press I
Dialog Box appears saying:
Quote:Loading Episode Details - 100%
<FileName>
Grey's Anatomy
Fetching Episode Guide

When its done no details appear..
Reply
#9
Silly question, but your Grey's Anatomy media IS from a TV content source right? and not side by side with your movies / videos?

i.e. you HAVE set the content type to TV Series?
Reply
#10
Looking at the log... it's finding Season 05 Episode 14 and TheTVDB is correctly finding ID 73762 (Grey's Anatomy!)
However, there's a whole bunch of errors logged trying to read the folder....
a similar error exists trying to read "Boy Meets Girl", "The Wire" and "True Blood"
Reply
#11
AnalogKid Wrote:Looking at the log... it's finding Season 05 Episode 14 and TheTVDB is correctly finding ID 73762 (Grey's Anatomy!)
This is what I saw, (hence the title of the post) it seems to find the data about the file but then not add it to the library....Huh

AnalogKid Wrote:However, there's a whole bunch of errors logged trying to read the folder....
a similar error exists trying to read "Boy Meets Girl", "The Wire" and "True Blood"

Do you mean these errors?
Code:
21:27:42 T:140677453633872 M:1556258816   ERROR: GetDirectory - Error getting /media/media/Videos/TV/Greys-Anatomy/

What do they mean?
Reply
#12
it means we can't list the directories - permissions
Reply
#13
Odd, I thought permissions would be dealt with by the fact that I have the following in my root crontab

Quote: 1 1 * * * chmod -Rf 777 /media/media/Videos

Perhaps I'll add a chown in there too and see if that helps....
Reply
#14
that should take care of (it's madness though ;P)
Reply
#15
No amount of permissions, Owner and Group changes resolved the GetDirectory issue.

However I eventually worked out that they were directory's that had either been deleted or renamed. Removing them from the library eventually resolved the GetDirectory errors. Unfortunately this still didn't cause data to be added to the Library for the Grey's Anatomy Episodes.

I also tried the Clean Database from the settings menu, also to no avail.

Refreshing the info on Grey's Anatomy episode still doesn't bring up any data.
Any more clever ideas?

Also anyone know how to resolve this error:
Quote:ERROR: Failed to create common scripts symlink.
Reply

Logout Mark Read Team Forum Stats Members Help
Scraper seems to download episode data but does not add it to DB0