Skip to content

This is a basic tool that can get data from a Youtube Music Playlist, shuffle the songs, then reorder them as a 'manual' ordering.

Notifications You must be signed in to change notification settings

FlyingFaller/YoutubeMusicShuffler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoutubeMusicShuffler

This is a basic tool that can get data from a Youtube Music Playlist, shuffle the songs, then reorder them as a 'manual' ordering.

To install:

  1. clone the repository to a location of your choosing using git clone https://github.com/FlyingFaller/YoutubeMusicShuffler
  2. In the reposity run uv sync to install the packages and python version.

Requires:

To use:

  1. Create a browser.json from the browser.json.template. See https://ytmusicapi.readthedocs.io/en/1.11.0/setup/browser.html for details.
    1. Open Network tab of inspect element and navigate to the page https://music.youtube.com/library
    2. Find the POST to https://music.youtube.com/youtubei/v1/browse?prettyPrint=false
    3. In the Request Headers right click and 'copy value' of the Authorization and Cookie into the browser.json template
  2. Set the PLAYLIST_ID in main.py using the ID at the end of the playlist URL.
  3. Run main.py with desired shuffle and plotting settings.

About

This is a basic tool that can get data from a Youtube Music Playlist, shuffle the songs, then reorder them as a 'manual' ordering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages