Skip to content

Commit

Permalink
Merge branch 'capabilities-fix' into 'master'
Browse files Browse the repository at this point in the history
fixed incorrect capabilities call

See merge request videostreaming/grayjay!37
  • Loading branch information
Kelvin committed Nov 19, 2024
2 parents 0034665 + b3fd05e commit 27ee1ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 27ee1ea

Please sign in to comment.