Skip to content

Commit

Permalink
Merge pull request owncloud#1079 from NattyNarwhal/getnowplaying-nop
Browse files Browse the repository at this point in the history
Add nop getNowPlaying route for SubsonicController
  • Loading branch information
paulijar authored Aug 11, 2023
2 parents 2a0431b + a706ffa commit b23a56a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Controller/SubsonicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,14 @@ protected function getScanStatus() {
]]);
}

/**
* @SubsonicAPI
*/
protected function getNowPlaying() {
// TODO: not supported yet
return $this->subsonicResponse(['nowPlaying' => ['entry' => []]]);
}

/* -------------------------------------------------------------------------
* Helper methods
*------------------------------------------------------------------------*/
Expand Down

0 comments on commit b23a56a

Please sign in to comment.