From 75fc964b9e27372d52fe40da84b6f7f52b2e7590 Mon Sep 17 00:00:00 2001 From: artiume Date: Sat, 15 Feb 2020 20:48:01 -0500 Subject: [PATCH] Force Transcoding for LiveTv Capability (#636) * Update useredit.html * Update useredit.js * Update en-us.json * Update en-us.json * Update useredit.js * fix TV Shows to Square Tiles * Update homesections.js * Update src/strings/en-us.json Co-Authored-By: Vasily Co-authored-by: Vasily --- src/controllers/useredit.js | 2 ++ src/strings/en-us.json | 1 + src/useredit.html | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/src/controllers/useredit.js b/src/controllers/useredit.js index fb6a3f94cd..f6a5aaf000 100644 --- a/src/controllers/useredit.js +++ b/src/controllers/useredit.js @@ -97,6 +97,7 @@ define(["jQuery", "loading", "libraryMenu", "fnchecked"], function ($, loading, $("#chkEnableAudioPlaybackTranscoding", page).checked(user.Policy.EnableAudioPlaybackTranscoding); $("#chkEnableVideoPlaybackTranscoding", page).checked(user.Policy.EnableVideoPlaybackTranscoding); $("#chkEnableVideoPlaybackRemuxing", page).checked(user.Policy.EnablePlaybackRemuxing); + $("#chkForceRemoteSourceTranscoding", page).checked(user.Policy.ForceRemoteSourceTranscoding); $("#chkRemoteAccess", page).checked(null == user.Policy.EnableRemoteAccess || user.Policy.EnableRemoteAccess); $("#chkEnableSyncTranscoding", page).checked(user.Policy.EnableSyncTranscoding); $("#chkEnableConversion", page).checked(user.Policy.EnableMediaConversion || false); @@ -128,6 +129,7 @@ define(["jQuery", "loading", "libraryMenu", "fnchecked"], function ($, loading, user.Policy.EnableAudioPlaybackTranscoding = $("#chkEnableAudioPlaybackTranscoding", page).checked(); user.Policy.EnableVideoPlaybackTranscoding = $("#chkEnableVideoPlaybackTranscoding", page).checked(); user.Policy.EnablePlaybackRemuxing = $("#chkEnableVideoPlaybackRemuxing", page).checked(); + user.Policy.ForceRemoteSourceTranscoding = $("#chkForceRemoteSourceTranscoding", page).checked(); user.Policy.EnableContentDownloading = $("#chkEnableDownloading", page).checked(); user.Policy.EnableSyncTranscoding = $("#chkEnableSyncTranscoding", page).checked(); user.Policy.EnableMediaConversion = $("#chkEnableConversion", page).checked(); diff --git a/src/strings/en-us.json b/src/strings/en-us.json index c8df7b69db..c3be766f42 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1052,6 +1052,7 @@ "OptionAlbumArtist": "Album Artist", "OptionAllUsers": "All users", "OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding", + "OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources (like LiveTV)", "OptionAllowBrowsingLiveTv": "Allow Live TV access", "OptionAllowContentDownloading": "Allow media downloading and syncing", "OptionAllowLinkSharing": "Allow social media sharing", diff --git a/src/useredit.html b/src/useredit.html index 201901744f..0de3069dc7 100644 --- a/src/useredit.html +++ b/src/useredit.html @@ -89,6 +89,10 @@ ${OptionAllowVideoPlaybackRemuxing} +
${OptionAllowMediaPlaybackTranscodingHelp}