https://github.com/ivorforce/play-present
A dumb tool for new DJs to find free tracks from their Spotify playlists
https://github.com/ivorforce/play-present
Last synced: over 1 year ago
JSON representation
A dumb tool for new DJs to find free tracks from their Spotify playlists
- Host: GitHub
- URL: https://github.com/ivorforce/play-present
- Owner: Ivorforce
- License: apache-2.0
- Created: 2017-11-06T19:57:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T13:57:56.000Z (over 8 years ago)
- Last Synced: 2025-02-09T20:18:39.129Z (over 1 year ago)
- Language: Python
- Size: 62.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Play//Present
A dumb tool for new DJs to find free releases in their Spotify playlists.
## Try
You can most easily use me by posting a playlist link to [/r/playpresent](https://www.reddit.com/r/playpresent/), or commenting it inside a comment and mentioning /u/play-present-bot.
## Install
Install dependencies:
pip3 install spotipy soundcloud cssselect lxml
pip install praw # For the Reddit Bot
Add a credentials.py file like this:
spotify_username = "some_username" # Your Spotify Username
app_id="some_app_id" # This Spotify app's ID
app_secret="some_app_secret" # This Spotify app's Secret
redirect_uri="some_redirect_uri" # This Spotify app's redirect uri
(As per the [Spotify API](https://developer.spotify.com/my-applications/#!/applications))
If you want to run the reddit bot, you also need to provide a praw.ini file.
## Run
Run
python run.py playlist_link
which will crawl your playlist's tracks and write it to a file.
To continue a previous search, include the --offset parameter:
python run.py playlist_link --offset 1000
To run the bot, run
python reddit-bot.py
## Support
While you're here, why not check me out on soundcloud: [Lukas Tenbrink on Soundcloud](http://soundcloud.com/lukastenbrink)