https://github.com/oakhan3/spotify-e-toggle
Toggle your Spotify saved tracks, or any of your playlists, to be explicit or censored!
https://github.com/oakhan3/spotify-e-toggle
python python3 spotify spotify-api spotify-playlist
Last synced: 3 months ago
JSON representation
Toggle your Spotify saved tracks, or any of your playlists, to be explicit or censored!
- Host: GitHub
- URL: https://github.com/oakhan3/spotify-e-toggle
- Owner: oakhan3
- License: gpl-3.0
- Created: 2020-02-29T20:42:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T17:11:39.000Z (about 5 years ago)
- Last Synced: 2023-08-25T19:57:01.063Z (almost 2 years ago)
- Topics: python, python3, spotify, spotify-api, spotify-playlist
- Language: Python
- Homepage:
- Size: 6.73 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spotify E-Toggle
Toggle your Spotify saved tracks, or any of your playlists, to be explicit or censored!
## Instructions
1. Set the following environment variables:
```shell
$ export SPOTIFY_USERNAME="DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.spotify.com:443
DEBUG:urllib3.connectionpool:https://api.spotify.com:443 "GET /v1/me/playlists?limit=50&offset=0 HTTP/1.1" 200 None
INFO:spotify_e_toggle.spotify_client:Successfully retrieved items at offset 50, with limit 0
DEBUG:urllib3.connectionpool:https://api.spotify.com:443 "GET /v1/me/playlists?limit=50&offset=50 HTTP/1.1" 200 None
INFO:spotify_e_toggle.spotify_client:Successfully retrieved items at offset 50, with limit 50+------------------------+----------------------------+------------+-----------------+----------+
| ID | Name | Owner | Collaborative | Public |
|------------------------+----------------------------+------------+-----------------+----------|
| your-saved-tracks | Your Saved Tracks | oakhan3 | False | False |
| dfsjhsd_fake_dhfddjkjd | Soccer Fever | 731fake233 | True | False |
| 2sjdhkd_fake_ljsdhbdsk | STUMBLR | oakhan3 | False | True |
| fdskjhd_fake_skghjfjkd | Life After – Ace Hood | oakhan3 | False | True |
| fdskjhf_fake_ksjdfskjd | DaBump | oakhan3 | False | True |
| sdfjhjk_fake_shkjfdjsh | Discover Weekly Archive | oakhan3 | False | False |
| dfshjsf_fake_sfksdfhjj | Poor Kid Rich Soul | oakhan3 | False | True |
| dsfkjhs_fake_fjjdsjdfd | Summer 2015 | oakhan3 | False | True |
| dsfhfsd_fake_fshjkdfsh | Liked from Radio | oakhan3 | False | False |
| dfsjhdf_fake_jkhjdshfh | My Shazam Tracks | oakhan3 | False | True |
| dsjfhfj_fake_sfhjfkdsj | Starred | oakhan3 | False | False |
+------------------------+----------------------------+------------+-----------------+----------+What Playlist ID should be toggled:
```### Run from Source
1. Clone/download this repo.
1. pip install this package in a Python 3.6.1+ env:
```shell
$ pwd
.../spotify-e-toggle$ pip install .
# or if you want to contribute!
$ poetry shell
(spotify-e-toggle-yYRcJtfH-py3.x) $ poetry install
```1. Execute the script in the env:
```shell
$ ./bin/toggle-explicit.py
```