Fix for when current song playing is the same as the top one in the playlist

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-11 11:11:23 +01:00
parent c251ee41f3
commit 93b42b65d6
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -36,6 +36,10 @@ var Youtube = {
seekTo = time - conf["startTime"];
song_title = obj[0][0]["title"];
if(full_playlist[0].id == video_id){
List.song_change(full_playlist[0].added);
}
try{
Suggestions.fetchYoutubeSuggests(video_id);
}catch(e){}