anonradio: fix empty slots
This commit is contained in:
		
							parent
							
								
									f50788420a
								
							
						
					
					
						commit
						a3cf7aabee
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -55,6 +55,8 @@ async function updateNowPlaying() {
 | 
			
		|||
  if (playing.includes("listeners with a daily peak of")) {
 | 
			
		||||
    title = `${liveNow.name} (\`${liveNow.id}\`)`;
 | 
			
		||||
    subtitle = playing;
 | 
			
		||||
  } else if (playing.startsWith("Coming up")) {
 | 
			
		||||
    title = playing;
 | 
			
		||||
  } else {
 | 
			
		||||
    const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
 | 
			
		||||
      /\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+)/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue