Skip to main content

Push music (albums, tracks, playlists) from Subsonic, Jellyfin or plain CSV files to Spotify and YouTube Music

Project description

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 only Spotify and YouTube Music 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 or YouTube Music
pushtunes push playlist --from subsonic --playlist-name=myplaylist --to spotify
pushtunes push playlist --from subsonic --playlist-name=myplaylist --to ytm

# 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

The streaming service market is in a very sad state of affairs regarding APIs. Spotify has a good one, 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. Tidal might still allow people to use the API but the Python support is incomplete and lacking the functions Pushtunes needs.

That's why realistically, YTM and Spotify are your choices.

More documentation

Head over to our Read The Docs page.

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

pushtunes-2.7.0.tar.gz (103.8 kB view details)

Uploaded Source

Built Distribution

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

pushtunes-2.7.0-py3-none-any.whl (110.2 kB view details)

Uploaded Python 3

File details

Details for the file pushtunes-2.7.0.tar.gz.

File metadata

  • Download URL: pushtunes-2.7.0.tar.gz
  • Upload date:
  • Size: 103.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for pushtunes-2.7.0.tar.gz
Algorithm Hash digest
SHA256 cc002b47a4f9a2c1a5dd45c9bfb8ba43b7e66936f17a39a20f0c061945ef9c1c
MD5 a5b7e71e90d1324277f660ddc66cbb63
BLAKE2b-256 ca3480cb844f2c427e6d3e498567b36f631047c3f703d19735fc9a701bdec122

See more details on using hashes here.

File details

Details for the file pushtunes-2.7.0-py3-none-any.whl.

File metadata

  • Download URL: pushtunes-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 110.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for pushtunes-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b5c9346ec68b4eaa66200c1fc993f15e53b05bb6dbf6f57dfa015abb2fe7183
MD5 4651fab02e51d75926b1b6df293b8fe0
BLAKE2b-256 2c56aff3479740f83ff0a342dce7d4a90feee8bd9d64413ce16bb7621d200ea4

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