File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 44import com .grack .nanojson .JsonObject ;
55import com .grack .nanojson .JsonParser ;
66import com .grack .nanojson .JsonParserException ;
7+
78import org .schabi .newpipe .extractor .Page ;
89import org .schabi .newpipe .extractor .StreamingService ;
910import org .schabi .newpipe .extractor .downloader .Downloader ;
1415import org .schabi .newpipe .extractor .stream .StreamInfoItem ;
1516import org .schabi .newpipe .extractor .stream .StreamInfoItemsCollector ;
1617
17- import javax .annotation .Nonnull ;
1818import java .io .IOException ;
19- import java .time .OffsetDateTime ;
2019import java .util .Comparator ;
21- import java .util .function .Function ;
20+
21+ import javax .annotation .Nonnull ;
2222
2323public class MediaCCCRecentKiosk extends KioskExtractor <StreamInfoItem > {
2424
Original file line number Diff line number Diff line change 11package org .schabi .newpipe .extractor .services .media_ccc .extractors ;
22
33import com .grack .nanojson .JsonObject ;
4+
45import org .schabi .newpipe .extractor .exceptions .ParsingException ;
56import org .schabi .newpipe .extractor .localization .DateWrapper ;
67import org .schabi .newpipe .extractor .services .media_ccc .linkHandler .MediaCCCConferenceLinkHandlerFactory ;
78import org .schabi .newpipe .extractor .stream .StreamInfoItemExtractor ;
89import org .schabi .newpipe .extractor .stream .StreamType ;
910
10- import javax .annotation .Nullable ;
1111import java .time .ZonedDateTime ;
1212import java .time .format .DateTimeFormatter ;
1313
14+ import javax .annotation .Nullable ;
15+
1416public class MediaCCCRecentKioskExtractor implements StreamInfoItemExtractor {
1517
1618 private final JsonObject event ;
@@ -46,8 +48,8 @@ public boolean isAd() {
4648
4749 @ Override
4850 public long getDuration () {
49- // duration and length have the same value
50- // see https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder
51+ // duration and length have the same value, see
52+ // https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder
5153 return event .getInt ("duration" );
5254 }
5355
You can’t perform that action at this time.
0 commit comments