A Python utility to push music (albums) from local sources to your music streaming service library.
Find a file
Psy-Q a3ec8d6a5e Upgrade dependencies (urllib3 CVE-2025-66471) (#50)
Reviewed-on: https://codeberg.org/psy-q/pushtunes/pulls/50
Co-authored-by: Psy-Q <rca@psy-q.ch>
Co-committed-by: Psy-Q <rca@psy-q.ch>
2025-12-12 08:31:59 +01:00
docs Tidal support (#49) 2025-12-07 09:04:26 +01:00
pushtunes Tidal support (#49) 2025-12-07 09:04:26 +01:00
pushtunes.egg-info Upgrade dependencies (urllib3 CVE-2025-66471) (#50) 2025-12-12 08:31:59 +01:00
tests Tidal support (#49) 2025-12-07 09:04:26 +01:00
.cliffignore Fix whitespace for generated changelogs 2025-11-17 10:33:31 +01:00
.editorconfig Add .editorconfig 2025-11-09 13:43:36 +01:00
.gitignore Tidal support (#49) 2025-12-07 09:04:26 +01:00
.readthedocs.yaml More polished docs and Read The Docs support 2025-11-16 12:10:38 +01:00
CHANGELOG.md Upgrade dependencies (urllib3 CVE-2025-66471) (#50) 2025-12-12 08:31:59 +01:00
cliff.toml feat!: Remove legacy --filter option (#44) 2025-11-18 21:24:40 +01:00
example-profile.json feature/more-profile-options (#47) 2025-11-25 10:18:50 +01:00
example-profile.toml feature/more-profile-options (#47) 2025-11-25 10:18:50 +01:00
example-profile.yaml feature/more-profile-options (#47) 2025-11-25 10:18:50 +01:00
LICENSE Initial commit 2025-11-08 13:08:44 +01:00
mkdocs.yml Add profiles to RTD docs 2025-11-24 21:26:05 +01:00
pyproject.toml Upgrade dependencies (urllib3 CVE-2025-66471) (#50) 2025-12-12 08:31:59 +01:00
pyrightconfig.json Initial commit 2025-11-08 13:08:44 +01:00
README.md Tidal support (#49) 2025-12-07 09:04:26 +01:00
setup_tidal_auth.py Tidal support (#49) 2025-12-07 09:04:26 +01:00
uv.lock Upgrade dependencies (urllib3 CVE-2025-66471) (#50) 2025-12-12 08:31:59 +01:00

Pushtunes

Pushtunes is a small tool to push your music from local sources (Subsonic-compatible server/Navidrome, Jellyfin, a CSV file, etc.) to music streaming services. It can also back up your music libraries to CSV files and restore them later. Currently Spotify, YouTube Music, and Tidal are supported. See "Music streaming services" below for more.

Documentation is also available in an easy-to-browse style on Read the Docs, if you prefer.

Installation

With any pip-like environment (pip, uv, etc.) it should be as easy as:

pip install pushtunes

See Installation for more examples or how to install from source instead.

Usage

Set your music service and source credentials (see Getting Started and, for example:

# Push albums from Subsonic to Spotify
pushtunes push albums --from subsonic --to spotify

# Push individual tracks (starred/favorites) from Subsonic to Spotify
pushtunes push tracks --from subsonic --to spotify

# Push playlists from Subsonic to Spotify, YouTube Music, or Tidal
pushtunes push playlist --from subsonic --playlist-name=myplaylist --to spotify
pushtunes push playlist --from subsonic --playlist-name=myplaylist --to ytm
pushtunes push playlist --from subsonic --playlist-name=myplaylist --to tidal

# Push from CSV file
pushtunes push tracks --from csv --csv-file=tracks.csv --to spotify

See pushtunes --help, pushtunes push albums --help, pushtunes push tracks --help, or pushtunes push playlist --help for more options.

There are many advanced features such as:

Music sources

  • Subsonic (including Navidrome, Airsonic, etc.)
  • Jellyfin
  • CSV files

Music streaming services

  • Spotify
  • YouTube Music
  • Tidal

The streaming service market is in a very sad state of affairs regarding APIs. Spotify and Tidal have good ones, YouTube Music is almost unusable and working with it is only possible thanks to the people who maintain the unofficial ytmusicapi library. Deezer and Qobuz don't allow anyone to use their API anymore, requests for API keys go unanswered, documentation is being deleted and no up to date libraries exist.

Your main choices are Spotify, YouTube Music, and Tidal.

More documentation

Head over to our Read The Docs page.