mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 00:56:08 +02:00
[RutubeBridge] Fix playlist mode returning empty result (#4184)
This commit is contained in:
parent
0051e0fcdd
commit
401cc187b7
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue