Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Last active February 23, 2024 17:57
Show Gist options
  • Star 25 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save kgriffs/6393192 to your computer and use it in GitHub Desktop.
Save kgriffs/6393192 to your computer and use it in GitHub Desktop.
Run VLC from the command line on Mac OS X and stream internet radio (such as Radio Paradise).
#!/usr/bin/env bash
/Applications/VLC.app/Contents/MacOS/VLC -I rc "$@"
@kgriffs
Copy link
Author

kgriffs commented Aug 30, 2013

Just save this to /usr/local/bin and then make it executable:

chmod +x /usr/local/bin/vlc 

You can try it out by running vlc inside Terminal:

vlc http://www.radioparadise.com/m3u/aac-128.m3u

If the audio skips, then try the direct stream instead:

vlc http://stream-tx4.radioparadise.com:80/aac-128

The Ogg stream is also pretty good:

vlc http://stream-sd.radioparadise.com/rp_192m.ogg

See also: http://www.radioparadise.com/rp_2.php?#name=Listen

@flooie
Copy link

flooie commented May 24, 2016

Amazing!!!! thank you!

@idkjs
Copy link

idkjs commented Nov 24, 2016

Just for for fun. What is the idiots way of understanding and running these commands? I'm not great with shebang and bash scripting
outside of node.js. Thank you.

@pyrog
Copy link

pyrog commented Dec 3, 2016

What is the idiots way of understanding and running these commands?

vlc --help 😉

If you don't love bash scripting, type /Applications/VLC.app/Contents/MacOS/VLC --help

@dglaude
Copy link

dglaude commented Feb 17, 2018

@mwathi
Copy link

mwathi commented Jan 18, 2022

Amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment