Moode Forum

Full Version: mpc insert Radiostation fails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello
with 
mpc ls you discover the structure of mpc 
with
mpc insert SDCARD/testmusic/testfile.flac
this command will add and play this song just next to the running song, all packet into a bash script and calling up with cron, works fine.

for a favorit Radio Broadcast ones a week i have done the same with but fails

with mpc ls RADIO
my station wanted is there RADIO/KanalK.pls (and no problem calling up with GUI)

but calling up with 
mpc insert RADIO/KanalK.pls 

error adding RADIO/KanalK.pls: No such directory

so what is going wrong?

have a nice day
vinc
any idea?
From mpc help

Code:
 mpc add <uri>            Add a song to the queue
 mpc insert <uri>         Insert a song to the queue after the current track
 mpc load <file>          Load <file> into the queue

Both insert and add require a uri for example:

Code:
mpc insert http://94.23.222.12:8027/amysfmspiritofsoul
mpc next

Only the load command accepts a file (playlist file).

-Tim
Merci, i thought it would be similar to add a song