fix playlist runtime display
This commit is contained in:
parent
bc693bbdc6
commit
357932766d
2 changed files with 2 additions and 2 deletions
2
dashboard-ui/cordova/android/mediasession.js
vendored
2
dashboard-ui/cordova/android/mediasession.js
vendored
|
@ -37,7 +37,7 @@
|
|||
var title = parts[parts.length - 1];
|
||||
|
||||
// Switch these two around for video
|
||||
if (state.NowPlayingItem.MediaType == 'Video') {
|
||||
if (state.NowPlayingItem.MediaType == 'Video' && parts.length > 1) {
|
||||
var temp = artist;
|
||||
artist = title;
|
||||
title = temp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue