Skip to content

Commit 66dc5e8

Browse files
committed
API hardening against changes
1 parent 5d58156 commit 66dc5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public long getDuration() throws ParsingException {
139139
}
140140

141141
// NewPipe#8034 - YT returns not a correct duration for "YT shorts" videos
142-
if ("SHORTS".equals(duration)) {
142+
if ("SHORTS".equalsIgnoreCase(duration)) {
143143
return 0;
144144
}
145145

0 commit comments

Comments
 (0)