1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Add video support to playlist (fix #675)

This commit is contained in:
Afterster 2015-12-27 21:25:30 +01:00
parent 9d9f7a2711
commit aa19993358
23 changed files with 284 additions and 135 deletions

View file

@ -280,7 +280,8 @@ class WebPlayer
$js['replaygain_album_gain'] = $media->replaygain_album_gain;
$js['replaygain_album_peak'] = $media->replaygain_album_peak;
}
$js['media_id'] = $media->id;
$js['media_id'] = $media->id;
$js['media_type'] = $urlinfo['type'];
if ($media->type != $types['real']) {
$url .= '&transcode_to=' . $types['real'];