Small fix to embed player metadata

This commit is contained in:
drigato 2015-05-27 10:09:13 -04:00
parent 793e959cae
commit 2d577dbcb0
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@
success: function(data) {
if (data.current === null) {
if (data.currentShow != null) {
if (data.currentShow != null && data.currentShow.length > 0) {
//Master/show source have no current track but they do have a current show.
$("p.now_playing").html(data.currentShow[0].name);
} else {