Giter Club home page Giter Club logo

spotifygenerateplaylist's Introduction

Spotify Playlist Generator

Spotify Playlist Generator is a tool that allows you to automatically create and manage Spotify playlists based on your liked YouTube vidoes and custom YouTube playlists.

Features

  • Automatically adds liked YouTube vidoes to a Spotify playlists named "YouTube Liked Playlist."
  • Allows you ti save YouTube videos to custo Spotify playlists with names matching your YouTube playlists.

Instructions

  1. Install Dependencies

Before you begin, make sure to install all the required dependencies by running the following command:

pip3 install -r requirements.txt
  1. Obtain Spotify User ID and OAuth Token

To interact with Spotify API, you need to obtain your Spotify User ID and an OAuth Token. Here's how:

  • **User ID: ** Log in Spotify and go to your Account Overview. Your User ID is your Spotify username.

  • **OAuth Token: ** Visit the following URL yo get your OAuth Token: Spotify OAuth Token Generator. Click the "Get Token" button to generate your token.

  • Configure Secrets:

Create a secrets.py file in the project directory and add your Spotify User ID and OAuth Token as follows:

spotify_token = "..."
spotify_user_id = "..."
  • Enable OAuth For Youtube and download the client_secrets.json.
  1. Run the Application

Run the create_playlist.py script to start using the Spotify Playlist Generator:

python3 create_playlist.py

The script will automatically add liked YouTube videos to Spotify playlist named "YouTube Liked Playlist" and match custom YouTube playlists to Spotify playlists based on thier names.

Technologies Used

spotifygenerateplaylist's People

Contributors

erinabila avatar iprathammishra avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

iprathammishra

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.