Skip to main content

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 program.

Installation

The package is available on the Python Package Index (PyPI) as nova-playlist. It exposes a nova executable.

Python 3.13 or above is required, along with a IANA timezone database on your system. Unix-y systems should alreay have it, otherwise you can try installing tzdata from PyPI.

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 "Canada/Atlantic" 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. Finally, if Radio Nova changes their HTML structure in any way, this could 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

nova_playlist-0.5.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nova_playlist-0.5.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file nova_playlist-0.5.0.tar.gz.

File metadata

  • Download URL: nova_playlist-0.5.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nova_playlist-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7af2e178f063932bf33c36abe0c64f2f1af721a5ff3f3e9a0e8829932126764a
MD5 e78629b3905cc9e4e88f83339e6863a5
BLAKE2b-256 8776aea7b6f3da75b82fed6887602ca1bcaebdd0c74cd0fe80cff63aff3c2edc

See more details on using hashes here.

File details

Details for the file nova_playlist-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: nova_playlist-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nova_playlist-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 902ddf70f23d070b8e928fe64fe099404d3d1a88c3b903a1899ee1d7ac1a396b
MD5 75662f01c9a2e24318afb977ddc8d7a5
BLAKE2b-256 1142d79bbac6c79b3e51f2a99bd6b05d7b2ed19cf5c99afa5c70add8cac5f86a

See more details on using hashes here.

Supported by

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