Illusory stillness

mumble mumble techblog

Time Shifting an Internet Stream With VLC

(content note: this didn’t work.)

I want to listen to this upcoming show but don’t know if it’ll be downloadable later.

I worked out a VLC command line:

1
2
3
4
5
6
7
/Applications/VLC.app/Contents/MacOS/VLC \
http://delicious.wavestreamer.com:4626/listen.pls?sid=1 \
    vlc://quit \
    --network-caching=10000 \
    --sout /Users/peter/2014-05-16_yppah_shisho_room_mix.ogg \
    --run-time=7400 \
    --intf rc

I put the command in an executable .sh file and scheduled it to run using LaunchControl.

huh?

Note that I mistakenly tried to actually read the documentation and used

1
--sout "#standard{access=file,mux=ogg,dst=/Users/peter/2014-05-16_yppah_shisho_room_mix.ogg}"

I don’t know what’s wrong or missing about this, but VLC decided to treat it as a filename instead of the syntax in the docs:

1
[0x109c21840] filesystem access error: cannot open file /Users/peter/#standard{access=file,mux=ogg,dst=/Users/peter/2014-05-16_yppah_shisho_room_mix.ogg} (No such file or directory)

Anyway, I forget what I did after that, but the VLC command never actually launched. There was an MP3 of the show available anyway.