File tree Expand file tree Collapse file tree
app/src/main/java/com/github/libretube/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com.github.libretube.api
22
33import android.util.Base64
4- import com.github.libretube.api.poToken.PoTokenGenerator
54import com.github.libretube.api.obj.Channel
65import com.github.libretube.api.obj.ChannelTab
76import com.github.libretube.api.obj.ChannelTabResponse
@@ -48,7 +47,6 @@ import org.schabi.newpipe.extractor.localization.ContentCountry
4847import org.schabi.newpipe.extractor.playlist.PlaylistInfo
4948import org.schabi.newpipe.extractor.playlist.PlaylistInfoItem
5049import org.schabi.newpipe.extractor.search.SearchInfo
51- import org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor
5250import org.schabi.newpipe.extractor.stream.AudioStream
5351import org.schabi.newpipe.extractor.stream.StreamInfo
5452import org.schabi.newpipe.extractor.stream.StreamInfoItem
@@ -241,7 +239,8 @@ fun String.toListLinkHandler() = with(JsonHelper.json.decodeFromString<TabData>(
241239class NewPipeMediaServiceRepository : MediaServiceRepository {
242240
243241 init {
244- YoutubeStreamExtractor .setPoTokenProvider(PoTokenGenerator ());
242+ // TODO: implement SABR support and re-enable PoTokens afterwards
243+ // YoutubeStreamExtractor.setPoTokenProvider(PoTokenGenerator());
245244 }
246245
247246 override suspend fun getTrending (region : String ): List <StreamItem > {
You can’t perform that action at this time.
0 commit comments