|
|
@ -258,8 +258,8 @@ |
|
|
|
streamLines.push(titleLine) |
|
|
|
streamLines.push(titleLine) |
|
|
|
|
|
|
|
|
|
|
|
if (songName == "" && listeners == "" && streamURL != "") { |
|
|
|
if (songName == "" && listeners == "" && streamURL != "") { |
|
|
|
songNameLine = buildLine(width, "Loading...", " Song Title: ") |
|
|
|
songNameLine = buildLine(width, "Fetching...", " Song Title: ") |
|
|
|
listenersLine = buildLine(width, "Loading...", " Listeners: ") |
|
|
|
listenersLine = buildLine(width, "Fetching...", " Listeners: ") |
|
|
|
|
|
|
|
|
|
|
|
streamLines.push("|" + " ".repeat(width - 2) + "|") |
|
|
|
streamLines.push("|" + " ".repeat(width - 2) + "|") |
|
|
|
streamLines.push(songNameLine) |
|
|
|
streamLines.push(songNameLine) |
|
|
@ -273,7 +273,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
if (songName == "" && listeners != "") { |
|
|
|
if (songName == "" && listeners != "") { |
|
|
|
streamLines.push("|" + " ".repeat(width - 2) + "|") |
|
|
|
streamLines.push("|" + " ".repeat(width - 2) + "|") |
|
|
|
songNameLine = buildLine(width, "Loading...", " Song Title: ") |
|
|
|
songNameLine = buildLine(width, "Fetching...", " Song Title: ") |
|
|
|
streamLines.push(songNameLine) |
|
|
|
streamLines.push(songNameLine) |
|
|
|
streamLines.push(listenersLine) |
|
|
|
streamLines.push(listenersLine) |
|
|
|
} else if (listeners != "") { |
|
|
|
} else if (listeners != "") { |
|
|
|