From f05207580cef9436b156b51acd3036687b523b6a Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 22 Feb 2020 16:57:34 -0500 Subject: [PATCH] Fixed: Show Edition naming token in UI --- .../MediaManagement/Naming/NamingModal.js | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/frontend/src/Settings/MediaManagement/Naming/NamingModal.js b/frontend/src/Settings/MediaManagement/Naming/NamingModal.js index 1ff72ee7f..8d976b0fb 100644 --- a/frontend/src/Settings/MediaManagement/Naming/NamingModal.js +++ b/frontend/src/Settings/MediaManagement/Naming/NamingModal.js @@ -148,6 +148,10 @@ class NamingModal extends Component { { token: '{Release Group}', example: 'Rls Grp' } ]; + const editionTokens = [ + { token: '{Edition Tags}', example: 'IMAX' } + ]; + const originalTokens = [ { token: '{Original Title}', example: 'Movie.Title.HDTV.x264-EVOLVE' }, { token: '{Original Filename}', example: 'Movie.title.hdtv.x264-EVOLVE' } @@ -322,6 +326,28 @@ class NamingModal extends Component { +
+
+ { + editionTokens.map(({ token, example }) => { + return ( + + ); + } + ) + } +
+
+
{