浏览代码

update image

Luke Pulverenti 10 年之前
父节点
当前提交
4d6c37f116

+ 0 - 7
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -1085,13 +1085,6 @@ namespace MediaBrowser.Controller.Entities
                 {
                     return false;
                 }
-                if (policy.AllowedTags.Length > 0 && IsAllowTagFilterEnforced())
-                {
-                    if (policy.AllowedTags.Any(i => !hasTags.Tags.Contains(i, StringComparer.OrdinalIgnoreCase)))
-                    {
-                        return false;
-                    }
-                }
             }
 
             return true;

+ 0 - 2
MediaBrowser.Model/Users/UserPolicy.cs

@@ -29,7 +29,6 @@ namespace MediaBrowser.Model.Users
         public int? MaxParentalRating { get; set; }
 
         public string[] BlockedTags { get; set; }
-        public string[] AllowedTags { get; set; }
         public bool EnableUserPreferenceAccess { get; set; }
         public AccessSchedule[] AccessSchedules { get; set; }
         public UnratedItem[] BlockUnratedItems { get; set; }
@@ -68,7 +67,6 @@ namespace MediaBrowser.Model.Users
             EnableSharedDeviceControl = true;
 
             BlockedTags = new string[] { };
-            AllowedTags = new string[] { };
             BlockUnratedItems = new UnratedItem[] { };
 
             EnableUserPreferenceAccess = true;

+ 1 - 4
MediaBrowser.Server.Implementations/Localization/Server/server.json

@@ -63,7 +63,7 @@
     "LabelSyncTempPath": "Temporary file path:",
     "LabelSyncTempPathHelp": "Specify a custom sync working folder. Converted media created during the sync process will be stored here.",
     "LabelCustomCertificatePath": "Custom certificate path:",
-    "LabelCustomCertificatePathHelp": "Supply your own ssl certificate. If omitted, the server will create a self-signed certificate.",
+    "LabelCustomCertificatePathHelp": "Supply your own ssl certificate .pfx file. If omitted, the server will create a self-signed certificate.",
     "TitleNotifications": "Notifications",
     "ButtonDonateWithPayPal": "Donate with PayPal",
     "OptionDetectArchiveFilesAsMedia": "Detect archive files as media",
@@ -494,8 +494,6 @@
     "OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
     "OptionEnableDebugTranscodingLoggingHelp": "This will create very large log files and is only recommended as needed for troubleshooting purposes.",
     "OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
-    "OptionUpscaling": "Allow clients to request upscaled video",
-    "OptionUpscalingHelp": "In some cases this will result in improved video quality but will increase CPU usage.",
     "EditCollectionItemsHelp": "Add or remove any movies, series, albums, books or games you wish to group within this collection.",
     "HeaderAddTitles": "Add Titles",
     "LabelEnableDlnaPlayTo": "Enable DLNA Play To",
@@ -1357,7 +1355,6 @@
     "HeaderYears": "Years",
     "HeaderAddTag": "Add Tag",
     "LabelBlockContentWithTags": "Block content with tags:",
-    "LabelAllowContentWithTags": "Allow only content with tags:",
     "LabelTag": "Tag:",
     "LabelEnableSingleImageInDidlLimit": "Limit to single embedded image",
     "LabelEnableSingleImageInDidlLimitHelp": "Some devices will not render properly if multiple images are embedded within Didl.",