fix: cache channel data

This commit is contained in:
ThetaDev 2022-10-25 09:01:11 +02:00 committed by Stypox
parent bfce26fddc
commit ca9102dd4c
2 changed files with 41 additions and 15 deletions

View file

@ -158,7 +158,8 @@ public final class ExtractorHelper {
final boolean forceLoad) {
checkServiceId(serviceId);
return checkCache(forceLoad, serviceId,
tabHandler.getUrl() + tabHandler.getTab().name(), InfoItem.InfoType.CHANNEL,
tabHandler.getUrl() + "/"
+ tabHandler.getTab().name(), InfoItem.InfoType.CHANNEL,
Single.fromCallable(() ->
ChannelTabInfo.getInfo(NewPipe.getService(serviceId), tabHandler)));
}