[CR] Disable Non-Play streams
Disables the non-play streams since they don't work ATM. If the situation changes, I'll either re-enable them, or remove them in a future update
This commit is contained in:
parent
e88352af3f
commit
9a94c33c8b
1 changed files with 3 additions and 2 deletions
|
|
@ -1350,7 +1350,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
}
|
||||
|
||||
let pbData = { total: 0, data: {}, meta: {} } as PlaybackData;
|
||||
let pbData = { total: 0, data: [{}], meta: {} } as PlaybackData;
|
||||
if (this.api == 'android') {
|
||||
const videoStreamsReq = [
|
||||
api.beta_cms,
|
||||
|
|
@ -1392,7 +1392,7 @@ export default class Crunchy implements ServiceClass {
|
|||
const pbDataAndroid = await playbackReq.res.json() as CrunchyAndroidStreams;
|
||||
pbData = {
|
||||
total: 0,
|
||||
data: [pbDataAndroid.streams],
|
||||
data: [{}/*pbDataAndroid.streams*/],
|
||||
meta: {
|
||||
audio_locale: pbDataAndroid.audio_locale,
|
||||
bifs: pbDataAndroid.bifs,
|
||||
|
|
@ -1414,6 +1414,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
}
|
||||
pbData = await playbackReq.res.json() as PlaybackData;
|
||||
pbData.data = [{}];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue