3838import org .schabi .newpipe .extractor .services .youtube .extractors .YoutubeTrendingExtractor ;
3939import org .schabi .newpipe .extractor .services .youtube .extractors .kiosk .YoutubeLiveExtractor ;
4040import org .schabi .newpipe .extractor .services .youtube .extractors .kiosk .YoutubeTrendingGamingVideosExtractor ;
41+ import org .schabi .newpipe .extractor .services .youtube .extractors .kiosk .YoutubeTrendingMoviesAndShowsTrailersExtractor ;
4142import org .schabi .newpipe .extractor .services .youtube .extractors .kiosk .YoutubeTrendingPodcastsEpisodesExtractor ;
4243import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeChannelLinkHandlerFactory ;
4344import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeChannelTabLinkHandlerFactory ;
4849import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeStreamLinkHandlerFactory ;
4950import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeTrendingGamingVideosLinkHandlerFactory ;
5051import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeTrendingLinkHandlerFactory ;
52+ import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeTrendingMoviesAndShowsTrailersLinkHandlerFactory ;
5153import org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeTrendingPodcastsEpisodesLinkHandlerFactory ;
5254import org .schabi .newpipe .extractor .stream .StreamExtractor ;
5355import org .schabi .newpipe .extractor .subscription .SubscriptionExtractor ;
@@ -167,6 +169,8 @@ public KioskList getKioskList() throws ExtractionException {
167169 YoutubeTrendingPodcastsEpisodesLinkHandlerFactory .INSTANCE ;
168170 final ListLinkHandlerFactory trendingGamingVideosLHF =
169171 YoutubeTrendingGamingVideosLinkHandlerFactory .INSTANCE ;
172+ final ListLinkHandlerFactory trendingMoviesAndShowsLHF =
173+ YoutubeTrendingMoviesAndShowsTrailersLinkHandlerFactory .INSTANCE ;
170174
171175 try {
172176 list .addKioskEntry (
@@ -193,6 +197,15 @@ public KioskList getKioskList() throws ExtractionException {
193197 trendingGamingVideosLHF ,
194198 YoutubeTrendingGamingVideosLinkHandlerFactory .KIOSK_ID
195199 );
200+ list .addKioskEntry (
201+ (streamingService , url , id ) ->
202+ new YoutubeTrendingMoviesAndShowsTrailersExtractor (
203+ YoutubeService .this ,
204+ trendingMoviesAndShowsLHF .fromUrl (url ),
205+ id ),
206+ trendingMoviesAndShowsLHF ,
207+ YoutubeTrendingMoviesAndShowsTrailersLinkHandlerFactory .KIOSK_ID
208+ );
196209 list .addKioskEntry (
197210 (streamingService , url , id ) -> new YoutubeTrendingExtractor (
198211 YoutubeService .this ,
0 commit comments