.
This commit is contained in:
		
							parent
							
								
									a3cf7aabee
								
							
						
					
					
						commit
						f77466831b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -40,6 +40,8 @@ async function updateNowPlaying() {
 | 
				
			||||||
  lines = lines.slice(4, lines.length - 2);
 | 
					  lines = lines.slice(4, lines.length - 2);
 | 
				
			||||||
  const line = lines[0];
 | 
					  const line = lines[0];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (!line) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const [_, _time, id, name] = line.match(/^(.{3,4} .{4})\s+(.+?) {2}(.+?)$/);
 | 
					  const [_, _time, id, name] = line.match(/^(.{3,4} .{4})\s+(.+?) {2}(.+?)$/);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const liveNow = {name: "ident", id: "aNONradio"};
 | 
					  const liveNow = {name: "ident", id: "aNONradio"};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue