From 9982f3c3dbc68c5e860c621376dd0f5b3a5bbe81 Mon Sep 17 00:00:00 2001 From: vexorian Date: Sat, 23 Jan 2021 20:39:30 -0400 Subject: [PATCH] Music Libraries UI --- web/directives/channel-config.js | 5 +++++ web/public/templates/plex-library.html | 6 +++--- web/public/templates/program-config.html | 21 ++++++++++++++++++++- web/services/plex.js | 24 +++++++++++++++++++----- 4 files changed, 47 insertions(+), 9 deletions(-) diff --git a/web/directives/channel-config.js b/web/directives/channel-config.js index 1a7055b..df76d16 100644 --- a/web/directives/channel-config.js +++ b/web/directives/channel-config.js @@ -525,6 +525,11 @@ module.exports = function ($timeout, $location, dizquetv, resolutionOptions) { if ( angle >= 350 || angle < 10 ) { angle += 53; } + } else if (program.type === 'track') { + r = 10, g = 10, b = 10; + r2 = 245, g2 = 245, b2 = 245; + angle = 315; + w = 2; } else { r = 10, g = 10, b = 10; r2 = 245, g2 = 245, b2 = 245; diff --git a/web/public/templates/plex-library.html b/web/public/templates/plex-library.html index 8e2c0d2..aa06c8d 100644 --- a/web/public/templates/plex-library.html +++ b/web/public/templates/plex-library.html @@ -37,7 +37,7 @@ {{a.title}} - + @@ -57,7 +57,7 @@ - + @@ -81,7 +81,7 @@ class="flex-pull-right"> {{c.durationStr}} - + diff --git a/web/public/templates/program-config.html b/web/public/templates/program-config.html index ce48dab..015e6d1 100644 --- a/web/public/templates/program-config.html +++ b/web/public/templates/program-config.html @@ -4,14 +4,33 @@