RE: Album artwork impacted by .AppleDouble sub folders on NAS - TheOldPresbyope - 04-12-2020
@audiobeer
The zip file worked here.
First time through on a beta 6.5.0 system I ran into a curious error from thmcache but not later. I need to track that down and also test on a 6.4.2 system, but right now I'm listening to your tracks* and seeing the cover art in all views.
Regards,
Kent
*Not what I heard the last time I was clubbing in Oslo, but that was decades ago! Also there was alcohol involved so what I do remember is how to say skål.
RE: Album artwork impacted by .AppleDouble sub folders on NAS - Tim Curtis - 04-12-2020
I was able to unzip via SSH.
Here's the directory listing showing all the hidden OS X dotfiles
Code: pi@rp3:~ $ ls -ARl /media/VFAT128/Test_mixed/Runaljod\ -\ Gap\ Var\ Ginnunga/
'/media/VFAT128/Test_mixed/Runaljod - Gap Var Ginnunga/':
total 288160
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._02 - Hagal.flac'
-rw-r--r-- 1 root root 50828096 Apr 12 07:06 '02 - Hagal.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:07 '._03 - Bjarkan.flac'
-rw-r--r-- 1 root root 37879666 Apr 12 07:07 '03 - Bjarkan.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._05 - Heimta Thurs.flac'
-rw-r--r-- 1 root root 25560782 Apr 12 07:06 '05 - Heimta Thurs.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:07 '._06 - Thurs.flac'
-rw-r--r-- 1 root root 7058789 Apr 12 07:07 '06 - Thurs.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._07 - Jara.flac'
-rw-r--r-- 1 root root 33413389 Apr 12 07:06 '07 - Jara.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._08 - Laukr.flac'
-rw-r--r-- 1 root root 25896996 Apr 12 07:06 '08 - Laukr.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._09 - Kauna.flac'
-rw-r--r-- 1 root root 15695223 Apr 12 07:06 '09 - Kauna.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:07 '._10 - Algir - Stien Klarnar.flac'
-rw-r--r-- 1 root root 27793978 Apr 12 07:07 '10 - Algir - Stien Klarnar.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:07 '._11 - Algir - Tognatale.flac'
-rw-r--r-- 1 root root 35832635 Apr 12 07:07 '11 - Algir - Tognatale.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._12 - Dagr.flac'
-rw-r--r-- 1 root root 34056239 Apr 12 07:06 '12 - Dagr.flac'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 ._cover.jpg
-rw-r--r-- 1 root root 117508 Apr 12 07:06 cover.jpg
-rw-r--r-- 1 root root 4096 Apr 12 07:06 ._extra
drwxr-xr-x 2 root root 32768 Apr 12 07:06 extra
-rw-r--r-- 1 root root 4096 Apr 12 07:06 ._folder.jpg
-rw-r--r-- 1 root root 145320 Apr 12 07:06 folder.jpg
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._Runaljod - Gap Var Ginnunga.lfml'
-rw-r--r-- 1 root root 343 Apr 12 07:06 'Runaljod - Gap Var Ginnunga.lfml'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 ._Thumbs.db
-rw-r--r-- 1 root root 23552 Apr 12 07:06 Thumbs.db
'/media/VFAT128/Test_mixed/Runaljod - Gap Var Ginnunga/extra':
total 128
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._Runaljod - Gap Var Ginnunga.cue'
-rw-r--r-- 1 root root 1603 Apr 12 07:06 'Runaljod - Gap Var Ginnunga.cue'
-rw-r--r-- 1 root root 4096 Apr 12 07:06 '._Runaljod - Gap Var Ginnunga.log'
-rw-r--r-- 1 root root 11728 Apr 12 07:06 'Runaljod - Gap Var Ginnunga.log'
Heres some screen shots showing thumbnail and cover for the real album and a second bogus copy of the album/tracks corresponding to the OS X dotfiles.
[attachment=1129] [attachment=1130]
I'm not sure why OP is not seeing any cover or thumb for the album but it does not appear to be related to the presence of the /extra subdirectory.
My recommendation would be to use a utility or script to remove all the hidden OS X dotfiles and dotdirs from your music collection. This is best practice.
In upcoming moOde 6.5.0 the thumbnail generator has been improved to run in parallel with MPD db update to provide an integrated "Update library" process instead of separate MPD and thumbnail updates. To do this though required changing from MPD's directory listing which would honor .mpdignore to a Linux directory listing which would show all of the OS X dotfiles.
"TheOldPresbyope" , we may need to add some additional filtering to listall.sh script ???
-Tim
RE: Album artwork impacted by .AppleDouble sub folders on NAS - TheOldPresbyope - 04-12-2020
I'm confused. I don't have any OS X dotted files in my copy of the zip file.
Code: (on a Linux box---note cockamamie glyphs displayed for some characters. The code points are correct.)
kreed@T520 ~/Downloads/MoodeAudio/audiobeer $ unzip -t moodeaudio-debug.zip
Archive: moodeaudio-debug.zip
testing: Runaljod - Gap Var Ginnunga/ OK
testing: Runaljod - Gap Var Ginnunga/01 - ╡r Var Alda.flac OK
testing: Runaljod - Gap Var Ginnunga/02 - Hagal.flac OK
testing: Runaljod - Gap Var Ginnunga/03 - Bjarkan.flac OK
testing: Runaljod - Gap Var Ginnunga/04 - LЫyndomsriss.flac OK
testing: Runaljod - Gap Var Ginnunga/05 - Heimta Thurs.flac OK
testing: Runaljod - Gap Var Ginnunga/06 - Thurs.flac OK
testing: Runaljod - Gap Var Ginnunga/07 - Jara.flac OK
testing: Runaljod - Gap Var Ginnunga/08 - Laukr.flac OK
testing: Runaljod - Gap Var Ginnunga/09 - Kauna.flac OK
testing: Runaljod - Gap Var Ginnunga/10 - Algir - Stien Klarnar.flac OK
testing: Runaljod - Gap Var Ginnunga/11 - Algir - Tognatale.flac OK
testing: Runaljod - Gap Var Ginnunga/12 - Dagr.flac OK
testing: Runaljod - Gap Var Ginnunga/cover.jpg OK
testing: Runaljod - Gap Var Ginnunga/extra/ OK
testing: Runaljod - Gap Var Ginnunga/extra/Runaljod - Gap Var Ginnunga.cue OK
testing: Runaljod - Gap Var Ginnunga/extra/Runaljod - Gap Var Ginnunga.log OK
testing: Runaljod - Gap Var Ginnunga/folder.jpg OK
testing: Runaljod - Gap Var Ginnunga/Runaljod - Gap Var Ginnunga.lfml OK
testing: Runaljod - Gap Var Ginnunga/Thumbs.db OK
No errors detected in compressed data of moodeaudio-debug.zip.
What I do have when moOde 6.4.2 with debug logging scans the resulting directory is
Code: 20200412 113934 coverart: flac: /var/lib/mpd/music/NAS/OMV-Test2/audiobeer/Runaljod - Gap Var Ginnunga/01 - µr Var A
lda.flac
20200412 113934 coverart: flac: Zend media exception: Not a valid FLAC bitstream
Whereas neither file nor mediainfo have a problem with the flac files.
On moOde 6.4.2, the album thumbart doesn't appear in the tags view but the cover appears on all views.
Need to scratch my head on this one.
Regards,
Kent
RE: Album artwork impacted by .AppleDouble sub folders on NAS - Tim Curtis - 04-12-2020
I didn't see any of the files when I unzipped. I'll try again. Maybe I accidentally browsed the folder with Finder :-0
RE: Album artwork impacted by .AppleDouble sub folders on NAS - Tim Curtis - 04-12-2020
The resource fork files appeared after copying via SSH on my Mac. Very odd. Maybe I'll need to use Linux to do this sort of stuff :-)
Code: lt5user@LT5 Downloads % ls -al Runaljod\ -\ Gap\ Var\ Ginnunga
total 574864
drwxr-xr-x@ 17 lt5user staff 544 Apr 12 2020 .
drwx------@ 35 lt5user staff 1120 Apr 12 12:19 ..
-rw-r--r--@ 1 lt5user staff 50828096 Feb 19 10:51 02 - Hagal.flac
-rw-r--r--@ 1 lt5user staff 37879666 Feb 19 10:51 03 - Bjarkan.flac
-rw-r--r--@ 1 lt5user staff 25560782 Feb 19 10:51 05 - Heimta Thurs.flac
-rw-r--r--@ 1 lt5user staff 7058789 Feb 19 10:51 06 - Thurs.flac
-rw-r--r--@ 1 lt5user staff 33413389 Feb 19 10:51 07 - Jara.flac
-rw-r--r--@ 1 lt5user staff 25896996 Feb 19 10:51 08 - Laukr.flac
-rw-r--r--@ 1 lt5user staff 15695223 Feb 19 10:51 09 - Kauna.flac
-rw-r--r--@ 1 lt5user staff 27793978 Feb 19 10:51 10 - Algir - Stien Klarnar.flac
-rw-r--r--@ 1 lt5user staff 35832635 Feb 19 10:51 11 - Algir - Tognatale.flac
-rw-r--r--@ 1 lt5user staff 34056239 Feb 19 10:51 12 - Dagr.flac
-rw-r--r--@ 1 lt5user staff 343 Feb 19 10:50 Runaljod - Gap Var Ginnunga.lfml
-rw-r--r--@ 1 lt5user staff 23552 Oct 8 2013 Thumbs.db
-rw-r--r--@ 1 lt5user staff 117508 Feb 19 10:51 cover.jpg
drwxr-xr-x@ 4 lt5user staff 128 Apr 12 2020 extra
-rw-r--r--@ 1 lt5user staff 145320 Oct 2 2013 folder.jpg
lt5user@LT5 Downloads % sudo cp -r Runaljod\ -\ Gap\ Var\ Ginnunga /Volumes/VFAT128/Test_mixed
lt5user@LT5 Downloads % ls -al /Volumes/VFAT128/Test_mixed/Runaljod\ -\ Gap\ Var\ Ginnunga
total 576448
drwxrwxrwx@ 1 lt5user staff 32768 Apr 12 12:22 .
drwxrwxrwx 1 lt5user staff 32768 Apr 12 12:21 ..
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._02 - Hagal.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._03 - Bjarkan.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:21 ._05 - Heimta Thurs.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._06 - Thurs.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._07 - Jara.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._08 - Laukr.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._09 - Kauna.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._10 - Algir - Stien Klarnar.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._11 - Algir - Tognatale.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._12 - Dagr.flac
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._Runaljod - Gap Var Ginnunga.lfml
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:21 ._Thumbs.db
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._cover.jpg
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._extra
-rwxrwxrwx 1 lt5user staff 4096 Apr 12 12:22 ._folder.jpg
-rwxrwxrwx@ 1 lt5user staff 50828096 Apr 12 12:22 02 - Hagal.flac
-rwxrwxrwx@ 1 lt5user staff 37879666 Apr 12 12:22 03 - Bjarkan.flac
-rwxrwxrwx@ 1 lt5user staff 25560782 Apr 12 12:21 05 - Heimta Thurs.flac
-rwxrwxrwx@ 1 lt5user staff 7058789 Apr 12 12:22 06 - Thurs.flac
-rwxrwxrwx@ 1 lt5user staff 33413389 Apr 12 12:22 07 - Jara.flac
-rwxrwxrwx@ 1 lt5user staff 25896996 Apr 12 12:22 08 - Laukr.flac
-rwxrwxrwx@ 1 lt5user staff 15695223 Apr 12 12:22 09 - Kauna.flac
-rwxrwxrwx@ 1 lt5user staff 27793978 Apr 12 12:22 10 - Algir - Stien Klarnar.flac
-rwxrwxrwx@ 1 lt5user staff 35832635 Apr 12 12:22 11 - Algir - Tognatale.flac
-rwxrwxrwx@ 1 lt5user staff 34056239 Apr 12 12:22 12 - Dagr.flac
-rwxrwxrwx@ 1 lt5user staff 343 Apr 12 12:22 Runaljod - Gap Var Ginnunga.lfml
-rwxrwxrwx@ 1 lt5user staff 23552 Apr 12 12:21 Thumbs.db
-rwxrwxrwx@ 1 lt5user staff 117508 Apr 12 12:22 cover.jpg
drwxrwxrwx@ 1 lt5user staff 32768 Apr 12 12:22 extra
-rwxrwxrwx@ 1 lt5user staff 145320 Apr 12 12:22 folder.jpg
lt5user@LT5 Downloads %
Either way the Album and its cover/thumb show up just fine.
RE: Album artwork impacted by .AppleDouble sub folders on NAS - audiobeer - 04-12-2020
I'm also unable to see any dot files :/
RE: Album artwork impacted by .AppleDouble sub folders on NAS - Tim Curtis - 04-12-2020
The dotfiles are bad so you don't want them anyway. The only issue they caused for me was the bogus "Unknown" album and tracks. Once I deleted the dotfiles that album went away.
There must be some other issue causing no thumbnails for your albums.
RE: Album artwork impacted by .AppleDouble sub folders on NAS - audiobeer - 04-12-2020
So another development...
Same behaviour with no extra files or folder just embeded art on flac files...
RE: Album artwork impacted by .AppleDouble sub folders on NAS - Tim Curtis - 04-12-2020
Examine the Moode log for errors from the thumbnail generator. These typically indicate bad metadata blocks in the audio file.
Example
Code: 20200412 135722 thmcache: flac: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Frans Meerhoff/Test2/Mary Wells - My Guy.flac
20200412 135722 thmcache: flac: Zend media exception: Not a valid FLAC bitstream
RE: Album artwork impacted by .AppleDouble sub folders on NAS - audiobeer - 04-12-2020
So yeah, there was a file throwing that error... I've deleted the album. Let's see if it works
|