Fixed player not starting in private mode when empty playlist, and added import/export to mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-26 11:38:40 +01:00
parent eeb99f2c7b
commit 31d661acd1
4 changed files with 48 additions and 47 deletions

View File

@@ -14,7 +14,7 @@ var Player = {
}catch(e){
state = null;
}
if((!offline && (state || from_frontpage)) || (offline && (!state || from_frontpage))|| (!offline && (!state || from_frontpage))){
if((!offline && (state != null || from_frontpage)) || (offline && (!(state != null) || from_frontpage))|| (!offline && (!(state != null) || from_frontpage)) || (offline && state == -1)){
from_frontpage = false;
Player.loaded = false;
Helper.log("--------youtube_listener--------");