Post Reply 
Unable to scan music library in new installation
11-06-2016, 07:42
Post: #1
Unable to scan music library in new installation
I have just installed a MinimServer on an iMac (21.5 inch, Mid 2011, processor 2.5 GHz Intel Core i5, Memory 4 GB 1333 MHz DDR3, disk is 500 Gig HD) The music files are the contents of the iTunes Media folder copied to /Users/<my name>/ripped. I was unable to get MinimServer to read them in situ so I copied the files to the ripped folder. When I started the scan I got the following:
restarting MinimServer[Johns-iMac.gateway]
Language setting is 'eng'
Current time is Sat Jun 11 15:56:31 ACST 2016 in time zone Australia/Adelaide
starting MinimServer[Johns-iMac.gateway]
Error: unexpected end of file at offset 38817 in file Compilations/The Narada Collection/11 Shadow Dancer.m4a (length 4096)
Error: unexpected end of file at offset 0 in file Downloads/Podcasts/The Large Hadron Collider Goes to Work _ Science Talk_ The Podcast of Scientific American.tmp/download.mp3 (length 0)
Error: unexpected end of file at offset 9878920 in file Jack Davis/Unknown Album/AoM custom song.aif (length 9878920)
Error: unexpected end of file at offset 38014720 in file Jack Davis/Unknown Album/JamesPiano.aif (length 38014720)
Error: unexpected end of file at offset 24696520 in file Jack Davis/Unknown Album/Rogue Theme (by James).aif (length 24696520)
Warning: truncating incorrect value for DATE tag 2016-00-00 in file Podcasts/The Skeptics' Guide to the Universe/The Skeptics Guide #567 - May 21 2016.mp3
Warning: truncating incorrect value for DATE tag 2016-00-00 in file Podcasts/The Skeptics' Guide to the Universe/The Skeptics Guide #568 - May 28 2016.mp3
Warning: truncating incorrect value for DATE tag 2016-00-00 in file Podcasts/The Skeptics' Guide to the Universe/The Skeptics Guide #569 - Jun 4 2016.mp3
MinimServer[Johns-iMac.gateway] is running

I know that the files are correctly formatted because I can play them all using iTunes. The problem appears to be repeated spurious messages saying "Unexpected end of file". I assume that either I have mis-configured the server or that there is a bug when reading iTunes ripped files.

Can someone point me at the appropriate resource to get the issue resolved?

Regards,
Jack
Find all posts by this user
Quote this message in a reply
11-06-2016, 11:36
Post: #2
RE: Unable to scan music library in new installation
The "unexpected end of file" meesage means that the file is damaged or its internal format is incorrect. The first two files (length 4096 and length 0) are clearly damaged and could not be playable by iTunes. For the remaining three files, it is likely that the internal format is incorrect.

It sounds like iTunes is either ignoring or recovering from the incorrect format in these three files.

There was a change in MinimServer update 81 to replace some error messages for incorrect format problems with warning messages. Which update level are you running?

If you are running update 81 or later, would you be able to make the smallest file (length 9878920) available for testing?
Find all posts by this user
Quote this message in a reply
12-06-2016, 13:46
Post: #3
RE: Unable to scan music library in new installation
(11-06-2016 11:36)simoncn Wrote:  The "unexpected end of file" meesage means that the file is damaged or its internal format is incorrect. The first two files (length 4096 and length 0) are clearly damaged and could not be playable by iTunes. For the remaining three files, it is likely that the internal format is incorrect.

It sounds like iTunes is either ignoring or recovering from the incorrect format in these three files.

There was a change in MinimServer update 81 to replace some error messages for incorrect format problems with warning messages. Which update level are you running?

If you are running update 81 or later, would you be able to make the smallest file (length 9878920) available for testing?
Find all posts by this user
Quote this message in a reply
12-06-2016, 16:03
Post: #4
RE: Unable to scan music library in new installation
It looks like you might have intended to post a reply but didn't do so.
Find all posts by this user
Quote this message in a reply
13-06-2016, 02:30
Post: #5
RE: Unable to scan music library in new installation
My apology. I tried to attach the file but it failed so I attempted to post the message below without the attachment but it failed.

Jack

/snip

If you are running update 81 or later, would you be able to make the smallest file (length 9878920) available for testing?


/endSnip

Hi Simon,

I have removed all the offending files from the directory and I'm down to one, which I will send you. It was an experimental file I was working with in GarageBand so it's no big deal if it has to disappear. It would be interesting to see why it is picked as having an unexpected end of file. I can actually play the thing but it does end quite abruptly. Here is my current log file:

restarting MinimServer[Johns-iMac.gateway]
Language setting is 'eng'
Current time is Sun Jun 12 15:46:20 ACST 2016 in time zone Australia/Adelaide
starting MinimServer[Johns-iMac.gateway]
Error: unexpected end of file at offset 9878920 in file Jack Davis/Unknown Album/AoM custom song.aif (length 9878920)
MinimServer[Johns-iMac.gateway] is running


May I assume that all the other 112 albums have been successfully read in? Is there any way to do an "ls" on the currently indexed files to see what's there?

I couldn't attach the song unfortunately.


Regards,
Jack
Find all posts by this user
Quote this message in a reply
13-06-2016, 11:57
Post: #6
RE: Unable to scan music library in new installation
If the song is playing (presumably using iTunes) but ending abruptly, this is caused by the unexpected end of file error. In this case, I would not need to see the file because the cause of the problem is confirmed.

You might be able to fix the file format by running it through a file converter such as dBpoweramp or XLD. Does this remove the error message from MinimServer?

You can be sure that any files that did not produce an error or warning in the log have been correctly by MinimServer.

You can use the "# albums" and "# tracks" selections from the top-level menu to show you exactly what's there.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)