Skip to content

This app will create a publishing ordered playlist from a list of podcast shows on Spotify

Notifications You must be signed in to change notification settings

kyletower/Playlist-of-Podcasts-in-Publishing-Order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlist-of-Podcasts-in-Publishing-Order

This app will create a publishing ordered playlist from a list of podcast shows on Spotify.

NOTE: If you attempt to create a playlist with a name that already exists using the Spotify API, the API will still create a new playlist, even if a playlist with the same name already exists. It does not check for duplicate names.

You may update the code to handle that case how you wish (i.e. update the playlist if it already exists or delete and recreate the playlist).

Setup

  1. Clone the repo to your local device.

  2. Open the repo in your preferred IDE or editor.

  3. Open your command line and navigate to the directory where you cloned this project.

  4. Create a Virtual Environment using venv. You may replace spotify with your preffered name for the environment.

    python3 -m venv spotify
  5. Activate on Linux/macOS

    source spotify/bin/activate
  6. Install dependencies. via the requirements.txt file

    pip install -r requirements.txt

    or manually

    pip install --upgrade pip
    pip install spotipy
    pip install python-dotenv
  7. Create (or use) your Spotify Developer Account

  8. Sign up at the Spotify Developer Dashboard and create an application to get your Client ID and Client Secret.

  9. Rename .env.example to .env and update it with your Client ID, Client Secret, and Redirect URI.

    SPOTIPY_CLIENT_ID=your_client_id
    SPOTIPY_CLIENT_SECRET=your_client_secret
    SPOTIPY_REDIRECT_URI=http://localhost:8888/callback
  10. Run the app in the command line

    python app.py
  11. Open the Spotify Web App, Mobile App, or Desktop App and view the new playlist.

About

This app will create a publishing ordered playlist from a list of podcast shows on Spotify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages