diff options
| author | Alex Maras <dev@alexmaras.com> | 2025-02-20 23:28:47 +0800 |
|---|---|---|
| committer | Alex Maras <dev@alexmaras.com> | 2025-02-21 16:30:39 +0800 |
| commit | 49afbf2a143e17857e6daf1727078f9a6ea7f961 (patch) | |
| tree | 18b96c26f00baf25d44a1897a2c0ebb015764fdc /shard.yml | |
| parent | 164d764d553921e6ee98facda241f13c2103ec90 (diff) | |
| download | invidious-49afbf2a143e17857e6daf1727078f9a6ea7f961.tar.gz invidious-49afbf2a143e17857e6daf1727078f9a6ea7f961.tar.bz2 invidious-49afbf2a143e17857e6daf1727078f9a6ea7f961.zip | |
Fix an issue with the HLS manifest check for livestream videos
Originally, the HLS manifest check was essentially a boolean: if the HLS
manifest field was present, it was assumed to be a livestream. Some
videos include the HLS Manifest but aren't livestreams.
In the case where they are livestreams, the video contains a videoType
field with the value "Livestream". In the case that they're normal
videos, the videoType is "Video". This is exposed via the video.live_now
method.
This commit just checks that video.live_now is true before treating it
as a livestream
Diffstat (limited to 'shard.yml')
0 files changed, 0 insertions, 0 deletions
