File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeStreamLinkHandlerFactory ;
3636import org .schabi .newpipe .extractor .stream .StreamInfoItemExtractor ;
3737import org .schabi .newpipe .extractor .stream .StreamType ;
38- import org .schabi .newpipe .extractor .stream .StreamInfoItem . ContentAvailability ;
38+ import org .schabi .newpipe .extractor .stream .ContentAvailability ;
3939import org .schabi .newpipe .extractor .utils .JsonUtils ;
4040import org .schabi .newpipe .extractor .utils .Parser ;
4141import org .schabi .newpipe .extractor .utils .Utils ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Created by FineFindus on 10.07.25.
3+ *
4+ * Copyright (C) 2025 FineFindus <FineFindus@proton.me>
5+ * ContentAvailability.java is part of NewPipe Extractor.
6+ *
7+ * NewPipe Extractor is free software: you can redistribute it and/or modify
8+ * it under the terms of the GNU General Public License as published by
9+ * the Free Software Foundation, either version 3 of the License, or
10+ * (at your option) any later version.
11+ *
12+ * NewPipe Extractor is distributed in the hope that it will be useful,
13+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+ * GNU General Public License for more details.
16+ *
17+ * You should have received a copy of the GNU General Public License
18+ * along with NewPipe Extractor. If not, see <https://www.gnu.org/licenses/>.
19+ */
20+
21+
22+ /**
23+ * Availability of the stream.
24+ *
25+ * <p>
26+ * A stream may be available to all, restricted to a certain user group
27+ * or time.
28+ * </p>
29+ */
30+ public enum ContentAvailability {
31+ /**
32+ * The stream is available to all users.
33+ */
34+ AVAILABLE ,
35+ /**
36+ * The stream is available to users with a membership.
37+ */
38+ MEMBERSHIP ,
39+ /**
40+ * The stream is behind a paywall.
41+ */
42+ PAID ,
43+ /**
44+ * The stream is only available in the future.
45+ */
46+ UPCOMING ,
47+ }
Original file line number Diff line number Diff line change 3333import org .schabi .newpipe .extractor .exceptions .ParsingException ;
3434import org .schabi .newpipe .extractor .linkhandler .LinkHandler ;
3535import org .schabi .newpipe .extractor .localization .DateWrapper ;
36- import org .schabi .newpipe .extractor .stream .StreamInfoItem . ContentAvailability ;
36+ import org .schabi .newpipe .extractor .stream .ContentAvailability ;
3737import org .schabi .newpipe .extractor .utils .Parser ;
3838
3939import javax .annotation .Nonnull ;
Original file line number Diff line number Diff line change 2626import org .schabi .newpipe .extractor .MetaInfo ;
2727import org .schabi .newpipe .extractor .NewPipe ;
2828import org .schabi .newpipe .extractor .StreamingService ;
29- import org .schabi .newpipe .extractor .stream .StreamInfoItem . ContentAvailability ;
29+ import org .schabi .newpipe .extractor .stream .ContentAvailability ;
3030import org .schabi .newpipe .extractor .exceptions .ContentNotAvailableException ;
3131import org .schabi .newpipe .extractor .exceptions .ContentNotSupportedException ;
3232import org .schabi .newpipe .extractor .exceptions .ExtractionException ;
Original file line number Diff line number Diff line change @@ -177,29 +177,4 @@ public String toString() {
177177 + ", uploaderVerified='" + isUploaderVerified () + '\''
178178 + '}' ;
179179 }
180-
181- /**
182- * Availablility of the stream.
183- *
184- * A stream may be available to all, restricted to a certain user group
185- * or time.
186- */
187- public enum ContentAvailability {
188- /**
189- * The stream is available to all users.
190- */
191- AVAILABLE ,
192- /**
193- * The stream is available to users whith a membership.
194- */
195- MEMBERSHIP ,
196- /**
197- * The stream is behind a paywall.
198- */
199- PAID ,
200- /**
201- * The stream is only available in the future.
202- */
203- UPCOMING ,
204- }
205180}
Original file line number Diff line number Diff line change 2424import org .schabi .newpipe .extractor .InfoItemExtractor ;
2525import org .schabi .newpipe .extractor .exceptions .ParsingException ;
2626import org .schabi .newpipe .extractor .localization .DateWrapper ;
27- import org .schabi .newpipe .extractor .stream .StreamInfoItem . ContentAvailability ;
27+ import org .schabi .newpipe .extractor .stream .ContentAvailability ;
2828
2929import javax .annotation .Nonnull ;
3030import javax .annotation .Nullable ;
Original file line number Diff line number Diff line change 2727import org .schabi .newpipe .extractor .services .youtube .extractors .YoutubePlaylistExtractor ;
2828import org .schabi .newpipe .extractor .stream .Description ;
2929import org .schabi .newpipe .extractor .stream .StreamInfoItem ;
30- import org .schabi .newpipe .extractor .stream .StreamInfoItem . ContentAvailability ;
30+ import org .schabi .newpipe .extractor .stream .ContentAvailability ;
3131import org .schabi .newpipe .extractor .utils .Utils ;
3232
3333import java .io .IOException ;
You can’t perform that action at this time.
0 commit comments