Thank you for your donation!


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


Problem: Looking for help with using RFID tag to que music from local album location
#4
@Rtune

The Python snippet doesn't include the actual add code. I'm going to assume it call mpc add with the file_path argument. Looks like file_path is absolute, e.g., relative to /

That won't work because mpd and mpc use paths relative to the music_directory path given in mpd.conf.

Here's a test on a moOde 9.0.5 player where I try to add the Stereo test file to the queue, first with an absolute file_path, second with the relative file_path

Code:
rho@purple:~ $ mpc add /mnt/SDCARD/Stereo\ Test/LRMonoPhase4.flac
error adding /mnt/SDCARD/Stereo Test/LRMonoPhase4.flac: Access denied
rho@purple:~ $ mpc add SDCARD/Stereo\ Test/LRMonoPhase4.flac
rho@purple:~ $

Regards,
Kent
Reply


Messages In This Thread
RE: Looking for help with using RFID tag to que music from local album location - by TheOldPresbyope - 08-01-2024, 08:17 PM

Forum Jump: