dash gen bug
This commit is contained in:
1 parent
e029d24061
commit
c12436f464
3 files changed
+14
-7
No files matched your search
@@ -101,7 +101,7 @@ namespace Innertube
|
||||
|
||||
hasLiveStreamingData = FormatsHaveLiveStreamingData(adaptiveFormats) or FormatsHaveLiveStreamingData(formats)
|
||||
|
||||
adaptiveFormats = TransformFormats(adaptiveFormats, not hasLiveStreamingData)
|
||||
adaptiveFormats = TransformFormats(adaptiveFormats, not isLive and not hasLiveStreamingData)
|
||||
formats = TransformFormats(formats, false)
|
||||
|
||||
parsedResponse["type"] = "video"
|
||||
@@ -592,6 +592,7 @@ namespace Innertube
|
||||
end if
|
||||
for each fmt in formats
|
||||
url = fmt["url"]
|
||||
' TODO: source=yt_premiere_broadcast - is this considered live?
|
||||
if IsString(url) and url.InStr("yt_live_broadcast") <> -1
|
||||
return true
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user