Moode Forum
mpc insert Radiostation fails - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: mpc insert Radiostation fails (/showthread.php?tid=1914)



mpc insert Radiostation fails - vikozo - 11-22-2019

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


RE: mpc insert Radiostation fails - vikozo - 11-25-2019

any idea?


RE: mpc insert Radiostation fails - Tim Curtis - 11-25-2019

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


RE: mpc insert Radiostation fails - vikozo - 11-26-2019

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