All Projects â†’ mdbraber â†’ radiobar

mdbraber / radiobar

Licence: MIT license
macOS menubar app to listen to streaming radio

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to radiobar

iheart-mplayer
Automatically open an iheartradio station in a media player, such as mplayer, VLC, or mpv
Stars: ✭ 44 (-16.98%)
Mutual labels:  radio, vlc
pyradio
đŸ“ģ Play your favorite radio station from the terminal
Stars: ✭ 69 (+30.19%)
Mutual labels:  radio, vlc
Acelink
Play Ace Streams in VLC on macOS.
Stars: ✭ 411 (+675.47%)
Mutual labels:  menubar, vlc
custer
macOS streaming radio in your menu bar
Stars: ✭ 17 (-67.92%)
Mutual labels:  radio, menubar
github-notify
Simple MacOS app to alert you when you have unread GitHub notifications
Stars: ✭ 19 (-64.15%)
Mutual labels:  menubar
VLC-Scheduler
Basic automation & scheduling for VLC media player. [Currently not actively maintained].
Stars: ✭ 57 (+7.55%)
Mutual labels:  vlc
TwitchPotPlayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 159 (+200%)
Mutual labels:  vlc
node-nrf24
nRF24 (nrf24l01/nrfl24l01+) radios in the nodejs way
Stars: ✭ 37 (-30.19%)
Mutual labels:  radio
vlc-portable
🚀 VLC Media Player portable for Windows
Stars: ✭ 17 (-67.92%)
Mutual labels:  vlc
Black-VLC-Mac
A black theme for VLC for Mac
Stars: ✭ 26 (-50.94%)
Mutual labels:  vlc
hicetnunc-radio
Radio player for audio tracks in a tezos wallet.
Stars: ✭ 23 (-56.6%)
Mutual labels:  radio
rtlsdr-wsprd
WSPR daemon for RTL receivers
Stars: ✭ 93 (+75.47%)
Mutual labels:  radio
SourceRadio
Stream music from YouTube while playing games on Steam
Stars: ✭ 10 (-81.13%)
Mutual labels:  radio
Quickeys
A mac menu bar app that provides note taking functionality though a quick dropdown menu.
Stars: ✭ 54 (+1.89%)
Mutual labels:  menubar
covid-19-status
Menu bar widget for MacOS with COVID-19 statistics
Stars: ✭ 50 (-5.66%)
Mutual labels:  menubar
Online-Radio
Online Tamil Radio channels. Inspired by http://radio.garden
Stars: ✭ 15 (-71.7%)
Mutual labels:  radio
nts
NTS Radio downloader and metadata parser
Stars: ✭ 58 (+9.43%)
Mutual labels:  radio
micropython-TEA5767
MicroPython driver for TEA5767 FM radio module on ESP8266/ESP32/Pico
Stars: ✭ 24 (-54.72%)
Mutual labels:  radio
newsched
The GNU Radio 4.0 Runtime Proof Of Concept
Stars: ✭ 19 (-64.15%)
Mutual labels:  radio
TaraniTunes
Awesome music player for FrSky Taranis radios
Stars: ✭ 21 (-60.38%)
Mutual labels:  radio

RadioBar

macOS menubar app to play user-defined radio stations with help from rumps and VLC. It includes a remote to switch channels, on/off, pause/resume etc. Forked from RadioBar by David May

screenshot

Features

  • â–ļī¸ Show Now Playing information (in menubar and/or notifications)
  • ⚡ Lightweight and fast!
  • đŸ–Ĩī¸ Menubar only, no Dock icon
  • đŸŽĩ Add any streaming URL that VLC can play
  • 💤 Stop playing when macOS goes to sleep
  • 🕹ī¸ Remote control via scripts and launchers such as Alfred

Installation

Make sure you have vlc installed, e.g. using brew cask install vlc. Also, if you don't have Python installed, install it with brew install python3. Use the master repo of rumps to use the sleep() and wake() events (see PR #109)

  • Adapt channels.json to your needs
  • Check the source code to e.g. change notification settings (manual for now)
  • Build the .app using python setup.py py2app (see Development)
  • Install the .app from the dist/ directory

Currently no packaged .app is distributed because I've not yet been able to include an easy way to change / update channels. Suggestions for an easy / simple mechanism are welcome!

Usage

  • Click a channel to start streaming (a ✔ is shown in front)
  • Click the current channel to pause streaming (a - is shown in front)
  • Click "Stop" to stop streaming a channel
  • "Now Playing" information shows on top of the menu and/or in menubar (truncated for long titles on smaller screens)
  • Notifications are show when the "Now playing" information changes (unless it's the channel / show name)

Check radiobar.py source code to set options to show notifications or show nowplaying in the menubar.

Pause / resume stops streaming (but shows the channel as paused). It's not buffering radio (which didn't seem logical for live radio). You can also use the remote.py to automate switching channels, see below.

When macOS sleeps streaming will be stopped and you have to manually resume it (this is a feature). This only works if you're using the latest version of rumps (see PR #109).

Remote

Use the include remote.py to send commands to a running RadioBar instance to change channels and switch on/off. You can also use the command as part of an Alfred workflow. remote.py understands the following commands:

  • n - switch to channel n in your list (starting at 1) - start playing if stopped
  • off - stop playing raudio
  • pause - pause playing radio (don't switch station, but stop streaming)
  • resume | on - resume playing radio (start streaming again)
  • nowplaying - output the now playing info
  • show - output the now playing info and trigger a notification

Development

Make sure you have VLC installed, ie. brew cask install vlc.

Tested in Python 2.7.x and 3.x. To run, try:

  1. pip install -r requirements.txt
  2. python radiobar.py

To re-build the macOS app, run:

  1. rm -rf ./dist/ ./build/
  2. python setup.py py2app

You can also use the supplied Makefile to use make clean, make build (default) and make install (to copy the new .app to /Applications)

Bugs

  • "Now playing" integration is experimental and might not work as expected

  • Sleep / wake only works when using a patched version of rumps until PR #109 gets merged.. This is now merged in rumps master.

  • parse_with_options might not not be needing the second argument (timeout) in your version. You could remove it (not sure yet if it makes any difference). I'm still trying to implement a hook that watches for metadata changes for now playing. Tips welcome :-)

  • To use it with the current VLC (>= 3.x) we need to preload the libvlccore.dylib as a workaround. See oaubert/python-vlc#37 for more info.

Credits

This is a fork of RadioBar built by wass3r (David May). All credits for the intial concept go to him!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].