From 0c4836c80096f434165e6621e682d27792a88ae5 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Tue, 12 Jan 2021 18:48:21 +0100 Subject: [PATCH] [media.ccc.de] Recent kiosk: Add comment clarifying "length" and "duration" fields have the same value --- .../media_ccc/extractors/MediaCCCRecentKioskExtractor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKioskExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKioskExtractor.java index 63b3cec5..b5d34e19 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKioskExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCRecentKioskExtractor.java @@ -46,6 +46,8 @@ public class MediaCCCRecentKioskExtractor implements StreamInfoItemExtractor { @Override public long getDuration() throws ParsingException { + // duration and length have the same value + // see https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder return event.getInt("duration"); }