Hello
my wish was to play a Radio Station every Week on a spezial Time 19:00!
this would work in a bashscript with a Song but not with a Radiostation.
But, Clear the List of your moOde select your Radiostation
hit the ... (3 dots)
Save playlist give them a Name you like
should show your saved "playlist"
in my Case it is called KanalK
nano /usr/local/bin/yourStation.sh
chmod +x the file
edit your Crontab and add the path/file and the time you wish to play it!
have a nice day
vinc
my wish was to play a Radio Station every Week on a spezial Time 19:00!
Code:
mpc insert [RadioStationName]
mpc next
But, Clear the List of your moOde select your Radiostation
hit the ... (3 dots)
Save playlist give them a Name you like
Code:
# mpc lsplaylists
in my Case it is called KanalK
nano /usr/local/bin/yourStation.sh
Code:
#!/bin/bash
# mpc lsplaylists
mpc clear
mpc load KanalK
mpc play
/var/www/vol.sh 90
chmod +x the file
edit your Crontab and add the path/file and the time you wish to play it!
have a nice day
vinc
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω