Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: OMV NAS Samba MPD scan restarting
#4
@Ironfly

You said

Quote:cat /var/log/mpd/log

gives the scanned files and closes without scanning all the files (ending always at the same file) and giving no errors.

MPD stops scanning when it hits a file with corrupt metadata. At the default logging level (which is the setting in moOde), MPD won't say anything. I don't recall whether you'll see anything useful about metadata at the verbose logging level.

Rather than repeat its contents here, I refer you to the ArchLinux Wiki in the subsection "MPD hangs on first startup." 

As an aside, the MPD process has to have read permission on all music files, and read+execute permission on all music directories (and all of their parent directories)?  It sounds like this may not be part of your issue, but it's worth remembering, especially because the MPD process is running as user 'mpd' and not as user 'pi'.

I've been using an OpenMediaVault NAS for some years now and it has performed flawlessly in daily use with multiple moOde players. The NAS services I've enabled include SMB shares containing ca 6 000 tracks in various encodings and NFS mounts used at various times for testing.

Regards,
Kent
Reply


Messages In This Thread
OMV NAS Samba MPD scan restarting - by Ironfly - 03-30-2020, 12:55 PM
RE: OMV NAS Samba MPD scan restarting - by TheOldPresbyope - 03-31-2020, 01:24 PM

Forum Jump: