Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Cause P^3 is not working cause plug obfuscated require()-s yet again
- API.on(API.DJ_ADVANCE,function(a){
- var h=API.getHistory(),
- n=API.getNextMedia();
- for(i=h.length;--i;){
- if(h[i].media.id===a.media.id){
- API.chatLog("Current song in history ["+(i+1)+"/50]",1)
- }
- if(h[i].media.id===n.id){
- API.chatLog("Next song in history ["+(i+1)+"/50], playing in "+(1+API.getWaitListPosition()),1);
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement