2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-30 22:05:18 +00:00

API hardening against changes

This commit is contained in:
litetex
2022-03-17 14:53:13 +01:00
parent 5d58156cde
commit 66dc5e8bb8

View File

@@ -139,7 +139,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
}
// NewPipe#8034 - YT returns not a correct duration for "YT shorts" videos
if ("SHORTS".equals(duration)) {
if ("SHORTS".equalsIgnoreCase(duration)) {
return 0;
}