I have two shares on my NAS a smaller and a bigger one, only I can add the small one without error, when I say error I mean it just keeps spinning and never finish my scan.
I use NFS and mount point shows up, it starts scanning but keeps doing it the share size is about 2TB.
Kodi able to read this share without any error.
How should I proceed to be able to start use my volumio?
Thanks for the feedback. I asked the 2nd question as I have had similar behavior with a corrupted track. After replacing it, the scanning ran without issues.
Please follow these instruction and attach a log, so maybe we can see something in it.
for starters I see a lot of errors with mp3 files:
[src/libmpg123/parse.c:1185] error: Giving up searching valid MPEG header after 65536 bytes of junk.
Jul 28 17:55 : mpg123: mpg123_getformat() failed: Message: I am done with this track.
Jul 28 17:55 : ffmpeg/mp3: Format mp3 detected only with low score of 1, misdetection possible!
Jul 28 17:55 : ffmpeg/mp3: decoding for stream 0 failed
Jul 28 17:55 : ffmpeg/mp3: Could not find codec parameters for stream 0 (Audio: mp3 (mp3float), 0 channels, fltp): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
he says that it’s a header problem after this file : update: added NAS/Music/Tracks/2017-2018/iO (Mulen) - Stick Out (Original Mix) [ClapCrate.net].mp3
Over the past 2½ years I’ve been using Volumio, I’ve seen a number of issues on this forum and elsewhere relating to file problems, the four that spring to mind are listed below - may be worth trying these to see if that is the problem (not sure if any of these problems were address in versions since they were discovered)
Corrupted MP3 files - use MP3 checker software to verify the tracks aren’t corrupt
Zero Length Files - use “everything” to list each type of file extension, sort my length and delete any zero length files
Zero time files - use MP3Tag to scan your files, sort by length and delete any zero length files
Delete all files in the recycle bin of your NAS
After carrying out 1, 2 or 3 do 4 then reboot and rescan your library
In this case, it was due to the system running critically low on memory and the kernel killed the MPD process which was using around 760MB out of the available 1GB at the time it was killed. Unfortunately, I do not know why MPD was consuming so much memory during scan, but I agree it could be because of corrupted files that led to memory leak in whatever library MPD used for reading those files. I do see a ton of messages generated by ffmpeg regarding .m4a files that look like this:
Jul 28 17:24 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
Jul 28 17:24 : update: added NAS/Music/Tracks/Magnolia - EP/01 4 The Record (feat. Boogie).m4a
For a start, I would try excluding .m4a files from the scan and see if that improves things. And perhaps also exclude file types that don’t seem to be relevant to Volumio. So create a file called .mpdignore in the root directory of your music (I suppose this would be NAS/Music ?)_ with the following contents:
*.m4a
*.iso
*.VOB
Restart Volumio. Go to Settings → Sources → Rescan (not update).
Thank you for your answer.
It looks like mission impossible, just did a scan with https://checkmate.gissen.nl/ and after couple of hours it gives tons of corrupted files.
I never thought I have that much corrupted files :\
Which app can you recommend to do the repair or should I use any different app to scan?
Linux or windows doesnt matter