mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
[RutubeBridge] Fix playlist mode returning empty result (#4184)
This commit is contained in:
parent
0051e0fcdd
commit
401cc187b7
@ -80,8 +80,10 @@ class RutubeBridge extends BridgeAbstract
|
||||
$videos = $reduxState->userChannel->videos->results;
|
||||
$this->title = $reduxState->userChannel->info->name;
|
||||
} elseif ($this->getInput('p')) {
|
||||
$videos = $reduxState->playlist->data->results;
|
||||
$this->title = $reduxState->playlist->title;
|
||||
$playListVideosMethod = 'getPlaylistVideos(' . $this->getInput('p') . ')';
|
||||
$videos = $reduxState->api->queries->$playListVideosMethod->data->results;
|
||||
$playListMethod = 'getPlaylist(' . $this->getInput('p') . ')';
|
||||
$this->title = $reduxState->api->queries->$playListMethod->data->title;
|
||||
} elseif ($this->getInput('s')) {
|
||||
$this->title = 'Поиск ' . $this->getInput('s');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user