Music Scraper freezes
#1
I'm having an issue with scraping my music collection. When the music source is scraping, the scraper will freeze. Eventually, xbmc will freeze too.

I'm running XBMCLive with SVN 23522 in architecture: i686.

This issue happens in any skin I try, so I don't think the skin is a problem.

The tail of the xbmc log file looks like this:

Code:
14:30:53 T:2893372304 M:1777520640   DEBUG: Sort, sorting took 0 millis
14:30:53 T:2893372304 M:1777520640   DEBUG: DoScan Skipping dir 'smb://ROMA/media/iTunes/iTunes Music/Bruce Hornsby/Harbor Lights/' due to no change
14:30:53 T:2893372304 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Bruce%20Hornsby%20%26%20The%20Range
14:30:53 T:2893372304 M:1777520640   DEBUG: Sort, sorting took 0 millis
14:30:53 T:2893372304 M:1777520640   DEBUG: DoScan Skipping dir 'smb://ROMA/media/iTunes/iTunes Music/Bruce Hornsby & The Range/' due to no change
14:30:53 T:2893372304 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Bruce%20Hornsby%20%26%20The%20Range/A%20Night%20on%20the%20Town
14:30:53 T:2860514192 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Compilations/Narada%20Sampler%20%233
14:30:53 T:2893372304 M:1777520640   DEBUG: Sort, sorting took 0 millis
14:30:53 T:2893372304 M:1777520640   DEBUG: DoScan Skipping dir 'smb://ROMA/media/iTunes/iTunes Music/Bruce Hornsby & The Range/A Night on the Town/' due to no change
14:30:53 T:2893372304 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Bruce%20Hornsby%20%26%20The%20Range/Big%20Swing%20Face
14:30:53 T:2893372304 M:1777520640   DEBUG: Sort, sorting took 0 millis
14:30:53 T:2893372304 M:1777520640   DEBUG: DoScan Skipping dir 'smb://ROMA/media/iTunes/iTunes Music/Bruce Hornsby & The Range/Big Swing Face/' due to no change
14:30:53 T:2893372304 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Bruce%20Hornsby%20%26%20The%20Range/Scenes%20From%20The%20Southside
14:30:53 T:2893372304 M:1777520640   DEBUG: Sort, sorting took 0 millis
14:30:53 T:2893372304 M:1777520640   DEBUG: DoScan Scanning dir 'smb://ROMA/media/iTunes/iTunes Music/Bruce Hornsby & The Range/Scenes From The Southside/' as not in the database
14:30:53 T:2893372304 M:1777520640   DEBUG: SECTION:LoadDLL(special://xbmc/system/libid3tag-i486-linux.so)
14:30:53 T:2893372304 M:1777520640   DEBUG: Loading: /usr/share/xbmc/system/libid3tag-i486-linux.so
14:30:53 T:2860514192 M:1777520640   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Compilations/Next%20Stop%20Wonderland
14:30:53 T:2860514192 M:1777606656   DEBUG: OpenDir - Using authentication url smb://ROMA/media/iTunes/iTunes%20Music/Compilations/Now%20That%27s%20What%20I%20Call%20Music%21%20Vol%2e%207
14:30:53 T:2893372304 M:1777606656   DEBUG: CFileSMB::Open - opened media/iTunes/iTunes Music/Bruce Hornsby & The Range/Scenes From The Southside/01 Look Out Any WIndow.mp3, fd=10001
14:30:53 T:2893372304 M:1777606656   ERROR: Seek - Error( Success )
14:30:53 T:2893372304 M:1777606656   ERROR: Seek - Error( Success )
14:30:53 T:2893372304 M:1777606656   DEBUG: CFileSMB::Close closing fd 10001
14:30:53 T:2893372304 M:1777606656   DEBUG: CFileSMB::Open - opened media/iTunes/iTunes Music/Bruce Hornsby & The Range/Scenes From The Southside/01 Look Out Any WIndow.mp3, fd=10001
14:30:53 T:2893372304 M:1777606656   ERROR: Seek - Error( Success )
14:31:15 T:3042121616 M:1777545216   DEBUG: SECTION:UnloadDelayed(DLL: libvorbisfile.so.3)
14:31:15 T:3042121616 M:1777545216   DEBUG: Unloading: libvorbisfile.so.3


If I remove the offending song (damn that Bruce Hornsby...or maybe it's the Range...) the scraping goes normally until it hits another "bad" song.

I can access the "bad" song fine with other programs.

So I can't actually figure out what's wrong with these specific songs. I'm going to try a few other tests to see if I can artificially duplicate the problem, but I really could use some insight on this one.

Thank you, in advance, for any help that anyone can provide!
Reply
#2
Well, I've discovered one thing. When xbmc freezes on a song, I go and check the file. I've noticed that the album directory that contains the file also has a duplicate directory, but with a different case. This is a result of something wrong with my iTunes management.

For example, iTunes will save the songs in a folder based on the name you give the album. So if one of the songs in iTunes has an album named "The Best Of" and another song by the same artist with an album named "The Best of" it seems to put them in a different directory. This isn't good.

But I'm not quite sure why xbmc freezes on this.

And another thing: Once I fix the directory name problem, I go and rescrape and it freezes again on the same song as before - without the problem.

I even tried to remove the data from the library but I was unsuccessful. I removed the source and did a "clean library" but xbmc still kept all of the library information.


So, does anyone know what I can do to fix this issue?

Thanks for reading....
Reply
#3
Just in case anyone's reading this... Eek

I went through all of my music album directories and checked for duplicates due to case issues. After clearing those up there were only a few issues with duplicate songs having case issues. The scraper seems to be going though them all now (though it's still running - I've got a lot of music).

So, the case issue was indeed the problem. I wish the scraper was a bit more graceful in handling that issue. But it's my fault for not keeping a clean database Oo

Cheers
Reply
#4
That Seek error would be a concern for me as that type of error in other applications is typically a hardware issue, like an HDD going bad. I'm not sure where that error is coming from in XBMC though so i'm not sure.

The devs will want to see the full debug log, not just a small portion. Replace the snip you have with a pastebin insead.
Reply

Logout Mark Read Team Forum Stats Members Help
Music Scraper freezes0