Skip to main content

FBi Radio currently playing

Find out which track is currently playing on FBi Radio, Australia's best radio station.

Installation

Install from PyPI:

pip install fbiradio

Or clone this repository and install locally:

git clone https://github.com/cchristiansen/fbiradio/
cd fbiradio
pip install .

Usage in console

List the last N tracks by replacing N for 5 or any other positive integer. If N is 0, all tracks that have been played in the current radio show are displayed.

$ fbiplaying -n N

If no number is given, the latest track is displayed.

$ fbiplaying
01:37 pm: SOPHIE - UNISIL

Import as library

import fbiradio

# Get the last three tracks
tracks = fbiradio.currently_playing(n=3)

# Find the artist name of the first track
print(tracks[0].artist)

# Find when the second track was played
print(tracks[1].played_at)

# What was the track name of the latest track?
print(tracks[-1].track)

# Show all information on the latest three tracks
for track in tracks:
    print(track)

Disclaimer

Aside from supporting the radio station and loving the music FBi plays, I am not affiliated with the station in any way, shape or form.

Copyright

Copyright 2021, Christian Christiansen.

Code is distributed under GNU Affero Public License 3.

Listen to 94.5 FM. Peace out.

Release files for fbiradio 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fbiradio 0.0.2
File Size Uploaded
fbiradio-0.0.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fbiradio 0.0.2
File Interpreter ABI Platform
fbiradio-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / fbiradio-0.0.2.tar.gz

Download URL fbiradio-0.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9307aba6ea4989ed779e331edb746f18360b90875aa53d634ff85e0208a32a1f
BLAKE2b-256 checksum
How to use checksums
ce1bf71eb2cd75f2061113bb1b9be6847663bd0c48971da168dfcb327f39ea71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / fbiradio-0.0.2-py3-none-any.whl

Download URL fbiradio-0.0.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
564cac8c221e1a06f4fc540e79e9790ef9061e7c5b13fa334c00734d7eaaa3a9
BLAKE2b-256 checksum
How to use checksums
f236c0feb885d406302d505ac77261f31989d9452025c05ffeb8a8f3b8d07b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page