Page 5 of 5 FirstFirst ... 345
Results 41 to 45 of 45

Thread: HOWTO: Record internet radio using VLC

  1. #41
    Join Date
    Jun 2007
    Beans
    17,337

    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. -
    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'

  2. #42
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    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
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  3. #43
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    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


    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???
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  4. #44
    Join Date
    Jun 2007
    Beans
    17,337

    Re: HOWTO: Record internet radio using VLC

    How about something a bit simpler to test -
    Code:
    mkdir scripts
    Move elefantesRTVE3.sh into the scripts folder - lose the .sh extension
    Then in your crontab -
    Code:
    17 14 * * *    /home/shantiq/scripts/elefantesRTVE3

  5. #45
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: HOWTO: Record internet radio using VLC

    ok did that still nada
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Page 5 of 5 FirstFirst ... 345

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •