Use format streams by default instead of DASH (#53)
This commit is contained in:
1 parent
52b4feb130
commit
aaea507fde
2 files changed
+9
-7
No files matched your search
@@ -117,6 +117,14 @@ 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
|
||||
@@ -135,13 +143,6 @@ 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