Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

hansott/spotify-backupper

Repository files navigation

Spotify Backupper

Latest Version on Packagist Software License Total Downloads

If you like this package, feel free to buy me a coffee ☕️.

Install

Via Composer

$ composer require hansott/spotify-backupper

Usage

$ spotify-backupper --help

--format <argument>
     The format for encoding your Spotify library. (json or xml)


--help
     Show the help page for this command.


--storage <argument>
     The backup storage. (local or dropbox)


--with-collaborative/--with-collab
     Whether to include collaborative playlists.

Create a local backup

$ cd my-backup-dir
$ SPOTIFY_ACCESS_TOKEN=yourToken path/to/spotify-backupper

If you don't know how to get an access token, just run $ spotify-backupper without SPOTIFY_ACCESS_TOKEN to see instructions.

Create a backup on Dropbox

$ SPOTIFY_ACCESS_TOKEN=yourToken DROPBOX_ACCESS_TOKEN=yourToken path/to/spotify-backupper --storage dropbox

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email hans at iott consulting instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.