Skip to main content

Convert a CSV or Spotify playlist URL to a MusicBee smart playlist

Project description

SpotToBee

SpotToBee is a command-line tool for converting Spotify and other CSV playlists to an .xautopf format compatible with MusicBee. Fetching data from Spotify requires Spotify API client credentials from https://developer.spotify.com/dashboard. The tool can be used without credentials alongside https://exportify.net/. The tool can also be used to export a basic .csv of a Spotify playlist.

Installation

pip install SpotToBee

Running SpotToBee will automatically create a config file in its run directory. This can be manually reset by passing the --reconfigure argument.

Usage/Examples

SpotToBee path/to/playlist.csv

SpotToBee https://open.spotify.com/playlist/37i9dQZF1DX9wa6XirBPv8

SpotToBee path/to/playlist.csv --config path/to/config.ini

SpotToBee --reconfigure

Configuration Options

outputdirectory -  location of output directory (= /path/to/config.ini)

field - set your release type field, (= any)

includecompilation - include compilations (= True/False)

includelive - include live albums (= True/False)

includebroadcast - include live albums (= True/False)

includesingle - include singles (= True/False)

includesoundtrack - include soundtracks (= True/False)

includedemo - include demos (= True/False)

includeep - include EPs (= True/False)

License

MIT License

Copyright (c) 2024 Brendan Stupik

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

SpotToBee-1.0.5.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

SpotToBee-1.0.5-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file SpotToBee-1.0.5.tar.gz.

File metadata

  • Download URL: SpotToBee-1.0.5.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for SpotToBee-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5c1bd06f47a7c6a3195cb5ff5edcdd5c6fe670b3fbfb88c73e7290821fa34da7
MD5 7db1e7f541c9c7d7afbc5cb344bf7405
BLAKE2b-256 fafd29767f34514535970826865b9c6d7bff71cfdb2a5a8c185b10aabd3f9848

See more details on using hashes here.

File details

Details for the file SpotToBee-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: SpotToBee-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for SpotToBee-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c1216cfba33573505b9b8ae6c39a5bbe4a01d422d8ed86424ef712b8590e6616
MD5 e914d55e25cca122e79664a9b75125ae
BLAKE2b-256 3bcd645560ebe878cc0292f5fe9f2ef53096f8cb83250227422ba72c2bdc5c7b

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