We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc3d63 commit f9c53f3Copy full SHA for f9c53f3
src/renderer/helpers/api/local.js
@@ -226,6 +226,14 @@ export async function getLocalVideoInfo(id) {
226
227
const info = await webInnertube.getInfo(id)
228
229
+ // temporary workaround for SABR-only responses
230
+ const mwebInfo = await webInnertube.getBasicInfo(id, 'MWEB')
231
+
232
+ if (mwebInfo.playability_status.status === 'OK' && mwebInfo.streaming_data) {
233
+ info.playability_status = mwebInfo.playability_status
234
+ info.streaming_data = mwebInfo.streaming_data
235
+ }
236
237
let hasTrailer = info.has_trailer
238
let trailerIsAgeRestricted = info.getTrailerInfo() === null
239
0 commit comments