Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qobuz to Strawberry Playlist

A small Python tool that fetches a Qobuz playlist and saves it as an XSPF file that Strawberry Music Player can import.

The tool reuses the Qobuz login already stored by Strawberry. It supports both regular Strawberry installations and Flatpak installations.

Usage

Requires Python 3.10 or newer and an active Qobuz login in Strawberry.

python main.py <playlist_id>

This creates playlist.xspf in the current directory. The command can be run directly from the project directory without installation. A Qobuz URL can also be used:

python main.py https://open.qobuz.com/playlist/<playlist_id>

Choose a different filename with --output:

python main.py <playlist_id> --output "My playlist.xspf"

Then import the XSPF file into Strawberry.

Install as a command

python -m pip install -e .
qobuz-to-strawberry <playlist_id>

If the Strawberry configuration is not in a default location, specify it explicitly:

qobuz-to-strawberry <playlist_id> --config ~/.config/strawberry/strawberry.conf

QOBUZ_APP_ID and QOBUZ_USER_AUTH_TOKEN can also be provided as environment variables.

Tests

python -m unittest discover -s tests -v

About

Export Qobuz playlists to XSPF files for Strawberry Music Player.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages