Posts: 1,448
Threads: 25
Joined: Jun 2022
Reputation:
51
(10-07-2023, 12:27 PM)pegaso Wrote: All folders and files in my NAS have the same name scheme with dots followed by space/s in their names / folder names. And it's rather not a problem. I haven't noticed other folders with this problem.
Then we exclude a naming problem.
Now you can try to ffmpeg that song, enclosing its name in double-quotes, so that we can see the results.
Posts: 6,354
Threads: 187
Joined: Apr 2018
Reputation:
256
But this isn’t Volumio or M.A.L.P. or .….
We are the moOde Forum and we’re trying to figure out why, out of all the moOde users, you seem to be having this problem with the library folder view.
Regards,
Kent
Posts: 14,423
Threads: 331
Joined: Mar 2018
Reputation:
589
Zip up the folder and PM a download link to @ TheOldPresbyope, @ Nutul and myself to see if one of us can repro the issue.
If its not reproducible on our end then it would suggest something external to moOde software thats causing the issue.
Posts: 10
Threads: 2
Joined: Sep 2023
Reputation:
0
I made one more test.
I saved the problematic folder on a usb flash drive and connected it to my rpi. As it was before, subfolders were shown as empty.
But when I accidentally clicked on the folder name and selected play, the files started playing and there was a full list shown in the folder queue.
The second test I did was by saving these subfolders with flac files within into the root folder named: "R HEAD", "RADOHEA", "RA HEAD" - and surprisingly - there were shown full, corect list of files.
So it seems that the problem is only occuring when the folder name is "RADIOHEAD". Could you check it, please?
Posts: 1,448
Threads: 25
Joined: Jun 2022
Reputation:
51
(10-08-2023, 08:21 PM)pegaso Wrote: I made one more test.
I saved the problematic folder on a usb flash drive and connected it to my rpi. As it was before, subfolders were shown as empty.
But when I accidentally clicked on the folder name and selected play, the files started playing and there was a full list shown in the folder queue.
The second test I did was by saving these subfolders with flac files within into the root folder named: "R HEAD", "RADOHEA", "RA HEAD" - and surprisingly - there were shown full, corect list of files.
So it seems that the problem is only occuring when the folder name is "RADIOHEAD". Could you check it, please?
a) Try now to rename the folder to "RADIOHEAD" again, as it might have been a matter of a similar character, but in a different codepage (mistakenly, I mean)
b) we wanted to see the results of ffmpeg playing one of those tracks...
P.S.
I too have a folder named Radiohead, and everything is showing perfectly.
What filesystem is the thing formatted with?
Posts: 14,423
Threads: 331
Joined: Mar 2018
Reputation:
589
(10-08-2023, 08:21 PM)pegaso Wrote: I made one more test.
I saved the problematic folder on a usb flash drive and connected it to my rpi. As it was before, subfolders were shown as empty.
But when I accidentally clicked on the folder name and selected play, the files started playing and there was a full list shown in the folder queue.
The second test I did was by saving these subfolders with flac files within into the root folder named: "R HEAD", "RADOHEA", "RA HEAD" - and surprisingly - there were shown full, corect list of files.
So it seems that the problem is only occuring when the folder name is "RADIOHEAD". Could you check it, please?
I'll review the code. Uppercase 'RADIO' is one of the moOde defined folder names under /var/lib/mpd/music/
Code: pi@moode:~ $ ls -l /var/lib/mpd/music/
total 12
lrwxrwxrwx 1 root root 8 Sep 5 14:23 NAS -> /mnt/NAS
drwxrwxrwx 2 root root 12288 Oct 4 14:39 RADIO
lrwxrwxrwx 1 root root 11 Sep 5 14:23 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 Sep 5 14:23 USB -> /media
Posts: 1,448
Threads: 25
Joined: Jun 2022
Reputation:
51
(10-08-2023, 09:40 PM)Tim Curtis Wrote: (10-08-2023, 08:21 PM)pegaso Wrote: I made one more test.
I saved the problematic folder on a usb flash drive and connected it to my rpi. As it was before, subfolders were shown as empty.
But when I accidentally clicked on the folder name and selected play, the files started playing and there was a full list shown in the folder queue.
The second test I did was by saving these subfolders with flac files within into the root folder named: "R HEAD", "RADOHEA", "RA HEAD" - and surprisingly - there were shown full, corect list of files.
So it seems that the problem is only occuring when the folder name is "RADIOHEAD". Could you check it, please?
I'll review the code. Uppercase 'RADIO' is one of the moOde defined folder names under /var/lib/mpd/music/
Code: pi@moode:~ $ ls -l /var/lib/mpd/music/
total 12
lrwxrwxrwx 1 root root 8 Sep 5 14:23 NAS -> /mnt/NAS
drwxrwxrwx 2 root root 12288 Oct 4 14:39 RADIO
lrwxrwxrwx 1 root root 11 Sep 5 14:23 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 Sep 5 14:23 USB -> /media
You mean:
1. MUST BE directly under /var/lib/mpd/music
2. MUST BE all-caps
3. MUST BE a single word
I do have a folder, as I said, containing "radio" (Radiohead) BUT:
1. it is under /var/lib/mpd/music/USB/Spare 4/Music/R/
2. it is NOT all caps
3. it is not a SINGLE word
And everything is fine in my library.
Posts: 10
Threads: 2
Joined: Sep 2023
Reputation:
0
(10-08-2023, 08:53 PM)Nutul Wrote: P.S.
I too have a folder named Radiohead, and everything is showing perfectly.
What filesystem is the thing formatted with?
In my case folder name "Radiohead" or "radiohead" is ok, the problematic name in upper case "RADIOHEAD"
Quote:b) we wanted to see the results of ffmpeg playing one of those tracks...
Code: pi@126moode:~ $ ffmpeg -i "/mnt/NAS/Musica/R/RADIOHEAD/2008. The Best Of/disc 2/ 01. Airbag.flac" > /dev/null
ffmpeg version 4.3.4-0+deb11u1+rpt3 Copyright (c) 2000-2021 the FFmpeg developer s
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt3 --toolchain=harden ed --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --en able-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enab le-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-libopenj peg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --e nable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheo ra --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx -- enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-li bxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --en able-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/li b/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enab le-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-f rei0r --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/NAS/Musica/R/RADIOHEAD/2008. The Best Of/disc 2/01. A irbag.flac':
Metadata:
ARTIST : Radiohead
TITLE : Airbag
ALBUM : The Best Of
DATE : 2008
GENRE : Alternative Rock
track : 01
TRACKTOTAL : 13
disc : 2
DISCTOTAL : 2
Duration: 00:04:47.88, start: 0.000000, bitrate: 1056 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream #0:1: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 500x500 [SAR 600:600 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
Metadata:
comment : Cover (front)
At least one output file must be specified
Posts: 1,448
Threads: 25
Joined: Jun 2022
Reputation:
51
(10-08-2023, 09:56 PM)pegaso Wrote: (10-08-2023, 08:53 PM)Nutul Wrote: P.S.
I too have a folder named Radiohead, and everything is showing perfectly.
What filesystem is the thing formatted with?
In my case folder name "Radiohead" or "radiohead" is ok, the problematic name in upper case "RADIOHEAD"
Quote:b) we wanted to see the results of ffmpeg playing one of those tracks...
Code: pi@126moode:~ $ ffmpeg -i "/mnt/NAS/Musica/R/RADIOHEAD/2008. The Best Of/disc 2/ 01. Airbag.flac" > /dev/null
ffmpeg version 4.3.4-0+deb11u1+rpt3 Copyright (c) 2000-2021 the FFmpeg developer s
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u1+rpt3 --toolchain=harden ed --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --en able-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enab le-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-libopenj peg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --e nable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheo ra --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx -- enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-li bxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --en able-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/li b/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enab le-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-f rei0r --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/NAS/Musica/R/RADIOHEAD/2008. The Best Of/disc 2/01. A irbag.flac':
Metadata:
ARTIST : Radiohead
TITLE : Airbag
ALBUM : The Best Of
DATE : 2008
GENRE : Alternative Rock
track : 01
TRACKTOTAL : 13
disc : 2
DISCTOTAL : 2
Duration: 00:04:47.88, start: 0.000000, bitrate: 1056 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream #0:1: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 500x500 [SAR 600:600 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
Metadata:
comment : Cover (front)
At least one output file must be specified
OK, then, as Tim is mentioning. there might be a problem in moOde with folders containing "RADIO"
Posts: 14,423
Threads: 331
Joined: Mar 2018
Reputation:
589
It's prolly this line of code in function renderFolderView()
Code: if (typeof(data[i].file) != 'undefined' && data[i].file.indexOf('RADIO') == -1) {
files[l] = data[I];
l = l + 1;
}
|