YTPO - YouTube Playlist Organizer
YouTube and YouTube music's playlist organization capabilities are severely lacking. Therefore, YTPO is a nifty cli app that allows you to organize your playlist via a host of methods.
pip install ytpo
On the first run of any command, YTPO will need to get accesss to your YouTube account. The authorization page will be opened automatically in your default browser. Log in with the Google account you want to make changes to the playlist in.
It's a CLI.
ytpo <cmd>
For the list of commands and what they do -
ytpo -h
The following are the different commands available currently
ytpo folder
This mode retrieves all of your playlists, creates a folder for each playlist and fills each folder with filenames for each item in the playlist. Once the directory tree is generated, you can do the following -
The app will then remotely update your playlists to match the directory tree. The orders of songs within a playlist is preserved and new songs are added to the bottom of the playlist.
After you have made your changes, the app will show you the summary of the edits it will be making before it makes them, so can check if errors if any.
ytpo list
This mode retrieves all of your playlists, creates a text file for each playlist and fills each file with playlist items according to their position in the playlist. Once the files have been generated, you can -
The app will then remotely update your playlists and order to match the files.
After you have made your changes, the app will show you the summary of the edits it will be making before it makes them, so can check if errors if any.
ytpo trim
Removes duplicate items from the specified playlists
ytpo trim
Shuffles the specified playlists