Skip to main content

iheartradio radio station fetcher for rhythmbox

Project description

iheartradio rhythmbox

Prerequisites

  • Python 3
  • Rhythmbox optional

Install

sudo apt install python3 python3-pip
pip install iheartradio

Run

iheartradio

A radio.json file will be generated with every stream available for each station in Canada. You can select US radio stations as well, see below.

Run Rhythmbox mode

iheartradio --rhythmbox

Add --rhythmbox flag to write to default rhythmbox cache at ~/.local/share/rhythmbox/rhythmdb.xml

Note: Make sure you have exited rhythmbox before running the script. Otherwise rhythmbox will overwrite the cache. Reopen it once the script is complete.

Script will update existing stations and/or add new stations if you run it again in the future.

Country Code

You can select US radio stations by adding --country US

iheartradio --rhythmbox --country US

There are over 1000 US radio stations, this will take a while and I suggest you don't do it very often as it could cause a temp ban.

Author

Grant Hutchinson(hutchgrant)

License

Released under the MIT License

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for iheartradio, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size iheartradio-1.0.4.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page