mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
Add optional client name when playing
This commit is contained in:
parent
51cff99ef6
commit
f50d8a93a5
6 changed files with 47 additions and 37 deletions
|
@ -287,7 +287,7 @@ class Plex_Api
|
|||
$id = Plex_XML_Data::getAmpacheId($key);
|
||||
$song = new Song($id);
|
||||
if ($song->id) {
|
||||
$url = Song::play_url($id);
|
||||
$url = Song::play_url($id) . '&client=Plex';
|
||||
header("Location: " . $url);
|
||||
} else {
|
||||
self::createError(404);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue