10-01-2023, 09:56 PM
(This post was last modified: 10-01-2023, 11:50 PM by TheOldPresbyope.
Edit Reason: amended to reflect the type of mount
)
Huh?
There is no user 501 on any of my systems. In a stock moOde install I expect user 0 is root and user 1000 is the default user ("pi" or whatever was chosen at install). This suggests to me that something odd is going on with your system. How is your NAS mounted---SMB or NFS? you're mounting the NAS share via NFS and there's a user 501 in group 500 on the NAS host. The permissions game can get weird when NFS is involved.
How about you show us the actual results from the various tests Tim asked you to perform? ...the relevant section of the mpd log, the permissions all the way down from /mnt/NAS to the actual files in question.
You didn't show us what you get when you run mediainfo on one of the files in question. A hard test that a flac file is processable as a music file is to run something like this from the command line
If all is good, you'll get a report like this one for Tim's Stereo Test file
Show your work.
As Tim says, it's always possible there's a bug in the code but until we get enough data to be able to replicate the problem ourselves there's not much that can be done.
Regards,
Kent
Quote:owner 501, group 500, owner RWX, group RWX, others RWX; octal 0777 (the same value as others non-problematic folders). It looks like a problem in MoodeAudio Sad
There is no user 501 on any of my systems. In a stock moOde install I expect user 0 is root and user 1000 is the default user ("pi" or whatever was chosen at install). This suggests to me that something odd is going on with your system. How is your NAS mounted---SMB or NFS? you're mounting the NAS share via NFS and there's a user 501 in group 500 on the NAS host. The permissions game can get weird when NFS is involved.
Quote:I checked exactly as you instructed me. Unfortunately, there is nothing suspicious. In the mpd log all files from this folder---> update: updating NAS/Musica/...... (no error notification).
BTW. Examining the log I found some corrupt files but all of them in different folders.
How about you show us the actual results from the various tests Tim asked you to perform? ...the relevant section of the mpd log, the permissions all the way down from /mnt/NAS to the actual files in question.
You didn't show us what you get when you run mediainfo on one of the files in question. A hard test that a flac file is processable as a music file is to run something like this from the command line
Code:
ffmpeg -i /mnt/NAS/Musica/blah/blah > /dev/null
If all is good, you'll get a report like this one for Tim's Stereo Test file
Code:
moody@moode:~ $ ffmpeg -i /mnt/SDCARD/'Stereo Test'/LRMonoPhase4.flac > /dev/null
ffmpeg version 4.3.6-0+deb11u1+rpt3 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt3 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, flac, from '/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac':
Metadata:
ENCODER : X Lossless Decoder 20161007
TITLE : LR Channel And Phase
ARTIST : Koz
ALBUM : Stereo Test
GENRE : Utilities
album_artist : Koz
track : 1
TRACKTOTAL : 1
TOTALTRACKS : 1
DATE : 1997
TITLESORT : LR Channel And Phase
ARTISTSORT : Koz
ALBUMSORT : Stereo Test
Duration: 00:00:38.76, start: 0.000000, bitrate: 437 kb/s
Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
Stream #0:1: Video: png, rgb24(pc), 300x300 [SAR 2835:2835 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
Metadata:
comment : Cover (front)
At least one output file must be specified
Show your work.
As Tim says, it's always possible there's a bug in the code but until we get enough data to be able to replicate the problem ourselves there's not much that can be done.
Regards,
Kent