mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added skip for rate-limit reached on soundcloud
This commit is contained in:
@@ -347,6 +347,12 @@ var Player = {
|
||||
}).catch(function(e){
|
||||
});
|
||||
}
|
||||
}).catch(function(error) {
|
||||
curr_playing = id;
|
||||
emit("skip", {error: 5, id: id, channel: chan.toLowerCase()});
|
||||
setTimeout(function() {
|
||||
toast("Seems the SoundCloud-API rate-limit has been reached..", "red lighten");
|
||||
}, 1000);
|
||||
});
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user