njb 5.00 beta2 stops full update after scanning certain file

Fixed and closed topics
Locked
charliego
User
Posts: 27
Joined: Wed Jun 20, 2007 9:54 pm

njb 5.00 beta2 stops full update after scanning certain file

Post by charliego »

Using netjukebox 5.00 beta 2 and doing a full update stops after scanning a certain file:

Structure & image: V (ok)
File info: D:/Mijn Documenten/Mijn Muziek/16 Down/Headrush/11 - Uncertainty Principle.mp3 (stops after this)
Undefined image:
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Can you mail me the file(s) with the described problem?
Email address see netjukebox website.

Thanks,

Willem
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Thanks for the file you have send me.
I can reproduce the problem you have got.

If you have more files with similar behavior they are very welcome.
Maybe it is a good idea to temporarily rename the troublesome file(s) to something like:
11 - Uncertainty Principle.mp3.bak
And start the update process again.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

The problems are related to the getID3() scripts.
I have reported the problem on their forum:
http://www.getid3.org/phpBB2/viewtopic.php?t=830

It could also be that the particular file is somehow corrupted.

For the meantime I have a dirty workaround.
Change line 699 of update.php (netjukebox 5.00 beta 2) in:

Code: Select all

$getID3->option_tag_id3v2 = true; // Read and process ID3v2 tags.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Workaround implemented in netjukebox 5.00 beta 3.
And improved the update so that it not stops after a error:
New: Update continues after an error in getID3().
The error can later be viewed trough the update or media statistics screen.
charliego
User
Posts: 27
Joined: Wed Jun 20, 2007 9:54 pm

Post by charliego »

Thanks, its working fine now.
Only one complete cd in 'Configuration - Media statistics - File error' with the message 'Could not find valid MPEG synch before end of file'.
One of those files i already did send you, its the one from Linda Rondstadt.
Thanks again.
Locked