API hardening against changes

This commit is contained in:
litetex 2022-03-17 14:53:13 +01:00
parent 5d58156cde
commit 66dc5e8bb8
1 changed files with 1 additions and 1 deletions

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;
}