![]() |
[SOLVED] OMV NAS Samba MPD scan restarting - Printable Version +- Moode Forum (http://moodeaudio.org/forum) +-- Forum: moOde audio player (http://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (http://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] OMV NAS Samba MPD scan restarting (/showthread.php?tid=2311) Pages:
1
2
|
OMV NAS Samba MPD scan restarting - Ironfly - 03-30-2020 hi all, i have a MPD "crash" when trying to scan the Music folder on my OMV Nas. MoodeAudio 6.4.2 Raspberry P3B+ hifiberry AMP2 folder is recognised and correctly mount, i can browse using SSH and also creating folders/files on it, permissions are OK but NAS doesn't appear on WEB UI folder list. i checked various logs and i found that: cat /var/log/moode.log watchdog: MPD restarted (check syslog for errors) Code: 20200330 140326 worker: -- Start nano syslog: Code: Mar 30 14:13:49 moode systemd[1]: mpd.service: Main process exited, code=killed, status=7/BUS What's going wrong with it? I don't think i have so many files to kill the scan. 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. cat /var/log/moode.log cat /var/log/moode.log cat /var/log/moode.log RE: OMV NAS Samba MPD scan restarting - the_bertrum - 03-31-2020 If it always ends at the same file, try moving that file somewhere else out of the way and trying again. If the scan completes, then it is the file that is corrupt. Re-acquire the problem file (re-rip, download, whatever) and add it back. RE: OMV NAS Samba MPD scan restarting - Ironfly - 03-31-2020 no luck. it just stops the folder before the preious error. never had this kind of issue with other players on my Pi. RE: OMV NAS Samba MPD scan restarting - TheOldPresbyope - 03-31-2020 @Ironfly You said Quote:cat /var/log/mpd/log 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 RE: OMV NAS Samba MPD scan restarting - Ironfly - 03-31-2020 Thanks Kent, i will give a look at Archlinux Wiki! RE: OMV NAS Samba MPD scan restarting - Ironfly - 03-31-2020 Fixed some tags but...nothing, still the same issue. with mpd log to verbose, this is after the same long list of songs loaded but not all, the same error is repeated with only the port number that changes by 4 ports each error Code: Mar 31 18:07 : state_file: Loading state file /var/lib/mpd/state RE: OMV NAS Samba MPD scan restarting - Tim Curtis - 03-31-2020 It's prolly a bug in MPD or one of the libraries it uses for example ffmpeg. You should try what @the_bertrum recommended in the earlier post http://moodeaudio.org/forum/showthread.php?tid=2311&pid=18080#pid18080 If you are able to identify the files that are causing MPD to crash during its scan then post some information about them. RE: OMV NAS Samba MPD scan restarting - Ironfly - 03-31-2020 Thanks Tim! I will search the culprit for sure, i will never surrender! RE: OMV NAS Samba MPD scan restarting - TheOldPresbyope - 03-31-2020 Yeah, just keep in mind that moving a problematic file out of the way means moving it completely out of any directories/subdirectories being scanned by MPD. One could use the .mpdignore file to "blind" MPD to certain files. See the MPD documentation. I prefer looking directly at the file and at the directory in which the file lies. We've seen people run into trouble in various ways, even with hidden (e.g. named with a leading dot) files and/or directories. What do the file command and the mediainfo command say about the file(s), for example? Regards, Kent RE: OMV NAS Samba MPD scan restarting - Ironfly - 04-01-2020 i think i found the issue. MPD doesn't like multichannel wave files (*.wav - DTS) but instead of skipping it, giving a warning (as SACD ISO, i know there's a fork for MPD but i don't want to use it), it stops and kill itselfs. is it possible to fix this (skip the file without "crashing"), since i don't want to mess around with my music collection? [attachment=1112] |