Re: HOWTO: Record internet radio using VLC
gotta go to work - anyway I use nano to do crontab (crontab -e in terminal
Would have rather seen you run the script itself, not just the commands in it.
Ex. -
Quote:
doug@doug-XPS-M1330:~$ /home/doug/bin/test2
VLC media player 1.2.0-git Twoflower (revision 1.2.0~~git20110916+r874)
[0x983a948] dbus interface: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0x983b1e8] dummy interface: using the dummy interface module...
[0x9859128] mux_dummy mux: Open
[0x98592f0] access_http access: Raw-audio server found, mp3 demuxer selected
[0x986f540] idummy demux: command `quit'
Re: HOWTO: Record internet radio using VLC
run this way you mean?
Code:
cd Desktop/SCRIPTS-BashConvert-DO.NOT.DELETE
shantiq@shan:~/Desktop/SCRIPTS-BashConvert-DO.NOT.DELETE$ ./frmusique.sh
VLC media player 1.2.0-git Twoflower (revision 1ee61ad)
[0x2569ec0] dummy interface: using the dummy interface module...
[0x2569510] mux_dummy mux: Open
[0x256cee0] access_http access: Raw-audio server found, mp3 demuxer selected
[0x2579a00] dummy demux: command `quit'
shantiq@shan:~/Desktop/SCRIPTS-BashConvert-DO.NOT.DELETE$
works fine but not as yet with cron and crontab
Re: HOWTO: Record internet radio using VLC
also now running this script
Code:
#!/bin/bash
NOW=$(date +"%b-%d-%y")
cvlc --run-time=3600 http://195.10.10.210/rtve/radio3.mp3 --sout "#duplicate{dst=std{access=file,mux=raw,dst=/home/shantiq/elefanteRTVE-$NOW.mp3}" vlc://quit ;
with crontab
Code:
17 14 * * * /home/shantiq/Desktop/SCRIPTS-BashConvert-DO.NOT.DELETE/elefantesRTVE3.sh
and it does not start but the script works perfectly on its own so it is a kink with cron although cron runs this
Quote:
0 22 * * 0 get_iplayer --get --force --type=liveradio --stop 3600 "http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.net&identifier=Specia l_Event1_UK@s6485&kind=akamai&application=live" && sudo shutdown -h +15
0 23 * * 2,3,4 get_iplayer --get --force --type=liveradio --stop 5400 "http://www.bbc.co.uk/mediaselector/4/gtis/?server=cp60703.live.edgefcs.net&identifier=Specia l_Event1_UK@s6485&kind=akamai&application=live" && sudo shutdown -h +45
perfectly!
so it is an issue between script and cron on my system
any offers???
Re: HOWTO: Record internet radio using VLC
How about something a bit simpler to test -
Move elefantesRTVE3.sh into the scripts folder - lose the .sh extension
Then in your crontab -
Code:
17 14 * * * /home/shantiq/scripts/elefantesRTVE3
Re: HOWTO: Record internet radio using VLC
ok did that still nada :KS