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 05dca9a commit 940a948Copy full SHA for 940a948
src/renderer/helpers/api/local.js
@@ -223,6 +223,14 @@ export async function getLocalVideoInfo(id) {
223
224
const info = await webInnertube.getInfo(id)
225
226
+ // temporary workaround for SABR-only responses
227
+ const mwebInfo = await webInnertube.getBasicInfo(id, 'MWEB')
228
+
229
+ if (mwebInfo.playability_status.status === 'OK' && mwebInfo.streaming_data) {
230
+ info.playability_status = mwebInfo.playability_status
231
+ info.streaming_data = mwebInfo.streaming_data
232
+ }
233
234
const hasTrailer = info.has_trailer
235
const trailerIsAgeRestricted = info.getTrailerInfo() === null
236
0 commit comments