Thank you for your donation!


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


Solved: Different versions of the same album
#18
(09-24-2024, 02:37 PM)Tim Curtis Wrote: I had no issues on my end with the album you provided.

Typically this type of issue is caused by insufficient permissions. MPD needs to have read ® permission to the music files and execute (x) permission on all parent directories of the music files. The MPD log can be viewed via moodeutl --mpdlog and will contain permission errors for directories or files it cannot access during database update.

Couple of questions:

1. What format is the drive (NTFS, Fat32, Exfat etc)?
2 How did you copy the files to the drive?
3. What are the permission listed for the "Waltz For Debby [LP SMJ-6118]" album directory and music files?

Code:
# Directory
stat "/media/PATH_TO_Waltz For Debby [LP SMJ-6118]"

# Files
ls -l "/media/PATH_TO_Waltz For Debby [LP SMJ-6118]"

Here's an example using the test album you provided. I copied it to a USB drive.

# Directory
pi@moode9:~ $ stat "/media/VFAT64/Test/Dastinger/Waltz For Debby [LP SMJ-6118]"
  File: /media/VFAT64/Test/Dastinger/Waltz For Debby [LP SMJ-6118]
  Size: 32768           Blocks: 64         IO Block: 32768  directory
Device: 8,1     Inode: 163         Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-09-23 20:00:00.000000000 -0400
Modify: 2024-09-24 06:28:56.000000000 -0400
Change: 2024-09-24 06:28:56.000000000 -0400
 Birth: 2024-09-24 02:25:21.090000000 -0400

# Files
pi@moode9:~ $ ls -l "/media/VFAT64/Test/Dastinger/Waltz For Debby [LP SMJ-6118]"
total 611744
-rw-r--r-- 1 root root  80050275 Sep 14 16:38 '01 Bill Evans Trio - My Foolish Heart.flac'
-rw-r--r-- 1 root root 110992954 Sep 14 16:38 '02 Bill Evans Trio - Waltz For Debby.flac'
-rw-r--r-- 1 root root 122149206 Sep 14 16:38 '03 Bill Evans Trio - Detour Ahead.flac'
-rw-r--r-- 1 root root 117928299 Sep 14 16:38 '04 Bill Evans Trio - My Romance.flac'
-rw-r--r-- 1 root root  78073910 Sep 14 16:38 '05 Bill Evans Trio - Some Other Time.flac'
-rw-r--r-- 1 root root 116649103 Sep 14 16:38 '06 Bill Evans Trio - Milestones.flac'
-rw-r--r-- 1 root root    493832 Sep 14 16:43  folder.png

Tim, thank you for your continued help.

  1. The USB drive is NTFS. Please note that all albums are in there, in the same tree. /Music/Albums/Artist/Album Name.
  2. I can't remember how I copied the files to the drive. They are there for quite some time now, since I recorded them myself from my vinyl copy of the album. I moved them around to organise, but they were already in the same HDD
  3. The permissions are as follows:


Code:
# Directory

Size: 4096      Blocks: 8          IO Block: 4096   directory
Device: 8,2 Inode: 4063        Links: 1
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-09-25 14:54:45.735583200 +0100
Modify: 2024-09-24 10:02:12.176884600 +0100
Change: 2024-09-25 14:56:15.780493300 +0100
 Birth: -

# Files

total 611672
-rwxr-xr-x 1 root root  80050275 Sep 15 01:38 '01 Bill Evans Trio - My Foolish Heart.flac'
-rwxr-xr-x 1 root root 110992954 Sep 15 01:38 '02 Bill Evans Trio - Waltz For Debby.flac'
-rwxr-xr-x 1 root root 122149206 Sep 15 01:38 '03 Bill Evans Trio - Detour Ahead.flac'
-rwxr-xr-x 1 root root 117928299 Sep 15 01:38 '04 Bill Evans Trio - My Romance.flac'
-rwxr-xr-x 1 root root  78073910 Sep 15 01:38 '05 Bill Evans Trio - Some Other Time.flac'
-rwxr-xr-x 1 root root 116649103 Sep 15 01:38 '06 Bill Evans Trio - Milestones.flac'
-rwxr-xr-x 1 root root    493832 Sep 15 01:43  folder.png

As a last effort, I tried to move the folders to the SD Card and Moode immediately showed the album art. I tried moving them back to the USB drive and the album art is gone again. I can keep them on the SD Card but I'd like to know what is going on. I'd prefer to see it fixed rather than having two paths for albums (not that it hurts, it's just a way to keep everything tidied up and not having to worry about it in case I need to reinstall the OS or something).

(09-24-2024, 07:10 PM)Nutul Wrote: Same here, no problem at all.
Although I am a little perplexed: in your album view, that's not a "broken image": it's a default one.
I don't remember if moOde adds that (as a thumbnail) when it cannot find any; but if it is so, maybe you added the album with no album art, then fixed it, and rebuilt the library / regenerated the thumbnails, but... forgot to clear the browser's cache?

That is my fault. When I first opened up the thread, it was indeed a broken image, but it changed to what you can see now on my screenshot. 

I'm not sure if you mean the actual web browser's cache. But if you do, this happens on every browser I try, so it's not an issue with the cache.
Reply


Messages In This Thread
RE: Different versions of the same album - by dastinger - 09-25-2024, 02:09 PM

Forum Jump: