Thank you for your donation!


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


Cannot play flac 96\24 files
#11
._filename is a ghost, hidden file came from Apple spotlite indexing routine. Its size about zero, and you cannot play it at all.

It is strange that you see it in Moode. Normally those files keep hidden.
Reply
#12
Those annoying resource fork files created by OS X will definitely be indexed by MPD since they have valid extensions like .flac, .m4a, etc but of course they will be unplayable. They are mostly hidden in Linux just like in OS X but can easily be viewed using commands like below.

Code:
ls -al

And they can be deleted using the find command. Below is example of deleting all "._*" files from the root of a USB stick. There are many different types of resource fork files and directories for example .Trashes, ._.Trashes, .Spotlight, .DS_Store, ._.DS_Store, .fseventsd, etc, etc. 

Code:
pi@rp5:~ $ cd /media/VFAT128/
pi@rp5:/media/VFAT128 $ sudo find . -name "._*" -exec rm -rf {} \;

Example MPD adding a resource fork file
Code:
pi@rp5:~ $ tail -f /var/log/mpd/log
Dec 18 11:57 : update: added USB/VFAT128/Test_mixed/Alison Krauss/._01 Baby, Now That I've Found You.m4a

Here is one of a zillion or so articles on the annoying . (dot) files
https://discussions.apple.com/thread/7840679
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
All true, yet if there are two files, one named "music.flac" and one named "._music.flac", both will be indexed by moOde. Each will be displayed with a screen name derived from metadata or from the filename if no metadata, and each can be selected and played (or at least attempted in the case of the OSX indexing file).

If I read the OP's posts  correctly, then his USB drive must contain only the indexing file?!?

Regards,
Kent
Reply


Forum Jump: