Small fix to embed player metadata
This commit is contained in:
parent
793e959cae
commit
2d577dbcb0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue