From 7f26cbd8218bdab2d92c5e9ee063e201805e4498 Mon Sep 17 00:00:00 2001 From: Jimmy Wan Date: Fri, 23 Aug 2019 03:23:04 -0500 Subject: [PATCH] Replace date with original date, where available. --- js/CaTRoX_QWR/Panel_Library.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/CaTRoX_QWR/Panel_Library.js b/js/CaTRoX_QWR/Panel_Library.js index 1c325550..c5e1c8a3 100644 --- a/js/CaTRoX_QWR/Panel_Library.js +++ b/js/CaTRoX_QWR/Panel_Library.js @@ -776,11 +776,11 @@ function panel_operations() { var view_ppt = [ window.GetProperty(prefix + "View 01: Name // Pattern", "View by Artist // %artist%|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), window.GetProperty(prefix + "View 02: Name // Pattern", "View by Album Artist // %album artist%|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), - window.GetProperty(prefix + "View 03: Name // Pattern", "View by Album Artist ordered by Date // %album artist%|[$year(%date%) - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), - window.GetProperty(prefix + "View 04: Name // Pattern", "View by Album Artist - Album // [%album artist% - ][$year(%date%) - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), + window.GetProperty(prefix + "View 03: Name // Pattern", "View by Album Artist ordered by Date // %album artist%|[$year($if2(%originaldate%,%date%)) - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), + window.GetProperty(prefix + "View 04: Name // Pattern", "View by Album Artist - Album // [%album artist% - ][$year($if2(%originaldate%,%date%)) - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), window.GetProperty(prefix + "View 05: Name // Pattern", "View by Album // %album%[ '['%album artist%']']|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), window.GetProperty(prefix + "View 06: Name // Pattern", "View by Genre // %%|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%"), - window.GetProperty(prefix + "View 07: Name // Pattern", "View by Year // $year(%date%)|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%") + window.GetProperty(prefix + "View 07: Name // Pattern", "View by Year // $year($if2(%originaldate%,%date%))|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%") ]; var nm = "", ppt_l = view_ppt.length + 1; @@ -3141,4 +3141,4 @@ window.SetProperty(" Node: Show All Music", null); window.SetProperty(" Playlist: Play On Send From Menu", null); window.SetProperty(" Text Single-Click: AutoFill Playlist", null); window.SetProperty("ADV.Height Auto [Expand/Collapse With All Music]", null); -window.SetProperty("SYSTEM.Zoom Update", true); \ No newline at end of file +window.SetProperty("SYSTEM.Zoom Update", true);