fix: cache channel data

This commit is contained in:
ThetaDev 2022-10-25 09:01:11 +02:00 committed by Stypox
parent 16cd47fa2e
commit 2c98d079de
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
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)));
}