mlbserver 2025.11.24 → 2025.11.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -540,7 +540,7 @@ function getMasterPlaylist(streamURL, req, res, options = {}) {
|
|
|
540
540
|
let resolution = options.resolution || VALID_RESOLUTIONS[0]
|
|
541
541
|
let audio_track = options.audio_track || VALID_AUDIO_TRACKS[0]
|
|
542
542
|
// if specific audio track is requested, check if master playlist contains it
|
|
543
|
-
if ( audio_track != VALID_AUDIO_TRACKS[0] ) {
|
|
543
|
+
if ( (audio_track != VALID_AUDIO_TRACKS[0]) && (audio_track != VALID_AUDIO_TRACKS[6]) ) {
|
|
544
544
|
if ( !response.body.includes(',NAME="' + audio_track) ) {
|
|
545
545
|
session.debuglog('requested ' + audio_track + ' audio track not available')
|
|
546
546
|
// fallback check other team's radio feed
|