mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-10-01 21:59:37 +00:00
make sure the plugin supports shorts content
Changelog: added
This commit is contained in:
parent
4acc867634
commit
8aa4de7522
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ class StatePlatform {
|
||||||
pagerResult = client.getChannelContents(channelUrl, ResultCapabilities.TYPE_MIXED, ResultCapabilities.ORDER_CHONOLOGICAL);
|
pagerResult = client.getChannelContents(channelUrl, ResultCapabilities.TYPE_MIXED, ResultCapabilities.ORDER_CHONOLOGICAL);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pagerResult = if (type == ResultCapabilities.TYPE_SHORTS) {
|
pagerResult = if (type == ResultCapabilities.TYPE_SHORTS && clientCapabilities.hasType(ResultCapabilities.TYPE_SHORTS)) {
|
||||||
client.getChannelContents(channelUrl, ResultCapabilities.TYPE_SHORTS, ResultCapabilities.ORDER_CHONOLOGICAL);
|
client.getChannelContents(channelUrl, ResultCapabilities.TYPE_SHORTS, ResultCapabilities.ORDER_CHONOLOGICAL);
|
||||||
} else {
|
} else {
|
||||||
EmptyPager()
|
EmptyPager()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue