mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
fixed incorrect capabilities call
This commit is contained in:
parent
2bcd59cbfa
commit
b3fd05e62e
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ class StatePlatform {
|
|||
else getSortedEnabledClient().filter { if (it is JSClient) it.enableInSearch else true };
|
||||
|
||||
clients.parallelStream().forEach {
|
||||
val searchCapabilities = it.getSearchCapabilities();
|
||||
val searchCapabilities = it.getSearchChannelContentsCapabilities();
|
||||
val mappedFilters = filters.map { pair -> Pair(pair.key, pair.value.map { v -> searchCapabilities.filters.first { g -> g.idOrName == pair.key }.filters.first { f -> f.idOrName == v }.value }) }.toMap();
|
||||
|
||||
if (it.isChannelUrl(channelUrl)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue