Thank you for your donation!


mpc insert Radiostation fails
#1
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
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Reply
#2
any idea?
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Reply
#3
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
Reply
#4
Merci, i thought it would be similar to add a song
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Reply


Forum Jump: