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


Download files

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

Source Distribution

iheartradio-1.0.4.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file iheartradio-1.0.4.tar.gz.

File metadata

  • Download URL: iheartradio-1.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for iheartradio-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ac767e52eeea3e573d2cb0d0b7172e65306371c735081240ab82eaf690c568f1
MD5 5e54711e1273d1385c3f53d9dcbce369
BLAKE2b-256 5371a403885e3b08bcc9974a3471da0e74c13942bcda8f8ff6ff81697fd5c338

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page