soundcloud shuffle likes

Adds a button to the "Likes" screen that loads all the tracks and shuffles them

当前为 2019-12-01 提交的版本,查看 最新版本

作者
bhackel
评分
0 0 0
版本
1.1
创建于
2019-11-29
更新于
2019-12-01
大小
6.2 KB
许可证
暂无
适用于

SoundCloud Shuffle Likes

Check out my other script that disable autoplay, or search for the many other ones.
https://greasyfork.org/en/scripts/388427-soundcloud-disable-autoplay-station

Current Issues/Improvements:
-if the user switches browser tabs, it inconsistently continues loading in the background, although this may be my broken browser
-its annoying that music in other tabs needs to pause
-add a usage guide
-lots of reused code, and variable names are pythonic rather than javascript-ic
-better way to re-add the button than running a delayed loop? idk javascript..

Fixed in 1.1
-when switching pages, the button disappears because the script is not run again
-problems when playing music while the script is scrolling the queue
-if music is playing when the script finishes loading all tracks, it pauses the playing music
-the way the queue resets is kinda sus
-figure out how to properly reset intervals
-what if the user only has 1 or 0 tracks in their likes?
-it doesn't work with my autoplay disable script because the check relies on the autoplay station not being loaded
-might be able to drop the interval from 750ms to 500ms
-add a description