mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-10-01 05:39:08 +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);
|
||||
}
|
||||
} 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);
|
||||
} else {
|
||||
EmptyPager()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue