08-01-2024, 08:17 PM
(This post was last modified: 08-01-2024, 08:24 PM by TheOldPresbyope.
Edit Reason: typo
)
@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
Regards,
Kent
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