Spotify playlist deduplicator8/22/2023 Don't you hate when you open your spotify to see that you have many copies. Var playlist = document.querySelectorAll('.song-table tr.song-row') įor(var i = 0 i < playlist. Hey guys I'm coming at you with another Spotify related video. If you want it sorted, run the command Object.values(tracklistObj).forEach(a => a.sort()) before calling the JSON.stringify command.īe careful to not refresh the page before you've completed all that you want to do or else you'll have to restart from step 1. Once you've done this for all the playlists you want to save to text, you can either type JSON.stringify(tracklistObj, null, '\t') (change the '\t' to ' ' if you want minimal indentation) or tracklistObj if you just want the JavaScript object to manipulate it your own way.Repeat steps 3-5 for all playlists you want to save to text.After you've scrolled to the bottom, navigate back to the playlists page (same as in step 1.) using the menu or your browsers back button.Once on the playlist page, scroll to the bottom relatively slowly (so that each entry can be seen). ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |