Display information about the songs that recently played on Radio Nova
Project description
nova-playlist
Radio Nova plays amazing music at night.
There could be Fela Kuti, then hip-hop from the 1990s, then Motown, then Tuareg music, then some minimal electro, then Hungarian folk songs, then David Bowie, then Amazonian cumbia, then a French song that was released last month, then Sufi devotional music from Punjab, then Nina Simone, then a tune from the north-east of Brazil. It's wild.
And if you, like me, live a few time zones west of Paris, you get to conveniently enjoy it all in the evening instead of having to be up in the middle of the night!
Often, I want to know which song is currently playing, so that I can find out more about it and the artist. There is a page where one can find what music has aired on the Radio in the past, but it's buggy and a bit annoying to use. And even if the page was great to use, it wouldn't be as great as using the command line for it! Ergo this little script.
Installation
pipx install nova-playlist
Or use pip
.
Usage
$ nova
20:36 Orchestra Baobab - Liiti Liiti
20:30 Chico Buarque - Construção
20:27 Abner Jay - My Middle Name Is The Blues
20:23 Brigitte Fontaine - Le Goudron
...
By default, the times are in the "US/Eastern" time zone. If you want them in
another time zone, you can pass the -t
/--timezone
argument:
$ nova -t Europe/Berlin
03:12 Los Camperos De Valles - El Gallo
03:09 Karen Dalton - Something On Your Mind
03:04 Têtes Raides & Yann Tiersen - Ginette
02:59 The Toraia Orchestra Of Algiers - Nar Houbi Techaal
...
Caveat
This can be somewhat brittle. Sometimes, the data stops being updated on the site. Or the data gets updated, but the timestamps are 11 minutes off from what's playing in the stream. And of course, if they ever change their HTML structure in any way, this could also start failing miserably. But so far, so good!
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
Built Distribution
Hashes for nova_playlist-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423f0b76db5804f64d584d49b9133806e10af2c867f5adfb43c36f617691939d |
|
MD5 | bc4d2cf16dd162e7ea53ef1773efeb30 |
|
BLAKE2b-256 | 7ee7b94b607d2075531500b835b7764fb90bdcdb019afcce10edaf72c3af20b4 |