Video Library problems
#1
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.
Reply
#2
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.
Reply
#3
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) ?
Reply
#4
svn diff -r <from rev>:<to rev>
Reply
#5
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.
Reply
#6
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 Smile

I'll look into this more tomorrow as now I must get to school Smile
Reply
#7
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.
Reply
#8
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 Smile
Reply
#9
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 ...
Reply
#10
The more problematic for me is TVshows. TV.com doesn't have settings and TVDB didn't help to go into settings Smile

But well, If the fix just didn't make it then this will come somewhere down the line Smile
Reply
#11
hmm?

tv.com doesnt use any settings so that should work just fine. if that is acting up, something else is broken
Reply
#12
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
Code:
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
Reply
#13
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?)
Reply
#14
Yep I did. But I wrote it using gedit Smile
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.
Reply
#15
printf debugging atleast. the things takes place in CVideoInfoScanner::RetrieveVideoInfo and/or CVideoInfoScanner::OnScan
Reply

Logout Mark Read Team Forum Stats Members Help
Video Library problems0