This script will track differences in YouTube Music playlists over time. The first time this script is run, the list of tracks in the playlist will be stored as the baseline for the next comparison. The second time this script is run, the list of tracks in the playlist currently will be compared to the baseline. This script will then display the list of differences (tracks that only appear in the baseline and tracks that only appear in the current playlist).
- Use
git clone
to clone the GitHub repository - In the root directory of the module, run:
npm install
Note: I do not plan on making this end-user friendly with a GUI.
- Install Node.js
- Manual install: http://www.nodejs.org
- Chocolatey (for Windows):
choco install nodejs.install
- In the root directory of the module, run:
npm install
- Run the script
node build/index.js -c <COOKIE-STRING> -i <PLAYLIST>
-c / --cookie
Required. Specifies the COOKIE string request header from a valid authenticated YouTube Music request.
-i / --input
Optional. If no input playlists are specified, then all the playlists on the account will be considered. Otherwise, this will be the names of the playlists to perform the difference script with. Multiple playlists require multiple options defined: -i "Playlist 1" -i "Playlist 2"
Thanks to the youtube-music-ts-api node module for making this script possible.