Skip to main content

mopidy-orfradio

Latest PyPI version CI build status Test coverage

Mopidy extension to access the Austrian ORF radio stations. It provides access to the live streams and the 7 day archive.

Note that timestamps from the API are somewhat inaccurate (especially on non-music segments). This can cause a slight glitch between tracks, or in very few extreme cases the beginning getting cut off. The implementation avoids cutting off the end of tracks, with the trade off of sometimes appending a few seconds from the next to the previous.

Installation

Install by running:

python3 -m pip install mopidy-orfradio

See https://mopidy.com/ext/orfradio/ for alternative installation methods.

Configuration

Before starting Mopidy, you must add configuration for mopidy-orfradio to your Mopidy configuration file:

[orfradio]

# Stations to display
#
# Default:
stations =
    oe1
    oe3
    fm4
    campus
    bgl
    ktn
    noe
    ooe
    sbg
    stm
    tir
    vbg
    slo

# Remove from list to automatically skip tracks of the type.
#
# Available types: [M]usik, [B]eitrag, [BJ]ournal, [N]achrichten,
# [J]ingle, [W]erbung, [S]onstiges
#
# Default:
archive_types =
    M
    B
    BJ
    N

# Live stream is available as 128 or 192 kbit/s. The archive always plays
# at 192 kbit/s.
#
# Default:
livestream_bitrate = 192

Project resources

Development

Set up development environment

Clone the repo using, e.g. using gh:

gh repo clone mopidy/mopidy-orfradio

Enter the directory, and install dependencies using uv:

cd mopidy-orfradio/
uv sync

Running tests

To run all tests and linters in isolated environments, use tox:

tox

To only run tests, use pytest:

pytest

To format the code, use ruff:

ruff format .

To check for lints with ruff, run:

ruff check .

To check for type errors, use pyright:

pyright .

Making a release

To make a release to PyPI, go to the project's GitHub releases page and click the "Draft a new release" button.

In the "choose a tag" dropdown, select the tag you want to release or create a new tag, e.g. v0.1.0. Add a title, e.g. v0.1.0, and a description of the changes.

Decide if the release is a pre-release (alpha, beta, or release candidate) or should be marked as the latest release, and click "Publish release".

Once the release is created, the release.yml GitHub Action will automatically build and publish the release to PyPI.

Credits

Metadata

Release files for mopidy-orfradio 3.0.0

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

Source distribution (sdist)

Source distribution for mopidy-orfradio 3.0.0
File Size Uploaded
mopidy_orfradio-3.0.0.tar.gz 40.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mopidy-orfradio 3.0.0
File Interpreter ABI Platform
mopidy_orfradio-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.2 kB

Release files / mopidy_orfradio-3.0.0.tar.gz

Download URL mopidy_orfradio-3.0.0.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0bed6b5d226cf268bbd0e69eea430fd4dacee87afe4d1239791cab923bde2958
BLAKE2b-256 checksum
How to use checksums
5a4527a944f7681bb7283700ab4d623f1d4894f6b593cb25426f859ba668fb42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.

Transparency log

Release files / mopidy_orfradio-3.0.0-py3-none-any.whl

Download URL mopidy_orfradio-3.0.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
782451f8e10e58138e3dd141a26cf898fcd020a2c34dad9746fbbc43c2b1a35c
BLAKE2b-256 checksum
How to use checksums
57f84a94492c42b185e38ce55b6113ef45267d396301033ee406dff1be820ae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

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