forked from rc/aircox
		
	various fixes
This commit is contained in:
		@ -348,7 +348,7 @@ Player.prototype = {
 | 
			
		||||
        var self = this;
 | 
			
		||||
        window.setTimeout(function() {
 | 
			
		||||
            self.update_on_air();
 | 
			
		||||
        }, 60*2000);
 | 
			
		||||
        }, 60*5000);
 | 
			
		||||
 | 
			
		||||
        if(!this.playlist.on_air)
 | 
			
		||||
            return;
 | 
			
		||||
@ -360,6 +360,9 @@ Player.prototype = {
 | 
			
		||||
                    req.status != 0))
 | 
			
		||||
                return;
 | 
			
		||||
 | 
			
		||||
            if(!req.responseText.length)
 | 
			
		||||
                return;
 | 
			
		||||
 | 
			
		||||
            var data = JSON.parse(req.responseText)
 | 
			
		||||
            if(data.type == 'track')
 | 
			
		||||
                data = {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user