PDA

View Full Version : Video Library problems


topfs2
2008-01-27, 01:56
Hi! I have problems with scanning new contents in the later revisions.
I've narrowed it down to this. It works in rev 11399 but not in the latest.

Is there anyone more than me that can confirm this? I'll take a diff and see if I can issue a patch on this.

Symptoms: Cannot scan new contents to video library. TVShows and Movies.

Works with Music lib so it seems to be isolated to Video Library.

Rand Al Thor
2008-01-27, 03:47
I am experiencing some weird issues with the library as well. I was able to successfully add some new movies to the library. However, tv shows refuse to be added when i click scan for new content. If i go to the individual episode and click info, it lists all values in info screen as -1. This is not the first time i have had issues with the linux build and tv scrapers. Clicking scan for new content very rarely works as expected. Most of the time I have to set the shows content to "none" then click "yes" to remove all contents from library. Then if i reset the content and scan again it usually finds the new episodes (however with shows like the simpsons that have 19 seasons rescanning the entire series takes a while). In the newest build this method does not work either. I have added 2 new shows that will not scan no matter what i try.

I am also experiencing issues with Update Library. it seems to do its job fine but once it reaches the clean library stage it removes all .avi moves from my Movies library. Any movie saved such as 300/VIDEO_TS/VIDEO_TS.IFO will remain in the library but all other movies that are single .avi files are removed. I know that there had been at least one other person experiencing this same issue. Is anyone else still experiencing these issues? I am running the Linux build rev 11412.

topfs2
2008-01-27, 09:27
I'm trying to isolate this problem and I've downloaded an older version (11399) by svn co -r 11399 (URL for XBMC-linux) but if I do a svn diff on this I get nothing? I assume this is because I co an old and haven't done any changes to the OLD version. Is there a way to generate these diffs against the newer? or get them somewere?
I've tried to download a new one and manually rewrite them with the old but then the generated diffs is only about configure and configure.in and some more. Not all..

Rand Al Thor, if you can do you want to try if it works with you on the older revision (11399) ?

monkeyman
2008-01-27, 17:57
svn diff -r <from rev>:<to rev>

topfs2
2008-01-28, 08:28
thx Monkeyman

I think i've isolated the problem. It's the scrapper for me. It should give some valid URL to imdb but it jut gives find or something, (I'm looking in to this more)

But doing a complete make and such with the new source and using an old scrapper works perfect.

topfs2
2008-01-28, 08:33
In the diff from the revisions I have this
- <RegExp input="$$1" output="&lt;url&gt;http://akas.imdb.com/find?s=tt;q=\1&lt;/url&gt;" dest="3">
+<RegExp input="$$1" output="&lt;url&gt;http://$INFO[url]/find?s=tt;q=\1&lt;/url&gt;" dest="3">

So my bet is that $INFO[url] isEmpty because according to the logs it tryis to connect to Get URL: http:///find?s=tt;q=the%20godfather%20part%202
compared to
INFO: Get URL: http://akas.imdb.com/find?s=tt;q=i%20am%20legend
And the only thing missing is akas.imdb.com :)

I'll look into this more tomorrow as now I must get to school :)

spiff
2008-01-28, 08:50
way to make problems out of an issue already explained a 100 times before in these forums, in the changelog, in them other forums ++++.

enter scraper settings so it gets to save them defaults. problem solved.

topfs2
2008-01-28, 09:21
That worked, sry...
Although, that isn't very logical? to have to enter scrapper setting for this to be saved? can't it be automaticly saved and altered incase of change?

But, clearly I'm over my head with this one so if that was a stupid though, don't care for it :)

spiff
2008-01-28, 09:33
actually i thought a fix was put in to stop this from happening - seems it either didnt survive the merge or that it doesnt work as expected.

in any case, it won't be necessary for new users - just entering the set content dialog will suffice for those. but with old settings ...

topfs2
2008-01-28, 09:43
The more problematic for me is TVshows. TV.com doesn't have settings and TVDB didn't help to go into settings :)

But well, If the fix just didn't make it then this will come somewhere down the line :)

spiff
2008-01-28, 09:46
hmm?

tv.com doesnt use any settings so that should work just fine. if that is acting up, something else is broken

topfs2
2008-01-28, 09:55
TV.Com have a completely different problem according to the log. Although I'm doing a complete make clean and make again to see if I can get some sense in this (So it just isn't my settings, although I have done this before I posted here)

Here is the log for my new make
07:51:48 T:3059603296 M:379228160 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
07:51:48 T:3059603296 M:379228160 DEBUG:
07:51:48 T:3059603296 M:379228160 DEBUG: -------------------
07:51:48 T:3059603296 M:379228160 INFO: Loading skin file: DialogVideoScan.xml
07:51:48 T:3059603296 M:379228160 DEBUG: Load DialogVideoScan.xml: 1.84ms (0.73 ms xml load)
07:51:48 T:3059603296 M:379228160 DEBUG: Alloc resources: 2.06ms (1.97 ms skin load, 0.03 ms preload)
07:51:48 T:2964560784 M:379228160 DEBUG: Running thread 2964560784
07:51:48 T:2964560784 M:379228160 DEBUG: thread start, auto delete: 0
07:51:48 T:2964560784 M:379228160 DEBUG: Process - Starting scan
07:51:48 T:2956168080 M:379228160 DEBUG: Running thread 2956168080
07:51:48 T:2956168080 M:379228160 DEBUG: thread start, auto delete: 0
07:51:48 T:2956168080 M:379228160 DEBUG: staticThread, deleting thread graphic context
07:51:48 T:2956168080 M:379228160 DEBUG: Thread 2956168080 terminating
07:51:48 T:3059603296 M:379228160 DEBUG: Load scan-panel-bg.png: 5.4ms (bundled)
07:51:48 T:2964560784 M:379228160 DEBUG: DoScan - Finished dir: /home/topfs/Serier/
07:51:48 T:2964560784 M:379088896 DEBUG: Process - Finished scan
07:51:48 T:2964560784 M:379088896 NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:00
07:51:48 T:2964560784 M:379088896 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
07:51:48 T:2964560784 M:379088896 DEBUG: staticThread, deleting thread graphic context
07:51:48 T:2964560784 M:379088896 DEBUG: Thread 2964560784 terminating
07:51:48 T:3059603296 M:379088896 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
07:51:48 T:3059603296 M:379088896 DEBUG:
07:51:48 T:3059603296 M:379088896 DEBUG: -------------------
And my folder /home/topfs/Serier is NOT empty. It's symlinked to /media/ET/Series Although it doesn't work to scan that one either so this is not the problem..

The thing is that my Harddrive doesn't even spin up so it seems as though it doesn't even access all that many files either. at most a quick "TOC", if you call it that on a HD

spiff
2008-01-28, 09:57
it should be TOC'ing.

it's hashing the dir to see if there are any changes. i dunno why you hash says nothing has changed, any chance you can debug (didnt i see u submitting a patch a while back?)

topfs2
2008-01-28, 10:00
Yep I did. But I wrote it using gedit :)
Although I can probably get .Net up and running. And I can debug some in gedit and term to so I'll try to find all I can.
I'll give this a go when I come home from school and such.

spiff
2008-01-28, 10:05
printf debugging atleast. the things takes place in CVideoInfoScanner::RetrieveVideoInfo and/or CVideoInfoScanner::OnScan

topfs2
2008-01-28, 10:45
I got it working now!!
I'll submit a patch as soon as I get home from school

topfs2
2008-01-28, 18:13
Patch posted here (http://sourceforge.net/tracker/index.php?func=detail&aid=1881227&group_id=87054&atid=581840)

R111
2008-01-28, 20:11
Hi! I have problems with scanning new contents in the later revisions.
I've narrowed it down to this. It works in rev 11399 but not in the latest.

Is there anyone more than me that can confirm this? I'll take a diff and see if I can issue a patch on this.

Symptoms: Cannot scan new contents to video library. TVShows and Movies.

Works with Music lib so it seems to be isolated to Video Library.

its the same problem im having too. but im on xbox.

rev11247-T3CH is the last build working for me. rev11320-T3CH will work via workaround posted by jmarshall(Jonathan). the lastest rev11426-T3CH i cant get to work at all.

R111
2008-01-28, 20:12
cant edit or del: sorry if im posting here under Linux. i came via search..

topfs2
2008-01-29, 00:30
its the same problem im having too. but im on xbox.

rev11247-T3CH is the last build working for me. rev11320-T3CH will work via workaround posted by jmarshall(Jonathan). the lastest rev11426-T3CH i cant get to work at all.

If your problem is with movies only then try spiffs suggested trick. Go into scrapper settings from the context menu on the source. This will set the default URL and will onwards work. If you have problems with TVShows (as me) then it might be this, depending on how closely xbox and linux version is. My problem began after a merge so this is kind of possible. Only future will tell, or someone that looks in the code in my patch and xbox version :)

Hope it helps your problems though :)

spiff
2008-01-29, 15:11
okay, i took some time off my working hours resulting in me & c-quel having nailed the bloody default settings errors.

looking at the patch i belive jmarshall is correct - it was only a missing retrievevideo info. hashes are processed elsewhere for shows (in enumerateseriesfolder - we want to hash the flattened folder...)

C-Quel
2008-01-29, 16:34
Fixed : :eek: + :blush:

topfs2
2008-01-29, 17:27
Wonderfull!!
I'm going to download the new revision now!!

sho
2008-01-29, 21:11
Man, and t3ch has gone for a 2 week release chedule now :(
Not that it has anything to do with XBMC Linux :)