From 98b3a231d1898e489bc4b49d159be4725ffa066c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 30 Jul 2016 13:55:15 -0400 Subject: [PATCH] fix music genres --- dashboard-ui/music.html | 2 +- dashboard-ui/scripts/musicgenres.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dashboard-ui/music.html b/dashboard-ui/music.html index 4856697aa4..cf8f1a019d 100644 --- a/dashboard-ui/music.html +++ b/dashboard-ui/music.html @@ -108,7 +108,7 @@
-
+
diff --git a/dashboard-ui/scripts/musicgenres.js b/dashboard-ui/scripts/musicgenres.js index 0276a2c547..68e1dbbc27 100644 --- a/dashboard-ui/scripts/musicgenres.js +++ b/dashboard-ui/scripts/musicgenres.js @@ -1,4 +1,4 @@ -define(['libraryBrowser'], function (libraryBrowser) { +define(['libraryBrowser', 'cardBuilder'], function (libraryBrowser, cardBuilder) { return function (view, params, tabContent) { @@ -57,7 +57,7 @@ var viewStyle = self.getCurrentViewStyle(); if (viewStyle == "Thumb") { - html = libraryBrowser.getPosterViewHtml({ + html = cardBuilder.getCardsHtml({ items: result.Items, shape: "backdrop", preferThumb: true, @@ -71,7 +71,7 @@ } else if (viewStyle == "ThumbCard") { - html = libraryBrowser.getPosterViewHtml({ + html = cardBuilder.getCardsHtml({ items: result.Items, shape: "backdrop", preferThumb: true, @@ -83,7 +83,7 @@ }); } else if (viewStyle == "PosterCard") { - html = libraryBrowser.getPosterViewHtml({ + html = cardBuilder.getCardsHtml({ items: result.Items, shape: "auto", context: 'music', @@ -94,7 +94,7 @@ }); } else if (viewStyle == "Poster") { - html = libraryBrowser.getPosterViewHtml({ + html = cardBuilder.getCardsHtml({ items: result.Items, shape: "auto", context: 'music',