Revert to using DASH (#71)
This commit is contained in:
1 parent
32bcc1dfc0
commit
763cb64ba7
2 files changed
+8
-8
No files matched your search
@@ -117,14 +117,6 @@ function OnVideoDetailsTaskResults(output as object) as void
|
||||
end if
|
||||
playletStreamUrls.push(hlsUrlLocal)
|
||||
else
|
||||
if metadata.formatStreams.Count() > 0
|
||||
stream = metadata.formatStreams[metadata.formatStreams.Count() - 1]
|
||||
itag = stream.itag
|
||||
|
||||
playletStreamUrls.push(Invidious.GetVideoUrl(videoId, itag, false))
|
||||
playletStreamUrls.push(Invidious.GetVideoUrl(videoId, itag, true))
|
||||
end if
|
||||
|
||||
if metadata.dashUrl <> invalid
|
||||
|
||||
#if DASH_THUMBNAILS
|
||||
@@ -143,6 +135,13 @@ function OnVideoDetailsTaskResults(output as object) as void
|
||||
playletStreamUrls.push(dashUrlLocal)
|
||||
end if
|
||||
|
||||
if metadata.formatStreams.Count() > 0
|
||||
stream = metadata.formatStreams[metadata.formatStreams.Count() - 1]
|
||||
itag = stream.itag
|
||||
|
||||
playletStreamUrls.push(Invidious.GetVideoUrl(videoId, itag, false))
|
||||
playletStreamUrls.push(Invidious.GetVideoUrl(videoId, itag, true))
|
||||
end if
|
||||
end if
|
||||
|
||||
metadata.playletStreamUrls = playletStreamUrls
|
||||
|
||||
Reference in new issue
Block a user