Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.4 KB

README.md

File metadata and controls

33 lines (29 loc) · 1.4 KB

YouTube Playlist Helper

A simple command line tool for manipulating YouTube playlists. Its purpose is to provide missing playlist operations such as sorting and randomizing.

Prerequisites

Usage

  • Create a new Google Cloud Platform project
    • The name does not matter
  • Add the YouTube Data API v3
  • Configure the OAuth consent screen
    • Set Publishing status to In production
    • Set User type to External
    • These settings may not be necessary, but it does make it easier
  • Add OAuth 2.0 Client IDs credentials
    • Download the client_secret_{client_id}.json file
    • Move and rename the client secret file as {script_location}/secrets/client_secret.json
  • Run the script
  • Create a new user
    • Name is just a unique identifier for multiple stored creds in the secrets/users.json file
    • Authorize and all that
  • Cache your playlists
  • Select an action(s)
  • Update your playlist(s)
  • Hitting Enter on an empty prompt returns you to the previous prompt or exits

Resources