Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Last active May 9, 2025 02:41
Show Gist options
  • Select an option

  • Save kgriffs/6393192 to your computer and use it in GitHub Desktop.

Select an option

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

kgriffs commented Aug 30, 2013

Copy link
Copy Markdown
Author

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

flooie commented May 24, 2016

Copy link
Copy Markdown

Amazing!!!! thank you!

@idkjs

idkjs commented Nov 24, 2016

Copy link
Copy Markdown

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

pyrog commented Dec 3, 2016

Copy link
Copy Markdown

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

dglaude commented Feb 17, 2018

Copy link
Copy Markdown

@mwathi

mwathi commented Jan 18, 2022

Copy link
Copy Markdown

Amazing

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