Revert to using DASH (#71)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-04-21 12:47:57 -04:00
1 parent 32bcc1dfc0
commit 763cb64ba7
2 files changed
+8 -8

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- A crash where the metadata of a video is not validated [#57](https://github.com/iBicha/playlet/issues/57)
- A crash where the video details in home screen are null [#56](https://github.com/iBicha/playlet/issues/56)
- A crash where the video details are not returned in json [#63](https://github.com/iBicha/playlet/issues/63)
- Revert to using DASH instead of 720p by default
## [0.8.0] - 2023-03-02
### Added
@@ -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