The Free Software Media System - Server Backend & API
support channels with dlna
Luke Pulverenti51e964dae394
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.csindex 5cae4c3f7f..df85ca3cbc 100644--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs@@ -626,7 +626,7 @@ namespace MediaBrowser.Api.Playback/// <param name="state">The state.</param>/// <param name="outputVideoCodec">The output video codec.</param>/// <returns>System.String.</returns>- protected string GetInternalGraphicalSubtitleParam(StreamState state, string outputVideoCodec)+ protected string GetGraphicalSubtitleParam(StreamState state, string outputVideoCodec){var outputSizeParam = string.Empty;diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.csindex fc1c627e94..ccaa918ec7 100644--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs@@ -522,7 +522,7 @@ namespace MediaBrowser.Api.Playback.Hls// This is for internal graphical subsif (hasGraphicalSubs){- args += GetInternalGraphicalSubtitleParam(state, codec);+ args += GetGraphicalSubtitleParam(state, codec);}return args;diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.csindex 28c0219fce..1dffa54114 100644--- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs@@ -186,7 +186,7 @@ namespace MediaBrowser.Api.Playback.Hls// This is for internal graphical subsif (hasGraphicalSubs){- args += GetInternalGraphicalSubtitleParam(state, codec);+ args += GetGraphicalSubtitleParam(state, codec);}return args;diff --git a/MediaBrowser.Api/Playback/Progressive/VideoService.cs b/MediaBrowser.Api/Playback/Progressive/VideoService.csindex bedacc0d29..cdaa99130b 100644--- a/MediaBrowser.Api/Playback/Progressive/VideoService.cs+++ b/MediaBrowser.Api/Playback/Progressive/VideoService.cs@@ -167,7 +167,7 @@ namespace MediaBrowser.Api.Playback.Progressive// This is for internal graphical subsif (hasGraphicalSubs){- args += GetInternalGraphicalSubtitleParam(state, codec);+ args += GetGraphicalSubtitleParam(state, codec);}return args;diff --git a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/ReloadLoggerFileTask.cs b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/ReloadLoggerFileTask.csindex 38b6b4ad68..78f60632fa 100644--- a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/ReloadLoggerFileTask.cs+++ b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/ReloadLoggerFileTask.cs@@ -94,7 +94,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Taskspublic bool IsHidden{- get { return false; }+ get { return true; }}public bool IsEnableddiff --git a/MediaBrowser.Common/Net/IServerManager.cs b/MediaBrowser.Common/Net/IServerManager.csindex f6ac0ab68a..84e5785799 100644--- a/MediaBrowser.Common/Net/IServerManager.cs+++ b/MediaBrowser.Common/Net/IServerManager.cs@@ -10,12 +10,6 @@ namespace MediaBrowser.Common.Net/// </summary>public interface IServerManager : IDisposable{- /// <summary>- /// Gets the web socket port number.- /// </summary>- /// <value>The web socket port number.</value>- int WebSocketPortNumber { get; }-/// <summary>/// Starts this instance./// </summary>diff --git a/MediaBrowser.Controller/Channels/IChannelManager.cs b/MediaBrowser.Controller/Channels/IChannelManager.csindex 744eab96e0..252e2aee53 100644--- a/MediaBrowser.Controller/Channels/IChannelManager.cs+++ b/MediaBrowser.Controller/Channels/IChannelManager.cs@@ -43,6 +43,14 @@ namespace MediaBrowser.Controller.Channels/// <returns>Channel.</returns>Channel GetChannel(string id);+ /// <summary>+ /// Gets the channels internal.+ /// </summary>+ /// <param name="query">The query.</param>+ /// <param name="cancellationToken">The cancellation token.</param>+ /// <returns>Task<QueryResult<Channel>>.</returns>+ Task<QueryResult<Channel>> GetChannelsInternal(ChannelQuery query, CancellationToken cancellationToken);+/// <summary>/// Gets the channels./// </summary>@@ -75,6 +83,14 @@ namespace MediaBrowser.Controller.Channels/// <returns>Task{QueryResult{BaseItemDto}}.</returns>Task<QueryResult<BaseItemDto>> GetChannelItems(ChannelItemQuery query, CancellationToken cancellationToken);+ /// <summary>+ /// Gets the channel items internal.+ /// </summary>+ /// <param name="query">The query.</param>+ /// <param name="cancellationToken">The cancellation token.</param>+ /// <returns>Task<QueryResult<BaseItem>>.</returns>+ Task<QueryResult<BaseItem>> GetChannelItemsInternal(ChannelItemQuery query, CancellationToken cancellationToken);+/// <summary>/// Gets the cached channel item media sources./// </summary>diff --git a/MediaBrowser.Controller/Entities/BasePluginFolder.cs b/MediaBrowser.Controller/Entities/BasePluginFolder.csindex e1383923f6..fa2b49a60b 100644--- a/MediaBrowser.Controller/Entities/BasePluginFolder.cs+++ b/MediaBrowser.Controller/Entities/BasePluginFolder.cs@@ -14,7 +14,7 @@ namespace MediaBrowser.Controller.Entitiespublic virtual string CollectionType{- get { return Model.Entities.CollectionType.BoxSets; }+ get { return null; }}}}diff --git a/MediaBrowser.Controller/Entities/UserView.cs b/MediaBrowser.Controller/Entities/UserView.csindex 619a497f5f..be426d99eb 100644--- a/MediaBrowser.Controller/Entities/UserView.cs+++ b/MediaBrowser.Controller/Entities/UserView.cs@@ -1,6 +1,7 @@using MediaBrowser.Controller.Entities.Movies;using MediaBrowser.Controller.Entities.TV;using MediaBrowser.Model.Entities;+using MoreLinq;using System;using System.Collections.Generic;using System.Linq;@@ -29,6 +30,10 @@ namespace MediaBrowser.Controller.Entitiescase CollectionType.Trailers:return mediaFolders.SelectMany(i => i.GetRecursiveChildren(user, includeLinkedChildren)).OfType<Trailer>();+ case CollectionType.Movies:+ return mediaFolders.SelectMany(i => i.GetRecursiveChildren(user, includeLinkedChildren))+ .Where(i => i is Movie || i is BoxSet)+ .DistinctBy(i => i.Id);default:return mediaFolders.SelectMany(i => i.GetChildren(user, includeLinkedChildren));}@@ -70,4 +75,30 @@ namespace MediaBrowser.Controller.Entitiesreturn standaloneTypes.Contains(collectionFolder.CollectionType ?? string.Empty);}}++ public class SpecialFolder : Folder+ {+ public SpecialFolderType SpecialFolderType { get; set; }+ public string ItemTypeName { get; set; }+ public string ParentId { get; set; }++ public override IEnumerable<BaseItem> GetChildren(User user, bool includeLinkedChildren)+ {+ var parent = (Folder)LibraryManager.GetItemById(new Guid(ParentId));++ if (SpecialFolderType == SpecialFolderType.ItemsByType)+ {+ var items = parent.GetRecursiveChildren(user, includeLinkedChildren);++ return items.Where(i => string.Equals(i.GetType().Name, ItemTypeName, StringComparison.OrdinalIgnoreCase));+ }++ return new List<BaseItem>();+ }+ }++ public enum SpecialFolderType+ {+ ItemsByType = 1+ }}diff --git a/MediaBrowser.Controller/Library/TVUtils.cs b/MediaBrowser.Controller/Library/TVUtils.csindex 86699272e8..6ef1fb6f72 100644--- a/MediaBrowser.Controller/Library/TVUtils.cs+++ b/MediaBrowser.Controller/Library/TVUtils.cs@@ -8,6 +8,7 @@ using System.Globalization;using System.IO;using System.Linq;using System.Text.RegularExpressions;+using MediaBrowser.Model.Logging;namespace MediaBrowser.Controller.Library{@@ -136,6 +137,16 @@ namespace MediaBrowser.Controller.Libraryreturn val;}+ if (filename.StartsWith("s", StringComparison.OrdinalIgnoreCase))+ {+ var testFilename = filename.Substring(1);++ if (int.TryParse(testFilename, NumberStyles.Integer, CultureInfo.InvariantCulture, out val))+ {+ return val;+ }+ }+// Look for one of the season folder namesforeach (var name in SeasonFolderNames){@@ -182,7 +193,7 @@ namespace MediaBrowser.Controller.Libraryreturn null;}- return int.Parse(path.Substring(numericStart, length));+ return int.Parse(path.Substring(numericStart, length), CultureInfo.InvariantCulture);}/// <summary>@@ -194,21 +205,59 @@ namespace MediaBrowser.Controller.Library/// <returns><c>true</c> if [is season folder] [the specified path]; otherwise, <c>false</c>.</returns>private static bool IsSeasonFolder(string path, IDirectoryService directoryService, IFileSystem fileSystem){+ var seasonNumber = GetSeasonNumberFromPath(path);+ var hasSeasonNumber = seasonNumber != null;++ if (!hasSeasonNumber)+ {+ return false;+ }+// It's a season folder if it's named as such and does not contain any audio files, apart from theme.mp3- return GetSeasonNumberFromPath(path) != null &&- !directoryService.GetFiles(path)- .Any(i => EntityResolutionHelper.IsAudioFile(i.FullName) && !string.Equals(fileSystem.GetFileNameWithoutExtension(i), BaseItem.ThemeSongFilename));+ foreach (var fileSystemInfo in directoryService.GetFileSystemEntries(path))+ {+ var attributes = fileSystemInfo.Attributes;++ if ((attributes & FileAttributes.Hidden) == FileAttributes.Hidden)+ {+ continue;+ }++ if ((attributes & FileAttributes.System) == FileAttributes.System)+ {+ continue;+ }++ if ((attributes & FileAttributes.Directory) == FileAttributes.Directory)+ {+ //if (IsBadFolder(fileSystemInfo.Name))+ //{+ // return false;+ //}+ }+ else+ {+ if (EntityResolutionHelper.IsAudioFile(fileSystemInfo.FullName) &&+ !string.Equals(fileSystem.GetFileNameWithoutExtension(fileSystemInfo), BaseItem.ThemeSongFilename))+ {+ return false;+ }+ }+ }++ return true;}/// <summary>/// Determines whether [is series folder] [the specified path]./// </summary>/// <param name="path">The path.</param>- /// <param name="considerSeasonlessSeries">if set to <c>true</c> [consider seasonless series].</param>+ /// <param name="considerSeasonlessEntries">if set to <c>true</c> [consider seasonless entries].</param>/// <param name="fileSystemChildren">The file system children.</param>/// <param name="directoryService">The directory service.</param>+ /// <param name="fileSystem">The file system.</param>/// <returns><c>true</c> if [is series folder] [the specified path]; otherwise, <c>false</c>.</returns>- public static bool IsSeriesFolder(string path, bool considerSeasonlessSeries, IEnumerable<FileSystemInfo> fileSystemChildren, IDirectoryService directoryService, IFileSystem fileSystem)+ public static bool IsSeriesFolder(string path, bool considerSeasonlessEntries, IEnumerable<FileSystemInfo> fileSystemChildren, IDirectoryService directoryService, IFileSystem fileSystem, ILogger logger){// A folder with more than 3 non-season folders in will not becounted as a seriesvar nonSeriesFolders = 0;@@ -231,15 +280,20 @@ namespace MediaBrowser.Controller.Library{if (IsSeasonFolder(child.FullName, directoryService, fileSystem)){+ logger.Debug("{0} is a series because of season folder {1}.", path, child.FullName);return true;}- if (!EntityResolutionHelper.IgnoreFolders.Contains(child.Name, StringComparer.OrdinalIgnoreCase))++ if (IsBadFolder(child.Name)){+ logger.Debug("Invalid folder under series: {0}", child.FullName);+nonSeriesFolders++;}if (nonSeriesFolders >= 3){+ logger.Debug("{0} not a series due to 3 or more invalid folders.", path);return false;}}@@ -249,7 +303,7 @@ namespace MediaBrowser.Controller.Libraryif (EntityResolutionHelper.IsVideoFile(fullName) || EntityResolutionHelper.IsVideoPlaceHolder(fullName)){- if (GetEpisodeNumberFromFile(fullName, considerSeasonlessSeries).HasValue)+ if (GetEpisodeNumberFromFile(fullName, considerSeasonlessEntries).HasValue){return true;}@@ -257,9 +311,28 @@ namespace MediaBrowser.Controller.Library}}+ logger.Debug("{0} is not a series folder.", path);return false;}+ private static bool IsBadFolder(string name)+ {+ if (string.Equals(name, BaseItem.ThemeSongsFolderName, StringComparison.OrdinalIgnoreCase))+ {+ return false;+ }+ if (string.Equals(name, BaseItem.ThemeVideosFolderName, StringComparison.OrdinalIgnoreCase))+ {+ return false;+ }+ if (string.Equals(name, BaseItem.TrailerFolderName, StringComparison.OrdinalIgnoreCase))+ {+ return false;+ }++ return !EntityResolutionHelper.IgnoreFolders.Contains(name, StringComparer.OrdinalIgnoreCase);+ }+/// <summary>/// Episodes the number from file./// </summary>diff --git a/MediaBrowser.Dlna/Channels/DlnaChannelFactory.cs b/MediaBrowser.Dlna/Channels/DlnaChannelFactory.csindex cc5cb1b1a2..78db68f63f 100644--- a/MediaBrowser.Dlna/Channels/DlnaChannelFactory.cs+++ b/MediaBrowser.Dlna/Channels/DlnaChannelFactory.cs@@ -45,7 +45,7 @@ namespace MediaBrowser.Dlna.Channels_localServersLookup = localServersLookup;_deviceDiscovery = deviceDiscovery;- deviceDiscovery.DeviceDiscovered += deviceDiscovery_DeviceDiscovered;+ //deviceDiscovery.DeviceDiscovered += deviceDiscovery_DeviceDiscovered;deviceDiscovery.DeviceLeft += deviceDiscovery_DeviceLeft;}@@ -196,25 +196,16 @@ namespace MediaBrowser.Dlna.Channelspublic class ServerChannel : IChannel, IFactoryChannel{- private readonly List<Device> _servers = new List<Device>();private readonly IHttpClient _httpClient;private readonly ILogger _logger;- private readonly string _controlUrl;+ public string ControlUrl { get; set; }+ public List<Device> Servers { get; set; }- /// <summary>- /// Prevents core from throwing an exception- /// </summary>- public ServerChannel()+ public ServerChannel(IHttpClient httpClient, ILogger logger){-- }-- public ServerChannel(List<Device> servers, IHttpClient httpClient, ILogger logger, string controlUrl)- {- _servers = servers;_httpClient = httpClient;_logger = logger;- _controlUrl = controlUrl;+ Servers = new List<Device>();}public string Name@@ -272,7 +263,7 @@ namespace MediaBrowser.Dlna.Channelsif (string.IsNullOrWhiteSpace(query.FolderId)){- items = _servers.Select(i => new ChannelItemInfo+ items = Servers.Select(i => new ChannelItemInfo{FolderType = ChannelFolderType.Container,Id = GetServerId(i),@@ -291,7 +282,7 @@ namespace MediaBrowser.Dlna.ChannelsLimit = query.Limit,StartIndex = query.StartIndex,ParentId = folderId,- ContentDirectoryUrl = _controlUrl+ ContentDirectoryUrl = ControlUrl}, cancellationToken).ConfigureAwait(false);diff --git a/MediaBrowser.Dlna/ContentDirectory/ContentDirectory.cs b/MediaBrowser.Dlna/ContentDirectory/ContentDirectory.csindex f594b4471d..f5731b8938 100644--- a/MediaBrowser.Dlna/ContentDirectory/ContentDirectory.cs+++ b/MediaBrowser.Dlna/ContentDirectory/ContentDirectory.cs@@ -1,4 +1,5 @@using MediaBrowser.Common.Net;+using MediaBrowser.Controller.Channels;using MediaBrowser.Controller.Configuration;using MediaBrowser.Controller.Dlna;using MediaBrowser.Controller.Drawing;@@ -21,6 +22,8 @@ namespace MediaBrowser.Dlna.ContentDirectoryprivate readonly IDlnaManager _dlna;private readonly IServerConfigurationManager _config;private readonly IUserManager _userManager;+ private readonly IUserViewManager _userViewManager;+ private readonly IChannelManager _channelManager;public ContentDirectory(IDlnaManager dlna,IUserDataManager userDataManager,@@ -29,7 +32,7 @@ namespace MediaBrowser.Dlna.ContentDirectoryIServerConfigurationManager config,IUserManager userManager,ILogger logger,- IHttpClient httpClient)+ IHttpClient httpClient, IUserViewManager userViewManager, IChannelManager channelManager): base(logger, httpClient){_dlna = dlna;@@ -38,6 +41,8 @@ namespace MediaBrowser.Dlna.ContentDirectory_libraryManager = libraryManager;_config = config;_userManager = userManager;+ _userViewManager = userViewManager;+ _channelManager = channelManager;}private int SystemUpdateId@@ -73,7 +78,9 @@ namespace MediaBrowser.Dlna.ContentDirectory_userDataManager,user,SystemUpdateId,- _config)+ _config,+ _userViewManager,+ _channelManager).ProcessControlRequest(request);}diff --git a/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs b/MediaBrowser.Dlna/ContentDirectory/ControlHandler.csindex b4f918e68b..1553435aeb 100644--- a/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs+++ b/MediaBrowser.Dlna/ContentDirectory/ControlHandler.cs@@ -1,4 +1,5 @@using MediaBrowser.Common.Extensions;+using MediaBrowser.Controller.Channels;using MediaBrowser.Controller.Configuration;using MediaBrowser.Controller.Drawing;using MediaBrowser.Controller.Entities;@@ -9,8 +10,10 @@ using MediaBrowser.Controller.Library;using MediaBrowser.Dlna.Didl;using MediaBrowser.Dlna.Server;using MediaBrowser.Dlna.Service;+using MediaBrowser.Model.Channels;using MediaBrowser.Model.Dlna;using MediaBrowser.Model.Entities;+using MediaBrowser.Model.Library;using MediaBrowser.Model.Logging;using MediaBrowser.Model.Querying;using System;@@ -19,6 +22,7 @@ using System.Globalization;using System.Linq;using System.Text;using System.Threading;+using System.Threading.Tasks;using System.Xml;namespace MediaBrowser.Dlna.ContentDirectory@@ -40,14 +44,18 @@ namespace MediaBrowser.Dlna.ContentDirectoryprivate readonly DidlBuilder _didlBuilder;private readonly DeviceProfile _profile;+ private readonly IUserViewManager _userViewManager;+ private readonly IChannelManager _channelManager;- public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId, IServerConfigurationManager config)+ public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId, IServerConfigurationManager config, IUserViewManager userViewManager, IChannelManager channelManager): base(config, logger){_libraryManager = libraryManager;_userDataManager = userDataManager;_user = user;_systemUpdateId = systemUpdateId;+ _userViewManager = userViewManager;+ _channelManager = channelManager;_profile = profile;_didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress);@@ -69,7 +77,7 @@ namespace MediaBrowser.Dlna.ContentDirectoryreturn HandleGetSystemUpdateID();if (string.Equals(methodName, "Browse", StringComparison.OrdinalIgnoreCase))- return HandleBrowse(methodParams, user, deviceId);+ return HandleBrowse(methodParams, user, deviceId).Result;if (string.Equals(methodName, "X_GetFeatureList", StringComparison.OrdinalIgnoreCase))return HandleXGetFeatureList();@@ -78,7 +86,7 @@ namespace MediaBrowser.Dlna.ContentDirectoryreturn HandleXSetBookmark(methodParams, user);if (string.Equals(methodName, "Search", StringComparison.OrdinalIgnoreCase))- return HandleSearch(methodParams, user, deviceId);+ return HandleSearch(methodParams, user, deviceId).Result;throw new ResourceNotFoundException("Unexpected control request name: " + methodName);}@@ -141,7 +149,7 @@ namespace MediaBrowser.Dlna.ContentDirectoryreturn builder.ToString();}- private IEnumerable<KeyValuePair<string, string>> HandleBrowse(Headers sparams, User user, string deviceId)+ private async Task<IEnumerable<KeyValuePair<string, string>>> HandleBrowse(Headers sparams, User user, string deviceId){var id = sparams["ObjectID"];var flag = sparams["BrowseFlag"];@@ -149,16 +157,20 @@ namespace MediaBrowser.Dlna.ContentDirectoryvar sortCriteria = new SortCriteria(sparams.GetValueOrDefault("SortCriteria", ""));var provided = 0;- var requested = 0;- var start = 0;- if (sparams.ContainsKey("RequestedCount") && int.TryParse(sparams["RequestedCount"], out requested) && requested <= 0)+ int? requested = 0;+ int? start = 0;++ int requestedVal;+ if (sparams.ContainsKey("RequestedCount") && int.TryParse(sparams["RequestedCount"], out requestedVal) && requestedVal > 0){- requested = 0;+ requested = requestedVal;}- if (sparams.ContainsKey("StartingIndex") && int.TryParse(sparams["StartingIndex"], out start) && start <= 0)++ int startVal;+ if (sparams.ContainsKey("StartingIndex") && int.TryParse(sparams["StartingIndex"], out startVal) && startVal > 0){- start = 0;+ start = startVal;}//var root = GetItem(id) as IMediaFolder;@@ -173,34 +185,26 @@ namespace MediaBrowser.Dlna.ContentDirectoryvar folder = (Folder)GetItemFromObjectId(id, user);- var children = GetChildrenSorted(folder, user, sortCriteria).ToList();+ var childrenResult = (await GetChildrenSorted(folder, user, sortCriteria, start, requested).ConfigureAwait(false));- var totalCount = children.Count;+ var totalCount = childrenResult.TotalRecordCount;if (string.Equals(flag, "BrowseMetadata")){- result.DocumentElement.AppendChild(_didlBuilder.GetFolderElement(result, folder, children.Count, filter));+ result.DocumentElement.AppendChild(_didlBuilder.GetFolderElement(result, folder, totalCount, filter));provided++;}else{- if (start > 0)- {- children = children.Skip(start).ToList();- }- if (requested > 0)- {- children = children.Take(requested).ToList();- }-- provided = children.Count;+ provided = childrenResult.Items.Length;- foreach (var i in children)+ foreach (var i in childrenResult.Items){if (i.IsFolder){var f = (Folder)i;- var childCount = GetChildrenSorted(f, user, sortCriteria).Count();+ var childCount = (await GetChildrenSorted(f, user, sortCriteria, null, 0).ConfigureAwait(false))+ .TotalRecordCount;result.DocumentElement.AppendChild(_didlBuilder.GetFolderElement(result, f, childCount, filter));}@@ -222,7 +226,7 @@ namespace MediaBrowser.Dlna.ContentDirectory};}- private IEnumerable<KeyValuePair<string, string>> HandleSearch(Headers sparams, User user, string deviceId)+ private async Task<IEnumerable<KeyValuePair<string, string>>> HandleSearch(Headers sparams, User user, string deviceId){var searchCriteria = new SearchCriteria(sparams.GetValueOrDefault("SearchCriteria", ""));var sortCriteria = new SortCriteria(sparams.GetValueOrDefault("SortCriteria", ""));@@ -230,16 +234,19 @@ namespace MediaBrowser.Dlna.ContentDirectory// sort example: dc:title, dc:date- var requested = 0;- var start = 0;+ int? requested = 0;+ int? start = 0;- if (sparams.ContainsKey("RequestedCount") && int.TryParse(sparams["RequestedCount"], out requested) && requested <= 0)+ int requestedVal;+ if (sparams.ContainsKey("RequestedCount") && int.TryParse(sparams["RequestedCount"], out requestedVal) && requestedVal > 0){- requested = 0;+ requested = requestedVal;}- if (sparams.ContainsKey("StartingIndex") && int.TryParse(sparams["StartingIndex"], out start) && start <= 0)++ int startVal;+ if (sparams.ContainsKey("StartingIndex") && int.TryParse(sparams["StartingIndex"], out startVal) && startVal > 0){- start = 0;+ start = startVal;}//var root = GetItem(id) as IMediaFolder;@@ -259,27 +266,19 @@ namespace MediaBrowser.Dlna.ContentDirectoryvar folder = (Folder)GetItemFromObjectId(sparams["ContainerID"], user);- var children = GetChildrenSorted(folder, user, searchCriteria, sortCriteria).ToList();+ var childrenResult = (await GetChildrenSorted(folder, user, searchCriteria, sortCriteria, start, requested).ConfigureAwait(false));- var totalCount = children.Count;+ var totalCount = childrenResult.TotalRecordCount;- if (start > 0)- {- children = children.Skip(start).ToList();- }- if (requested > 0)- {- children = children.Take(requested).ToList();- }-- var provided = children.Count;+ var provided = childrenResult.Items.Length;- foreach (var i in children)+ foreach (var i in childrenResult.Items){if (i.IsFolder){var f = (Folder)i;- var childCount = GetChildrenSorted(f, user, searchCriteria, sortCriteria).Count();+ var childCount = (await GetChildrenSorted(f, user, searchCriteria, sortCriteria, null, 0).ConfigureAwait(false))+ .TotalRecordCount;result.DocumentElement.AppendChild(_didlBuilder.GetFolderElement(result, f, childCount, filter));}@@ -300,15 +299,16 @@ namespace MediaBrowser.Dlna.ContentDirectory};}- private IEnumerable<BaseItem> GetChildrenSorted(Folder folder, User user, SearchCriteria search, SortCriteria sort)+ private async Task<QueryResult<BaseItem>> GetChildrenSorted(Folder folder, User user, SearchCriteria search, SortCriteria sort, int? startIndex, int? limit){if (search.SearchType == SearchType.Unknown){- return GetChildrenSorted(folder, user, sort);+ return await GetChildrenSorted(folder, user, sort, startIndex, limit).ConfigureAwait(false);}- var items = folder.GetRecursiveChildren(user);- items = FilterUnsupportedContent(items);+ var result = await GetChildrenSorted(folder, user, sort, null, null).ConfigureAwait(false);++ var items = FilterUnsupportedContent(result.Items);if (search.SearchType == SearchType.Audio){@@ -324,12 +324,123 @@ namespace MediaBrowser.Dlna.ContentDirectory}else if (search.SearchType == SearchType.Playlist){+}- return SortItems(items, user, sort);+ items = SortItems(items, user, sort);++ return ToResult(items, startIndex, limit);+ }++ private async Task<QueryResult<BaseItem>> GetChildrenSorted(Folder folder, User user, SortCriteria sort, int? startIndex, int? limit)+ {+ if (folder is UserRootFolder)+ {+ var result = await _userViewManager.GetUserViews(new UserViewQuery+ {+ UserId = user.Id.ToString("N")++ }, CancellationToken.None).ConfigureAwait(false);++ return ToResult(result, startIndex, limit);+ }++ var view = folder as UserView;++ if (view != null)+ {+ var result = await GetUserViewChildren(view, user, sort).ConfigureAwait(false);++ return ToResult(result, startIndex, limit);+ }++ var channel = folder as Channel;++ if (channel != null)+ {+ return await _channelManager.GetChannelItemsInternal(new ChannelItemQuery+ {+ ChannelId = channel.Id.ToString("N"),+ Limit = limit,+ StartIndex = startIndex,+ UserId = user.Id.ToString("N")++ }, CancellationToken.None);+ }++ var channelFolderItem = folder as ChannelFolderItem;++ if (channelFolderItem != null)+ {+ return await _channelManager.GetChannelItemsInternal(new ChannelItemQuery+ {+ ChannelId = channelFolderItem.ChannelId,+ FolderId = channelFolderItem.Id.ToString("N"),+ Limit = limit,+ StartIndex = startIndex,+ UserId = user.Id.ToString("N")++ }, CancellationToken.None);+ }++ return ToResult(GetPlainFolderChildrenSorted(folder, user, sort), startIndex, limit);+ }++ private QueryResult<BaseItem> ToResult(IEnumerable<BaseItem> items, int? startIndex, int? limit)+ {+ var list = items.ToArray();+ var totalCount = list.Length;++ if (startIndex.HasValue)+ {+ list = list.Skip(startIndex.Value).ToArray();+ }++ if (limit.HasValue)+ {+ list = list.Take(limit.Value).ToArray();+ }++ return new QueryResult<BaseItem>+ {+ Items = list,+ TotalRecordCount = totalCount+ };+ }++ private async Task<IEnumerable<BaseItem>> GetUserViewChildren(UserView folder, User user, SortCriteria sort)+ {+ if (string.Equals(folder.ViewType, CollectionType.LiveTv, StringComparison.OrdinalIgnoreCase))+ {+ return new List<BaseItem>();+ }+ if (string.Equals(folder.ViewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase))+ {+ var result = await _channelManager.GetChannelsInternal(new ChannelQuery()+ {+ UserId = user.Id.ToString("N")++ }, CancellationToken.None).ConfigureAwait(false);++ return result.Items;+ }+ if (string.Equals(folder.ViewType, CollectionType.TvShows, StringComparison.OrdinalIgnoreCase))+ {+ return SortItems(folder.GetChildren(user, true).OfType<Series>(), user, sort);+ }+ if (string.Equals(folder.ViewType, CollectionType.Movies, StringComparison.OrdinalIgnoreCase))+ {+ return GetPlainFolderChildrenSorted(folder, user, sort);+ }+ if (string.Equals(folder.ViewType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))+ {+ return SortItems(folder.GetChildren(user, true).OfType<MusicArtist>(), user, sort);+ }++ return GetPlainFolderChildrenSorted(folder, user, sort);}- private IEnumerable<BaseItem> GetChildrenSorted(Folder folder, User user, SortCriteria sort)+ private IEnumerable<BaseItem> GetPlainFolderChildrenSorted(Folder folder, User user, SortCriteria sort){var items = folder.GetChildren(user, true);@@ -345,7 +456,7 @@ namespace MediaBrowser.Dlna.ContentDirectoryprivate IEnumerable<BaseItem> SortItems(IEnumerable<BaseItem> items, User user, SortCriteria sort){- return _libraryManager.Sort(items, user, new[] { ItemSortBy.SortName }, SortOrder.Ascending);+ return _libraryManager.Sort(items, user, new[] { ItemSortBy.SortName }, sort.SortOrder);}private IEnumerable<BaseItem> FilterUnsupportedContent(IEnumerable<BaseItem> items)@@ -353,14 +464,12 @@ namespace MediaBrowser.Dlna.ContentDirectoryreturn items.Where(i =>{// Unplayable- // TODO: Display and prevent playback with restricted flag?if (i.LocationType == LocationType.Virtual){return false;}// Unplayable- // TODO: Display and prevent playback with restricted flag?var supportsPlaceHolder = i as ISupportsPlaceHolders;if (supportsPlaceHolder != null && supportsPlaceHolder.IsPlaceHolder){@@ -368,7 +477,6 @@ namespace MediaBrowser.Dlna.ContentDirectory}// Upnp renderers won't understand these- // TODO: Display and prevent playback with restricted flag?if (i is Game || i is Book){return false;diff --git a/MediaBrowser.Dlna/Didl/DidlBuilder.cs b/MediaBrowser.Dlna/Didl/DidlBuilder.csindex 739793c032..649ba2c8ff 100644--- a/MediaBrowser.Dlna/Didl/DidlBuilder.cs+++ b/MediaBrowser.Dlna/Didl/DidlBuilder.cs@@ -1,4 +1,5 @@using MediaBrowser.Common.Net;+using MediaBrowser.Controller.Channels;using MediaBrowser.Controller.Drawing;using MediaBrowser.Controller.Entities;using MediaBrowser.Controller.Entities.Audio;@@ -612,6 +613,13 @@ namespace MediaBrowser.Dlna.Didl{return GetImageInfo(item, ImageType.Thumb);}+ if (item.HasImage(ImageType.Backdrop))+ {+ if (item is Channel)+ {+ return GetImageInfo(item, ImageType.Backdrop);+ }+ }if (item is Audio || item is Episode){@@ -633,7 +641,7 @@ namespace MediaBrowser.Dlna.Didltry{- tag = _imageProcessor.GetImageCacheTag(item, ImageType.Primary);+ tag = _imageProcessor.GetImageCacheTag(item, type);}catch{diff --git a/MediaBrowser.Dlna/Images/logo120.jpg b/MediaBrowser.Dlna/Images/logo120.jpgindex 1de803c8fa..394c8e1376 100644Binary files a/MediaBrowser.Dlna/Images/logo120.jpg and b/MediaBrowser.Dlna/Images/logo120.jpg differdiff --git a/MediaBrowser.Dlna/Images/logo120.png b/MediaBrowser.Dlna/Images/logo120.pngindex 2dd04d4681..97bdef818b 100644Binary files a/MediaBrowser.Dlna/Images/logo120.png and b/MediaBrowser.Dlna/Images/logo120.png differdiff --git a/MediaBrowser.Dlna/Images/logo240.jpg b/MediaBrowser.Dlna/Images/logo240.jpgnew file mode 100644index 0000000000..c805523516Binary files /dev/null and b/MediaBrowser.Dlna/Images/logo240.jpg differdiff --git a/MediaBrowser.Dlna/Images/logo240.png b/MediaBrowser.Dlna/Images/logo240.pngnew file mode 100644index 0000000000..532f123178Binary files /dev/null and b/MediaBrowser.Dlna/Images/logo240.png differdiff --git a/MediaBrowser.Dlna/Images/logo48.jpg b/MediaBrowser.Dlna/Images/logo48.jpgindex f1e7302aae..52b9853541 100644Binary files a/MediaBrowser.Dlna/Images/logo48.jpg and b/MediaBrowser.Dlna/Images/logo48.jpg differdiff --git a/MediaBrowser.Dlna/Images/logo48.png b/MediaBrowser.Dlna/Images/logo48.pngindex 3b13d141ce..29d4a05289 100644Binary files a/MediaBrowser.Dlna/Images/logo48.png and b/MediaBrowser.Dlna/Images/logo48.png differdiff --git a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj b/MediaBrowser.Dlna/MediaBrowser.Dlna.csprojindex 461470b7ac..962c2a211e 100644--- a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj+++ b/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj@@ -184,6 +184,10 @@<EmbeddedResource Include="Profiles\Xml\Windows 8 RT.xml" /><EmbeddedResource Include="Profiles\Xml\Windows Phone.xml" /></ItemGroup>+ <ItemGroup>+ <EmbeddedResource Include="Images\logo240.jpg" />+ <EmbeddedResource Include="Images\logo240.png" />+ </ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.Dlna/PlayTo/Device.cs b/MediaBrowser.Dlna/PlayTo/Device.csindex 85e18150ed..f67094554f 100644--- a/MediaBrowser.Dlna/PlayTo/Device.cs+++ b/MediaBrowser.Dlna/PlayTo/Device.cs@@ -424,7 +424,7 @@ namespace MediaBrowser.Dlna.PlayTo}catch (Exception ex){- _logger.ErrorException("Error updating device info", ex);+ _logger.ErrorException("Error updating device info for {0}", ex, Properties.Name);_successiveStopCount++;@@ -444,7 +444,7 @@ namespace MediaBrowser.Dlna.PlayTo}catch (Exception ex){- _logger.ErrorException("Error updating device info", ex);+ _logger.ErrorException("Error updating device volume info for {0}", ex, Properties.Name);}}diff --git a/MediaBrowser.Dlna/PlayTo/PlayToManager.cs b/MediaBrowser.Dlna/PlayTo/PlayToManager.csindex a5b816919f..a52c38086d 100644--- a/MediaBrowser.Dlna/PlayTo/PlayToManager.cs+++ b/MediaBrowser.Dlna/PlayTo/PlayToManager.cs@@ -77,42 +77,44 @@ namespace MediaBrowser.Dlna.PlayToreturn;}- var uri = new Uri(location);-- var device = await Device.CreateuPnpDeviceAsync(uri, _httpClient, _config, _logger).ConfigureAwait(false);-- if (device.RendererCommands != null)+ try{- var sessionInfo = await _sessionManager.LogSessionActivity(device.Properties.ClientType, _appHost.ApplicationVersion.ToString(), device.Properties.UUID, device.Properties.Name, uri.OriginalString, null)- .ConfigureAwait(false);+ var uri = new Uri(location);- var controller = sessionInfo.SessionController as PlayToController;+ var device = await Device.CreateuPnpDeviceAsync(uri, _httpClient, _config, _logger).ConfigureAwait(false);- if (controller == null)+ if (device.RendererCommands != null){- var serverAddress = GetServerAddress(localIp);+ var sessionInfo = await _sessionManager.LogSessionActivity(device.Properties.ClientType, _appHost.ApplicationVersion.ToString(), device.Properties.UUID, device.Properties.Name, uri.OriginalString, null)+ .ConfigureAwait(false);- sessionInfo.SessionController = controller = new PlayToController(sessionInfo,- _sessionManager,- _itemRepository,- _libraryManager,- _logger,- _dlnaManager,- _userManager,- _imageProcessor,- serverAddress,- _deviceDiscovery);+ var controller = sessionInfo.SessionController as PlayToController;- controller.Init(device);+ if (controller == null)+ {+ var serverAddress = GetServerAddress(localIp);- var profile = _dlnaManager.GetProfile(device.Properties.ToDeviceIdentification()) ??- _dlnaManager.GetDefaultProfile();+ sessionInfo.SessionController = controller = new PlayToController(sessionInfo,+ _sessionManager,+ _itemRepository,+ _libraryManager,+ _logger,+ _dlnaManager,+ _userManager,+ _imageProcessor,+ serverAddress,+ _deviceDiscovery);- _sessionManager.ReportCapabilities(sessionInfo.Id, new SessionCapabilities- {- PlayableMediaTypes = profile.GetSupportedMediaTypes(),+ controller.Init(device);++ var profile = _dlnaManager.GetProfile(device.Properties.ToDeviceIdentification()) ??+ _dlnaManager.GetDefaultProfile();- SupportedCommands = new List<string>+ _sessionManager.ReportCapabilities(sessionInfo.Id, new SessionCapabilities+ {+ PlayableMediaTypes = profile.GetSupportedMediaTypes(),++ SupportedCommands = new List<string>{GeneralCommandType.VolumeDown.ToString(),GeneralCommandType.VolumeUp.ToString(),@@ -124,12 +126,17 @@ namespace MediaBrowser.Dlna.PlayToGeneralCommandType.SetSubtitleStreamIndex.ToString()},- SupportsMediaControl = true- });+ SupportsMediaControl = true+ });- _logger.Info("DLNA Session created for {0} - {1}", device.Properties.Name, device.Properties.ModelName);+ _logger.Info("DLNA Session created for {0} - {1}", device.Properties.Name, device.Properties.ModelName);+ }}}+ catch (Exception ex)+ {+ _logger.ErrorException("Error creating PlayTo device.", ex);+ }}private string GetServerAddress(IPAddress localIp)diff --git a/MediaBrowser.Dlna/Profiles/DefaultProfile.cs b/MediaBrowser.Dlna/Profiles/DefaultProfile.csindex 0696b2691c..badb37cfc5 100644--- a/MediaBrowser.Dlna/Profiles/DefaultProfile.cs+++ b/MediaBrowser.Dlna/Profiles/DefaultProfile.cs@@ -30,6 +30,8 @@ namespace MediaBrowser.Dlna.ProfilesMaxStreamingBitrate = 8000000;MaxStaticBitrate = 8000000;+ EnableAlbumArtInDidl = true;+TranscodingProfiles = new[]{new TranscodingProfilediff --git a/MediaBrowser.Dlna/Profiles/Xml/Android.xml b/MediaBrowser.Dlna/Profiles/Xml/Android.xmlindex 8d7b5ea2a8..549bea59ed 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Android.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Android.xml@@ -9,7 +9,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Default.xml b/MediaBrowser.Dlna/Profiles/Xml/Default.xmlindex 4cc1eca5d4..2ac840f445 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Default.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Default.xml@@ -9,7 +9,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Denon AVR.xml b/MediaBrowser.Dlna/Profiles/Xml/Denon AVR.xmlindex e25224727f..891353f321 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Denon AVR.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Denon AVR.xml@@ -14,7 +14,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/LG Smart TV.xml b/MediaBrowser.Dlna/Profiles/Xml/LG Smart TV.xmlindex 26183da034..2acee1306f 100644--- a/MediaBrowser.Dlna/Profiles/Xml/LG Smart TV.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/LG Smart TV.xml@@ -15,7 +15,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Linksys DMA2100.xml b/MediaBrowser.Dlna/Profiles/Xml/Linksys DMA2100.xmlindex 0c736cbff8..e5e726cc69 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Linksys DMA2100.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Linksys DMA2100.xml@@ -13,7 +13,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/MediaMonkey.xml b/MediaBrowser.Dlna/Profiles/Xml/MediaMonkey.xmlindex 39174d85a8..fe1a987ab8 100644--- a/MediaBrowser.Dlna/Profiles/Xml/MediaMonkey.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/MediaMonkey.xml@@ -15,7 +15,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Panasonic Viera.xml b/MediaBrowser.Dlna/Profiles/Xml/Panasonic Viera.xmlindex 0166160149..9b59393b4c 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Panasonic Viera.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Panasonic Viera.xml@@ -16,7 +16,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player 2013.xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player 2013.xmlindex 749b7a1339..f3ffd438c9 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player 2013.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player 2013.xml@@ -15,7 +15,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player.xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player.xmlindex aa73bc91d9..2ddb362ac5 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Blu-ray Player.xml@@ -17,7 +17,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2010).xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2010).xmlindex 1b133d8906..00f94455a1 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2010).xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2010).xml@@ -16,7 +16,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://www.microsoft.com/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_TN</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2011).xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2011).xmlindex 29e2a3d712..c985b041e8 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2011).xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2011).xml@@ -16,7 +16,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://www.microsoft.com/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_TN</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2012).xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2012).xmlindex 9805485a3d..8b44b67a66 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2012).xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2012).xml@@ -16,7 +16,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://www.microsoft.com/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_TN</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2013).xml b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2013).xmlindex e3068f23e8..843dc7819c 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2013).xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony Bravia (2013).xml@@ -16,7 +16,7 @@<ModelNumber>3.0</ModelNumber><ModelUrl>http://www.microsoft.com/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_TN</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 3.xml b/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 3.xmlindex 98c781915d..b9e7c62a37 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 3.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Sony PlayStation 3.xml@@ -16,7 +16,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_TN</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/WDTV Live.xml b/MediaBrowser.Dlna/Profiles/Xml/WDTV Live.xmlindex fedc1db6a3..b2b4c31d39 100644--- a/MediaBrowser.Dlna/Profiles/Xml/WDTV Live.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/WDTV Live.xml@@ -16,7 +16,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>true</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Windows 8 RT.xml b/MediaBrowser.Dlna/Profiles/Xml/Windows 8 RT.xmlindex 384a27ca57..766bfdecd4 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Windows 8 RT.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Windows 8 RT.xml@@ -13,7 +13,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Windows Phone.xml b/MediaBrowser.Dlna/Profiles/Xml/Windows Phone.xmlindex aec5b44cb7..3c9528dc20 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Windows Phone.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Windows Phone.xml@@ -9,7 +9,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Xbox 360.xml b/MediaBrowser.Dlna/Profiles/Xml/Xbox 360.xmlindex 17dd473be6..339b8debd7 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Xbox 360.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Xbox 360.xml@@ -16,7 +16,7 @@<ModelNumber>12.0</ModelNumber><ModelUrl>http://www.microsoft.com/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/Xbox One.xml b/MediaBrowser.Dlna/Profiles/Xml/Xbox One.xmlindex e23ad92136..63223fea71 100644--- a/MediaBrowser.Dlna/Profiles/Xml/Xbox One.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/Xbox One.xml@@ -14,7 +14,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Profiles/Xml/foobar2000.xml b/MediaBrowser.Dlna/Profiles/Xml/foobar2000.xmlindex 53d43a7e47..865d343b25 100644--- a/MediaBrowser.Dlna/Profiles/Xml/foobar2000.xml+++ b/MediaBrowser.Dlna/Profiles/Xml/foobar2000.xml@@ -15,7 +15,7 @@<ModelNumber>Media Browser</ModelNumber><ModelUrl>http://mediabrowser.tv/</ModelUrl><IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>- <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>+ <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl><SupportedMediaTypes>Audio</SupportedMediaTypes><AlbumArtPn>JPEG_SM</AlbumArtPn><MaxAlbumArtWidth>512</MaxAlbumArtWidth>diff --git a/MediaBrowser.Dlna/Server/DescriptionXmlBuilder.cs b/MediaBrowser.Dlna/Server/DescriptionXmlBuilder.csindex 9efce5bb3e..f4f724d07a 100644--- a/MediaBrowser.Dlna/Server/DescriptionXmlBuilder.cs+++ b/MediaBrowser.Dlna/Server/DescriptionXmlBuilder.cs@@ -133,6 +133,24 @@ namespace MediaBrowser.Dlna.Server{var list = new List<DeviceIcon>();+ list.Add(new DeviceIcon+ {+ MimeType = "image/png",+ Depth = "24",+ Width = 240,+ Height = 240,+ Url = "/mediabrowser/dlna/icons/logo240.png"+ });++ list.Add(new DeviceIcon+ {+ MimeType = "image/jpeg",+ Depth = "24",+ Width = 240,+ Height = 240,+ Url = "/mediabrowser/dlna/icons/logo240.jpg"+ });+list.Add(new DeviceIcon{MimeType = "image/png",diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.csindex 7002e566de..4c7c0d60c8 100644--- a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs+++ b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs@@ -90,9 +90,14 @@ namespace MediaBrowser.Dlna.Ssdpvalues["HOST"] = "239.255.255.250:1900";values["USER-AGENT"] = "UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2";- values["ST"] = "ssdp:all";+values["MAN"] = "\"ssdp:discover\"";- values["MX"] = "10";++ // Search target+ values["ST"] = "ssdp:all";++ // Seconds to delay response+ values["MX"] = "3";SendDatagram("M-SEARCH * HTTP/1.1", values, localIp);}diff --git a/MediaBrowser.Model/Dlna/SortCriteria.cs b/MediaBrowser.Model/Dlna/SortCriteria.csindex 944d504866..600a2f58e9 100644--- a/MediaBrowser.Model/Dlna/SortCriteria.cs+++ b/MediaBrowser.Model/Dlna/SortCriteria.cs@@ -1,8 +1,14 @@-+using MediaBrowser.Model.Entities;+namespace MediaBrowser.Model.Dlna{public class SortCriteria{+ public SortOrder SortOrder+ {+ get { return SortOrder.Ascending; }+ }+public SortCriteria(string value){diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelDownloadScheduledTask.cs b/MediaBrowser.Server.Implementations/Channels/ChannelDownloadScheduledTask.csindex d219ab0276..af1bd94271 100644--- a/MediaBrowser.Server.Implementations/Channels/ChannelDownloadScheduledTask.cs+++ b/MediaBrowser.Server.Implementations/Channels/ChannelDownloadScheduledTask.cs@@ -71,7 +71,7 @@ namespace MediaBrowser.Server.Implementations.Channelsvar startingPercent = numComplete * percentPerUser * 100;var innerProgress = new ActionableProgress<double>();- innerProgress.RegisterAction(p => progress.Report(startingPercent + (.8 * p)));+ innerProgress.RegisterAction(p => progress.Report(startingPercent + (percentPerUser * p)));await DownloadContent(user, cancellationToken, innerProgress).ConfigureAwait(false);diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs b/MediaBrowser.Server.Implementations/Channels/ChannelManager.csindex 28cbd20e07..c7ca6bb30c 100644--- a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs+++ b/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs@@ -106,7 +106,7 @@ namespace MediaBrowser.Server.Implementations.Channels.OrderBy(i => i.Name);}- public Task<QueryResult<BaseItemDto>> GetChannels(ChannelQuery query, CancellationToken cancellationToken)+ public Task<QueryResult<Channel>> GetChannelsInternal(ChannelQuery query, CancellationToken cancellationToken){var user = string.IsNullOrWhiteSpace(query.UserId)? null@@ -148,21 +148,40 @@ namespace MediaBrowser.Server.Implementations.Channelsall = all.Take(query.Limit.Value).ToList();}+ var returnItems = all.ToArray();++ var result = new QueryResult<Channel>+ {+ Items = returnItems,+ TotalRecordCount = totalCount+ };++ return Task.FromResult(result);+ }++ public async Task<QueryResult<BaseItemDto>> GetChannels(ChannelQuery query, CancellationToken cancellationToken)+ {+ var user = string.IsNullOrWhiteSpace(query.UserId)+ ? null+ : _userManager.GetUserById(new Guid(query.UserId));++ var internalResult = await GetChannelsInternal(query, cancellationToken).ConfigureAwait(false);+// Get everythingvar fields = Enum.GetNames(typeof(ItemFields)).Select(i => (ItemFields)Enum.Parse(typeof(ItemFields), i, true)).ToList();- var returnItems = all.Select(i => _dtoService.GetBaseItemDto(i, fields, user))+ var returnItems = internalResult.Items.Select(i => _dtoService.GetBaseItemDto(i, fields, user)).ToArray();var result = new QueryResult<BaseItemDto>{Items = returnItems,- TotalRecordCount = totalCount+ TotalRecordCount = internalResult.TotalRecordCount};- return Task.FromResult(result);+ return result;}public async Task RefreshChannels(IProgress<double> progress, CancellationToken cancellationToken)@@ -846,7 +865,7 @@ namespace MediaBrowser.Server.Implementations.Channels}}- public async Task<QueryResult<BaseItemDto>> GetChannelItems(ChannelItemQuery query, CancellationToken cancellationToken)+ public async Task<QueryResult<BaseItem>> GetChannelItemsInternal(ChannelItemQuery query, CancellationToken cancellationToken){// Get the internal channel entityvar channel = GetChannel(query.ChannelId);@@ -868,6 +887,12 @@ namespace MediaBrowser.Server.Implementations.Channelsthrow new ArgumentException(string.Format("{0} channel only supports a maximum of {1} records at a time.", channel.Name, channelInfo.MaxPageSize.Value));}providerLimit = query.Limit;++ // This will cause some providers to fail+ if (providerLimit == 0)+ {+ providerLimit = 1;+ }}var user = string.IsNullOrWhiteSpace(query.UserId)@@ -913,6 +938,31 @@ namespace MediaBrowser.Server.Implementations.Channelsreturn await GetReturnItems(internalItems, providerTotalRecordCount, user, query, cancellationToken).ConfigureAwait(false);}+ public async Task<QueryResult<BaseItemDto>> GetChannelItems(ChannelItemQuery query, CancellationToken cancellationToken)+ {+ var user = string.IsNullOrWhiteSpace(query.UserId)+ ? null+ : _userManager.GetUserById(new Guid(query.UserId));++ var internalResult = await GetChannelItemsInternal(query, cancellationToken).ConfigureAwait(false);++ // Get everything+ var fields = Enum.GetNames(typeof(ItemFields))+ .Select(i => (ItemFields)Enum.Parse(typeof(ItemFields), i, true))+ .ToList();++ var returnItems = internalResult.Items.Select(i => _dtoService.GetBaseItemDto(i, fields, user))+ .ToArray();++ var result = new QueryResult<BaseItemDto>+ {+ Items = returnItems,+ TotalRecordCount = internalResult.TotalRecordCount+ };++ return result;+ }+private readonly SemaphoreSlim _resourcePool = new SemaphoreSlim(1, 1);private async Task<ChannelItemResult> GetChannelItems(IChannel channel,User user,@@ -1054,7 +1104,7 @@ namespace MediaBrowser.Server.Implementations.Channelsfilename + ".json");}- private async Task<QueryResult<BaseItemDto>> GetReturnItems(IEnumerable<BaseItem> items, int? totalCountFromProvider, User user, ChannelItemQuery query, CancellationToken cancellationToken)+ private async Task<QueryResult<BaseItem>> GetReturnItems(IEnumerable<BaseItem> items, int? totalCountFromProvider, User user, ChannelItemQuery query, CancellationToken cancellationToken){items = ApplyFilters(items, query.Filters, user);@@ -1078,10 +1128,9 @@ namespace MediaBrowser.Server.Implementations.Channelsawait RefreshIfNeeded(all, cancellationToken).ConfigureAwait(false);- var returnItemArray = all.Select(i => _dtoService.GetBaseItemDto(i, query.Fields, user))- .ToArray();+ var returnItemArray = all.ToArray();- return new QueryResult<BaseItemDto>+ return new QueryResult<BaseItem>{Items = returnItemArray,TotalRecordCount = totalCountdiff --git a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.csindex 04ddb4c4b1..a27755d758 100644--- a/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs+++ b/MediaBrowser.Server.Implementations/EntryPoints/ExternalPortForwarding.cs@@ -97,11 +97,6 @@ namespace MediaBrowser.Server.Implementations.EntryPointsvar info = _appHost.GetSystemInfo();CreatePortMap(device, info.HttpServerPortNumber);-- if (info.WebSocketPortNumber != info.HttpServerPortNumber)- {- CreatePortMap(device, info.WebSocketPortNumber);- }}private void CreatePortMap(INatDevice device, int port)diff --git a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.csindex 9191e0bea3..3b4379e374 100644--- a/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs+++ b/MediaBrowser.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs@@ -4,6 +4,7 @@ using MediaBrowser.Controller.Configuration;using MediaBrowser.Controller.Net;using MediaBrowser.Controller.Plugins;using MediaBrowser.Model.Logging;+using MediaBrowser.Model.Serialization;using MediaBrowser.Server.Implementations.Udp;using System.Net.Sockets;@@ -37,6 +38,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints/// </summary>private readonly IHttpServer _httpServer;private readonly IServerApplicationHost _appHost;+ private readonly IJsonSerializer _json;public const int PortNumber = 7359;@@ -47,13 +49,14 @@ namespace MediaBrowser.Server.Implementations.EntryPoints/// <param name="networkManager">The network manager.</param>/// <param name="serverConfigurationManager">The server configuration manager.</param>/// <param name="httpServer">The HTTP server.</param>- public UdpServerEntryPoint(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer, IServerApplicationHost appHost)+ public UdpServerEntryPoint(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer, IServerApplicationHost appHost, IJsonSerializer json){_logger = logger;_networkManager = networkManager;_serverConfigurationManager = serverConfigurationManager;_httpServer = httpServer;_appHost = appHost;+ _json = json;}/// <summary>@@ -61,7 +64,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints/// </summary>public void Run(){- var udpServer = new UdpServer(_logger, _networkManager, _serverConfigurationManager, _httpServer, _appHost);+ var udpServer = new UdpServer(_logger, _networkManager, _serverConfigurationManager, _httpServer, _appHost, _json);try{diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicAlbumResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicAlbumResolver.csindex 2ee3d49a44..7f533d416f 100644--- a/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicAlbumResolver.cs+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicAlbumResolver.cs@@ -59,14 +59,16 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audiovar collectionType = args.GetCollectionType();+ var isMusicMediaFolder = string.Equals(collectionType, CollectionType.Music,+ StringComparison.OrdinalIgnoreCase);+// If there's a collection type and it's not music, don't allow it.- if (!string.IsNullOrEmpty(collectionType) &&- !string.Equals(collectionType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))+ if (!isMusicMediaFolder){return null;}- return IsMusicAlbum(args) ? new MusicAlbum() : null;+ return IsMusicAlbum(args, isMusicMediaFolder) ? new MusicAlbum() : null;}@@ -74,27 +76,29 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audio/// Determine if the supplied file data points to a music album/// </summary>/// <param name="path">The path.</param>+ /// <param name="isMusicMediaFolder">if set to <c>true</c> [is music media folder].</param>/// <param name="directoryService">The directory service.</param>/// <param name="logger">The logger.</param>/// <param name="fileSystem">The file system.</param>/// <returns><c>true</c> if [is music album] [the specified data]; otherwise, <c>false</c>.</returns>- public static bool IsMusicAlbum(string path, IDirectoryService directoryService, ILogger logger, IFileSystem fileSystem)+ public static bool IsMusicAlbum(string path, bool isMusicMediaFolder, IDirectoryService directoryService, ILogger logger, IFileSystem fileSystem){- return ContainsMusic(directoryService.GetFileSystemEntries(path), true, directoryService, logger, fileSystem);+ return ContainsMusic(directoryService.GetFileSystemEntries(path), isMusicMediaFolder, true, directoryService, logger, fileSystem);}/// <summary>/// Determine if the supplied resolve args should be considered a music album/// </summary>/// <param name="args">The args.</param>+ /// <param name="isMusicMediaFolder">if set to <c>true</c> [is music media folder].</param>/// <returns><c>true</c> if [is music album] [the specified args]; otherwise, <c>false</c>.</returns>- private bool IsMusicAlbum(ItemResolveArgs args)+ private bool IsMusicAlbum(ItemResolveArgs args, bool isMusicMediaFolder){// Args points to an album if parent is an Artist folder or it directly contains musicif (args.IsDirectory){//if (args.Parent is MusicArtist) return true; //saves us from testing children twice- if (ContainsMusic(args.FileSystemChildren, true, args.DirectoryService, _logger, _fileSystem)) return true;+ if (ContainsMusic(args.FileSystemChildren, isMusicMediaFolder, true, args.DirectoryService, _logger, _fileSystem)) return true;}return false;@@ -104,12 +108,18 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audio/// Determine if the supplied list contains what we should consider music/// </summary>/// <param name="list">The list.</param>+ /// <param name="isMusicMediaFolder">if set to <c>true</c> [is music media folder].</param>/// <param name="allowSubfolders">if set to <c>true</c> [allow subfolders].</param>/// <param name="directoryService">The directory service.</param>/// <param name="logger">The logger.</param>/// <param name="fileSystem">The file system.</param>/// <returns><c>true</c> if the specified list contains music; otherwise, <c>false</c>.</returns>- private static bool ContainsMusic(IEnumerable<FileSystemInfo> list, bool allowSubfolders, IDirectoryService directoryService, ILogger logger, IFileSystem fileSystem)+ private static bool ContainsMusic(IEnumerable<FileSystemInfo> list,+ bool isMusicMediaFolder,+ bool allowSubfolders,+ IDirectoryService directoryService,+ ILogger logger,+ IFileSystem fileSystem){// If list contains at least 2 audio files or at least one and no video files consider it to contain musicvar foundAudio = 0;@@ -120,7 +130,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audio{if ((fileSystemInfo.Attributes & FileAttributes.Directory) == FileAttributes.Directory){- if (allowSubfolders && IsAlbumSubfolder(fileSystemInfo, directoryService, logger, fileSystem))+ if (isMusicMediaFolder && allowSubfolders && IsAlbumSubfolder(fileSystemInfo, true, directoryService, logger, fileSystem)){discSubfolderCount++;}@@ -135,27 +145,27 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audioif (EntityResolutionHelper.IsAudioFile(fullName)){// Don't resolve these into audio files- if (string.Equals(fileSystem.GetFileNameWithoutExtension(fullName), BaseItem.ThemeSongFilename) && EntityResolutionHelper.IsAudioFile(fullName))+ if (string.Equals(fileSystem.GetFileNameWithoutExtension(fullName), BaseItem.ThemeSongFilename)){continue;}foundAudio++;}+ else if (EntityResolutionHelper.IsVideoFile(fullName)) return false;+ else if (EntityResolutionHelper.IsVideoPlaceHolder(fullName)) return false;+if (foundAudio >= 2){return true;}-- if (EntityResolutionHelper.IsVideoFile(fullName)) return false;- if (EntityResolutionHelper.IsVideoPlaceHolder(fullName)) return false;}// or a single audio file and no video filesreturn foundAudio > 0 || discSubfolderCount > 0;}- private static bool IsAlbumSubfolder(FileSystemInfo directory, IDirectoryService directoryService, ILogger logger, IFileSystem fileSystem)+ private static bool IsAlbumSubfolder(FileSystemInfo directory, bool isMusicMediaFolder, IDirectoryService directoryService, ILogger logger, IFileSystem fileSystem){var path = directory.FullName;@@ -163,7 +173,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audio{logger.Debug("Found multi-disc folder: " + path);- return ContainsMusic(directoryService.GetFileSystemEntries(path), false, directoryService, logger, fileSystem);+ return ContainsMusic(directoryService.GetFileSystemEntries(path), isMusicMediaFolder, false, directoryService, logger, fileSystem);}return false;@@ -171,7 +181,8 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audioprivate static bool IsMultiDiscFolder(string path){- return EntityResolutionHelper.IsMultiPartFolder(path);+ return false;+ //return EntityResolutionHelper.IsMultiPartFolder(path);}private static bool IsAdditionalSubfolderAllowed(FileSystemInfo directory)diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicArtistResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicArtistResolver.csindex 19a284d15c..2417d5dcb8 100644--- a/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicArtistResolver.cs+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/Audio/MusicArtistResolver.cs@@ -62,9 +62,11 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audiovar collectionType = args.GetCollectionType();+ var isMusicMediaFolder = string.Equals(collectionType, CollectionType.Music,+ StringComparison.OrdinalIgnoreCase);+// If there's a collection type and it's not music, it can't be a series- if (!string.IsNullOrEmpty(collectionType) &&- !string.Equals(collectionType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))+ if (!isMusicMediaFolder){return null;}@@ -72,7 +74,7 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Audiovar directoryService = args.DirectoryService;// If we contain an album assume we are an artist folder- return args.FileSystemChildren.Where(i => (i.Attributes & FileAttributes.Directory) == FileAttributes.Directory).Any(i => MusicAlbumResolver.IsMusicAlbum(i.FullName, directoryService, _logger, _fileSystem)) ? new MusicArtist() : null;+ return args.FileSystemChildren.Where(i => (i.Attributes & FileAttributes.Directory) == FileAttributes.Directory).Any(i => MusicAlbumResolver.IsMusicAlbum(i.FullName, isMusicMediaFolder, directoryService, _logger, _fileSystem)) ? new MusicArtist() : null;}}diff --git a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.csindex 519d775ded..a17c33845f 100644--- a/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs+++ b/MediaBrowser.Server.Implementations/Library/Resolvers/TV/SeriesResolver.cs@@ -5,6 +5,7 @@ using MediaBrowser.Controller.Entities.TV;using MediaBrowser.Controller.Library;using MediaBrowser.Controller.Resolvers;using MediaBrowser.Model.Entities;+using MediaBrowser.Model.Logging;using System;using System.IO;@@ -16,10 +17,12 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TVpublic class SeriesResolver : FolderResolver<Series>{private readonly IFileSystem _fileSystem;+ private readonly ILogger _logger;- public SeriesResolver(IFileSystem fileSystem)+ public SeriesResolver(IFileSystem fileSystem, ILogger logger){_fileSystem = fileSystem;+ _logger = logger;}/// <summary>@@ -64,19 +67,8 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV{return null;}-- // It's a Series if any of the following conditions are met:- // series.xml exists- // [tvdbid= is present in the path- // TVUtils.IsSeriesFolder returns true- var filename = Path.GetFileName(args.Path);-- if (string.IsNullOrEmpty(filename))- {- return null;- }- if (TVUtils.IsSeriesFolder(args.Path, collectionType == CollectionType.TvShows, args.FileSystemChildren, args.DirectoryService, _fileSystem))+ if (TVUtils.IsSeriesFolder(args.Path, string.Equals(collectionType, CollectionType.TvShows, StringComparison.OrdinalIgnoreCase), args.FileSystemChildren, args.DirectoryService, _fileSystem, _logger)){return new Series();}diff --git a/MediaBrowser.Server.Implementations/Library/UserViewManager.cs b/MediaBrowser.Server.Implementations/Library/UserViewManager.csindex 73afa22e38..b8cb955fc9 100644--- a/MediaBrowser.Server.Implementations/Library/UserViewManager.cs+++ b/MediaBrowser.Server.Implementations/Library/UserViewManager.cs@@ -1,4 +1,7 @@-using MediaBrowser.Common.IO;+using System.IO;+using MediaBrowser.Common.Extensions;+using MediaBrowser.Common.IO;+using MediaBrowser.Controller;using MediaBrowser.Controller.Channels;using MediaBrowser.Controller.Entities;using MediaBrowser.Controller.Entities.Audio;@@ -16,6 +19,7 @@ using System.Collections.Generic;using System.Linq;using System.Threading;using System.Threading.Tasks;+using MediaBrowser.Server.Implementations.Configuration;namespace MediaBrowser.Server.Implementations.Library{@@ -28,8 +32,9 @@ namespace MediaBrowser.Server.Implementations.Libraryprivate readonly IChannelManager _channelManager;private readonly ILiveTvManager _liveTvManager;+ private readonly IServerApplicationPaths _appPaths;- public UserViewManager(ILibraryManager libraryManager, ILocalizationManager localizationManager, IFileSystem fileSystem, IUserManager userManager, IChannelManager channelManager, ILiveTvManager liveTvManager)+ public UserViewManager(ILibraryManager libraryManager, ILocalizationManager localizationManager, IFileSystem fileSystem, IUserManager userManager, IChannelManager channelManager, ILiveTvManager liveTvManager, IServerApplicationPaths appPaths){_libraryManager = libraryManager;_localizationManager = localizationManager;@@ -37,6 +42,7 @@ namespace MediaBrowser.Server.Implementations.Library_userManager = userManager;_channelManager = channelManager;_liveTvManager = liveTvManager;+ _appPaths = appPaths;}public async Task<IEnumerable<Folder>> GetUserViews(UserViewQuery query, CancellationToken cancellationToken)@@ -124,5 +130,37 @@ namespace MediaBrowser.Server.Implementations.Libraryreturn _libraryManager.GetNamedView(name, type, sortName, cancellationToken);}++ public async Task<SpecialFolder> GetSpecialFolder(string name, SpecialFolderType type, string itemType, CancellationToken cancellationToken)+ {+ var path = Path.Combine(_appPaths.ItemsByNamePath,+ "specialfolders",+ _fileSystem.GetValidFilename(name));++ var id = (path + "_specialfolder_" + name).GetMBId(typeof(SpecialFolder));++ var item = _libraryManager.GetItemById(id) as SpecialFolder;++ if (item == null)+ {+ Directory.CreateDirectory(Path.GetDirectoryName(path));++ item = new SpecialFolder+ {+ Path = path,+ Id = id,+ DateCreated = DateTime.UtcNow,+ Name = name,+ SpecialFolderType = type,+ ItemTypeName = itemType+ };++ await _libraryManager.CreateItem(item, cancellationToken).ConfigureAwait(false);++ await item.RefreshMetadata(cancellationToken).ConfigureAwait(false);+ }++ return item;+ }}}diff --git a/MediaBrowser.Server.Implementations/LiveTv/CleanDatabaseScheduledTask.cs b/MediaBrowser.Server.Implementations/LiveTv/CleanDatabaseScheduledTask.csindex 56e92f82c4..bed9458ecf 100644--- a/MediaBrowser.Server.Implementations/LiveTv/CleanDatabaseScheduledTask.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/CleanDatabaseScheduledTask.cs@@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv{return new ITaskTrigger[]{- new IntervalTrigger{ Interval = TimeSpan.FromHours(24)}+ new IntervalTrigger{ Interval = TimeSpan.FromHours(12)}};}diff --git a/MediaBrowser.Server.Implementations/Localization/JavaScript/javascript.json b/MediaBrowser.Server.Implementations/Localization/JavaScript/javascript.jsonindex 4c17357ff2..3a5b91abd9 100644--- a/MediaBrowser.Server.Implementations/Localization/JavaScript/javascript.json+++ b/MediaBrowser.Server.Implementations/Localization/JavaScript/javascript.json@@ -178,7 +178,6 @@"LabelVideoCodec": "Video: {0}","LabelRemoteAccessUrl": "Remote access: {0}","LabelRunningOnPort": "Running on port {0}.",- "LabelRunningOnPorts": "Running on ports {0} and {1}.","HeaderLatestFromChannel": "Latest from {0}","ButtonDownload": "Download","LabelUnknownLanaguage": "Unknown language",diff --git a/MediaBrowser.Server.Implementations/Localization/JavaScript/kk.json b/MediaBrowser.Server.Implementations/Localization/JavaScript/kk.jsonindex 083f026652..a3f636e629 100644--- a/MediaBrowser.Server.Implementations/Localization/JavaScript/kk.json+++ b/MediaBrowser.Server.Implementations/Localization/JavaScript/kk.json@@ -1,5 +1,5 @@{- "SettingsSaved": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.",+ "SettingsSaved": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440 \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.","AddUser": "\u041f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043d\u044b \u04af\u0441\u0442\u0435\u0443","Users": "\u041f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440","Delete": "\u0416\u043e\u044e",@@ -46,9 +46,9 @@"HeaderTaskTriggers": "\u0422\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u043b\u0435\u0440\u0456","MessageDeleteTaskTrigger": "\u0428\u044b\u043d\u044b\u043c\u0435\u043d \u043e\u0441\u044b \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0456\u043d \u0436\u043e\u044e \u049b\u0430\u0436\u0435\u0442 \u043f\u0435?","MessageNoPluginsInstalled": "\u041e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d \u043f\u043b\u0430\u0433\u0438\u043d\u0434\u0435\u0440 \u0436\u043e\u049b.",- "LabelVersionInstalled": "{0} \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d",+ "LabelVersionInstalled": "{0} \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d","LabelNumberReviews": "{0} \u043f\u0456\u043a\u0456\u0440",- "LabelFree": "\u0410\u049b\u044b\u0441\u044b\u0437",+ "LabelFree": "\u0422\u0435\u0433\u0456\u043d","HeaderSelectAudio": "\u0414\u044b\u0431\u044b\u0441 \u0442\u0430\u04a3\u0434\u0430\u0443","HeaderSelectSubtitles": "\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u043b\u0435\u0440 \u0442\u0430\u04a3\u0434\u0430\u0443","LabelDefaultStream": "(\u04d8\u0434\u0435\u043f\u043a\u0456)",@@ -289,7 +289,7 @@"ButtonRestart": "\u049a\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443","MessagePleaseRefreshPage": "\u0416\u0430\u04a3\u0430 \u0436\u0430\u04a3\u0430\u0440\u0442\u0443\u043b\u0430\u0440\u0434\u044b \u0430\u043b\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0431\u0435\u0442\u0442\u0456 \u049b\u0430\u0439\u0442\u0430 \u0436\u04af\u043a\u0442\u0435\u04a3\u0456\u0437.","ButtonHide": "\u0416\u0430\u0441\u044b\u0440\u0443",- "MessageSettingsSaved": "\u0422\u0435\u04a3\u0448\u0435\u043b\u0456\u043c \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.",+ "MessageSettingsSaved": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440 \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.","ButtonSignOut": "\u0428\u044b\u0493\u0443","ButtonMyProfile": "\u041c\u0435\u043d\u0456\u04a3 \u043f\u0440\u043e\u0444\u0430\u0439\u043b\u044b\u043c","ButtonMyPreferences": "\u041c\u0435\u043d\u0456\u04a3 \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0434\u0435\u0440\u0456\u043c",diff --git a/MediaBrowser.Server.Implementations/Localization/JavaScript/pt_PT.json b/MediaBrowser.Server.Implementations/Localization/JavaScript/pt_PT.jsonindex 473d75cb51..50391496b3 100644--- a/MediaBrowser.Server.Implementations/Localization/JavaScript/pt_PT.json+++ b/MediaBrowser.Server.Implementations/Localization/JavaScript/pt_PT.json@@ -314,7 +314,7 @@"ButtonSubtitles": "Legendas","ButtonScenes": "Cenas","ButtonQuality": "Quality",- "HeaderNotifications": "Notifications",+ "HeaderNotifications": "Notifica\u00e7\u00f5es","HeaderSelectPlayer": "Select Player:","ButtonSelect": "Selecionar","ButtonNew": "Novo",diff --git a/MediaBrowser.Server.Implementations/Localization/JavaScript/ru.json b/MediaBrowser.Server.Implementations/Localization/JavaScript/ru.jsonindex 80bdc43f7c..2fd2d8ae98 100644--- a/MediaBrowser.Server.Implementations/Localization/JavaScript/ru.json+++ b/MediaBrowser.Server.Implementations/Localization/JavaScript/ru.json@@ -46,8 +46,8 @@"HeaderTaskTriggers": "\u0422\u0440\u0438\u0433\u0433\u0435\u0440\u044b \u0437\u0430\u0434\u0430\u043d\u0438\u044f","MessageDeleteTaskTrigger": "\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0442\u0440\u0438\u0433\u0433\u0435\u0440 \u0437\u0430\u0434\u0430\u043d\u0438\u044f?","MessageNoPluginsInstalled": "\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430.",- "LabelVersionInstalled": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f: {0}",- "LabelNumberReviews": "\u041e\u0442\u0437\u044b\u0432\u043e\u0432: {0}",+ "LabelVersionInstalled": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430: {0}",+ "LabelNumberReviews": "\u041e\u0442\u0437\u044b\u0432\u044b: {0}","LabelFree": "\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e","HeaderSelectAudio": "\u0412\u044b\u0431\u043e\u0440 \u0430\u0443\u0434\u0438\u043e","HeaderSelectSubtitles": "\u0412\u044b\u0431\u043e\u0440 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432",@@ -232,7 +232,7 @@"OptionBlockChannelContent": "\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043a\u0430\u043d\u0430\u043b\u043e\u0432","ButtonRevoke": "\u041e\u0442\u043e\u0437\u0432\u0430\u0442\u044c","MessageConfirmRevokeApiKey": "\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043e\u0437\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 API? \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a Media Browser \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0437\u043a\u043e \u043e\u0431\u043e\u0440\u0432\u0430\u043d\u043e.",- "HeaderConfirmRevokeApiKey": "\u041e\u0442\u0437\u044b\u0432 \u043a\u043b\u044e\u0447\u0430 API",+ "HeaderConfirmRevokeApiKey": "\u041e\u0442\u0437\u044b\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430 API","ValueContainer": "\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440: {0}","ValueAudioCodec": "\u0410\u0443\u0434\u0438\u043e \u043a\u043e\u0434\u0435\u043a: {0}","ValueVideoCodec": "\u0412\u0438\u0434\u0435\u043e \u043a\u043e\u0434\u0435\u043a: {0}",diff --git a/MediaBrowser.Server.Implementations/Localization/Server/ar.json b/MediaBrowser.Server.Implementations/Localization/Server/ar.jsonindex 667245839a..056b31c924 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/ar.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/ar.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/ca.json b/MediaBrowser.Server.Implementations/Localization/Server/ca.jsonindex bcca3aeb9c..ac4c13b014 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/ca.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/ca.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/cs.json b/MediaBrowser.Server.Implementations/Localization/Server/cs.jsonindex 71ca6fc498..f591af7350 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/cs.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/cs.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/da.json b/MediaBrowser.Server.Implementations/Localization/Server/da.jsonindex 7a5bd76322..e32fb18f8e 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/da.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/da.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "System venligt navn",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/de.json b/MediaBrowser.Server.Implementations/Localization/Server/de.jsonindex ea1b4a1bc5..ef7b00c35b 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/de.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/de.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Maximale Bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Freundlicher Name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/el.json b/MediaBrowser.Server.Implementations/Localization/Server/el.jsonindex 2edf373264..eb0cd1b87a 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/el.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/el.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/en_GB.json b/MediaBrowser.Server.Implementations/Localization/Server/en_GB.jsonindex 7ff88733ae..43c9bd211f 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/en_GB.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/en_GB.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/en_US.json b/MediaBrowser.Server.Implementations/Localization/Server/en_US.jsonindex 930401e5cb..a0238b0201 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/en_US.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/en_US.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/es.json b/MediaBrowser.Server.Implementations/Localization/Server/es.jsonindex 94c6c9ec47..e4d0086317 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/es.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/es.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Estos valores controlan el modo en que Media Browser se presentar\u00e1 en el dispositivo.","LabelMaxBitrate": "Bitrate m\u00e1ximo:","LabelMaxBitrateHelp": "Especificar una tasa de bits m\u00e1xima en entornos de ancho de banda limitado, o si el dispositivo impone su propio l\u00edmite.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignorar las solicitudes de intervalo de bytes de transcodificaci\u00f3n","OptionIgnoreTranscodeByteRangeRequestsHelp": "Si est\u00e1 activado, estas solicitudes ser\u00e1n atendidas pero ignorar\u00e1n el encabezado de intervalo de bytes.","LabelFriendlyName": "Nombre amigable",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/es_MX.json b/MediaBrowser.Server.Implementations/Localization/Server/es_MX.jsonindex f1a323e6d1..d6e96d1ed7 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/es_MX.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/es_MX.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Estos valores controlan la manera en que Media Browser se presentar\u00e1 a s\u00ed mismo ante el dispositivo.","LabelMaxBitrate": "Tasa de bits m\u00e1xima:","LabelMaxBitrateHelp": "Especifique la tasa de bits m\u00e1xima para ambientes con un ancho de banda limitado, o si el dispositivo impone sus propios l\u00edmites.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignorar solicitudes de transcodificaci\u00f3n de rango de byte.","OptionIgnoreTranscodeByteRangeRequestsHelp": "Si se habilita, estas solicitudes seran honradas pero se ignorar\u00e1 el encabezado de rango de byte.","LabelFriendlyName": "Nombre amistoso:",@@ -888,5 +892,13 @@"ButtonSync": "Sincronizar","TabScheduledTasks": "Tareas Programadas","HeaderChapters": "Cap\u00edtulos",- "HeaderResumeSettings": "Configuraci\u00f3n para Continuar"+ "HeaderResumeSettings": "Configuraci\u00f3n para Continuar",+ "TabSync": "Sync",+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/fr.json b/MediaBrowser.Server.Implementations/Localization/Server/fr.jsonindex 275cd20c33..4626f659bf 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/fr.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/fr.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Ces valeurs contr\u00f4lent comment Media Browser sera pr\u00e9sent\u00e9 \u00e0 l'appareil.","LabelMaxBitrate": "D\u00e9bit maximum:","LabelMaxBitrateHelp": "Sp\u00e9cifiez un d\u00e9bit maximum dans les environnements avec bande passante limit\u00e9e ou si l'appareil impose sa propre limite.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore le transcodage des demandes de plage d'octets","OptionIgnoreTranscodeByteRangeRequestsHelp": "Si activ\u00e9, ces requ\u00eates\/demandes seront honor\u00e9es mais l'ent\u00eate de plage d'octets sera ignor\u00e9. ","LabelFriendlyName": "Surnom d'affichage",@@ -890,5 +894,11 @@"HeaderChapters": "Chapitres","HeaderResumeSettings": "Reprendre les param\u00e8tres","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/he.json b/MediaBrowser.Server.Implementations/Localization/Server/he.jsonindex 51a27549e7..a44b45ae0a 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/he.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/he.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/it.json b/MediaBrowser.Server.Implementations/Localization/Server/it.jsonindex dba80e2b4f..2101e854a1 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/it.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/it.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Controllano questi valori come Media Browser si presenter\u00e0 al dispositivo.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specificare un bitrate massimo in ambienti larghezza di banda limitata, o se il dispositivo impone il suo limite proprio.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignorare le richieste di intervallo di byte di trascodifica","OptionIgnoreTranscodeByteRangeRequestsHelp": "Se abilitata, queste richieste saranno onorati, ma ignorano l'intestazione intervallo di byte.","LabelFriendlyName": "Nome Condiviso",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/kk.json b/MediaBrowser.Server.Implementations/Localization/Server/kk.jsonindex a3120ffe4b..aabaffb518 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/kk.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/kk.json@@ -16,11 +16,11 @@"LabelYoureDone": "\u0411\u04d9\u0440\u0456 \u0434\u0430\u0439\u044b\u043d!","WelcomeToMediaBrowser": "Media Browser-\u0433\u0435 \u049b\u043e\u0448 \u043a\u0435\u043b\u0434\u0456\u04a3\u0456\u0437!","TitleMediaBrowser": "Media Browser",- "ThisWizardWillGuideYou": "\u0411\u04b1\u043b \u043a\u043e\u043c\u0435\u043a\u0448\u0456 \u0431\u0430\u0441\u0442\u0430\u043f\u049b\u044b \u043e\u0440\u043d\u0430\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0456 \u0441\u0430\u0442\u044b\u043b\u0430\u0440\u044b\u043c\u0435\u043d \u04e9\u0442\u043a\u0456\u0437\u0435\u0434\u0456. \u0411\u0430\u0441\u0442\u0430\u0443 \u04af\u0448\u0456\u043d \u0442\u0456\u043b\u0434\u0456 \u0442\u0430\u04a3\u0434\u0430\u04a3\u044b\u0437.",+ "ThisWizardWillGuideYou": "\u0411\u04b1\u043b \u043a\u043e\u043c\u0435\u043a\u0448\u0456 \u0431\u0430\u0441\u0442\u0430\u043f\u049b\u044b \u043e\u0440\u043d\u0430\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0456 \u0441\u0430\u0442\u044b\u043b\u0430\u0440\u044b\u043c\u0435\u043d \u04e9\u0442\u043a\u0456\u0437\u0435\u0434\u0456. \u0411\u0430\u0441\u0442\u0430\u0443 \u04af\u0448\u0456\u043d \u04e9\u0437\u0456\u04a3\u0456\u0437\u0433\u0435 \u0442\u0456\u043b \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0456\u043d \u0442\u0430\u04a3\u0434\u0430\u04a3\u044b\u0437.","TellUsAboutYourself": "\u04e8\u0437\u0456\u04a3\u0456\u0437 \u0442\u0443\u0440\u0430\u043b\u044b \u0430\u0439\u0442\u044b\u04a3\u044b\u0437","LabelYourFirstName": "\u0410\u0442\u044b\u04a3\u044b\u0437:","MoreUsersCanBeAddedLater": "\u041a\u04e9\u0431\u0456\u0440\u0435\u043a \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b \u043a\u0435\u0439\u0456\u043d \u0411\u0430\u049b\u044b\u043b\u0430\u0443 \u0442\u0430\u049b\u0442\u0430\u0441\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u04af\u0441\u0442\u0435\u0443\u0456\u04a3\u0456\u0437 \u043c\u04af\u043c\u043a\u0456\u043d.",- "UserProfilesIntro": "Media Browser \u0431\u0435\u043a\u0456\u0442\u0456\u043b\u0433\u0435\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u043f\u0440\u043e\u0444\u0438\u043b\u044c\u0434\u0435\u0440\u0456\u043d \u049b\u0430\u043c\u0442\u0438\u0434\u044b, \u04d9\u0440 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u0493\u0430 \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u0443, \u043e\u0439\u043d\u0430\u0442\u0443 \u043a\u04af\u0439\u0456 \u0436\u04d9\u043d\u0435 \u0436\u0430\u0441\u0442\u0430\u0441 \u0441\u0430\u043d\u0430\u0442\u044b\u043d \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u04af\u0448\u0456\u043d \u04e9\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440\u0456 \u049b\u043e\u0441\u044b\u043b\u0430\u0434\u044b.",+ "UserProfilesIntro": "Media Browser \u0431\u0435\u043a\u0456\u0442\u0456\u043b\u0433\u0435\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u043f\u0440\u043e\u0444\u0438\u043b\u044c\u0434\u0435\u0440\u0456\u043d \u049b\u0430\u043c\u0442\u0438\u0434\u044b, \u04d9\u0440 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u0493\u0430 \u04e9\u0437\u0456\u043d\u0456\u04a3 \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440\u0456, \u043e\u0439\u043d\u0430\u0442\u0443 \u043a\u04af\u0439\u0456 \u0436\u04d9\u043d\u0435 \u0436\u0430\u0441\u0442\u0430\u0441 \u0441\u0430\u043d\u0430\u0442\u044b \u049b\u043e\u0441\u044b\u043b\u0430\u0434\u044b.","LabelWindowsService": "Windows \u049b\u044b\u0437\u043c\u0435\u0442\u0456","AWindowsServiceHasBeenInstalled": "Windows \u049b\u044b\u0437\u043c\u0435\u0442\u0456 \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0434\u044b.","WindowsServiceIntro1": "Media Browser Server \u0436\u04af\u0439\u0435\u043b\u0456\u043a \u0442\u0430\u049b\u0442\u0430\u0434\u0430\u0493\u044b \u0431\u0435\u043b\u0433\u0456\u0448\u0435\u0441\u0456 \u0431\u0430\u0440 \u0436\u04b1\u043c\u044b\u0441 \u04af\u0441\u0442\u0435\u043b\u0456\u043d\u0456\u04a3 \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u0441\u044b \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u04d9\u0434\u0435\u043f\u043a\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0430\u0434\u044b, \u0431\u0456\u0440\u0430\u049b \u0435\u0433\u0435\u0440 \u0431\u04b1\u043d\u044b \u04e9\u04a3\u0434\u0456\u043a \u049b\u044b\u0437\u043c\u0435\u0442\u0456 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u0442\u0435\u04a3\u0448\u0435\u0443\u0434\u0456 \u049b\u0430\u043b\u0430\u0441\u0430\u04a3\u044b\u0437, \u043e\u0440\u043d\u044b\u043d\u0430 \u0431\u04b1\u043b Windows \u049b\u044b\u0437\u043c\u0435\u0442\u0442\u0435\u0440 \u0434\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440\u0456 \u0430\u0440\u049b\u044b\u043b\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.",@@ -43,7 +43,7 @@"ReferToMediaLibraryWiki": "\u0422\u0430\u0441\u0443\u0448\u044b\u0445\u0430\u043d\u0430 \u0442\u0443\u0440\u0430\u043b\u044b \u0443\u0438\u043a\u0438 \u0456\u0448\u0456\u043d\u0435\u043d \u049b\u0430\u0440\u0430\u04a3\u044b\u0437.","LabelCountry": "\u0415\u043b:","LabelLanguage": "\u0422\u0456\u043b:",- "HeaderPreferredMetadataLanguage": "\u041c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0456:",+ "HeaderPreferredMetadataLanguage": "\u041c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0456:","LabelSaveLocalMetadata": "\u0421\u0443\u0440\u0435\u0442\u0442\u0435\u043c\u0435 v\u0435\u043d \u043c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a\u0442\u0456 \u0442\u0430\u0441\u0443\u0448\u044b \u049b\u0430\u043b\u0442\u0430\u043b\u0430\u0440\u044b \u0456\u0448\u0456\u043d\u0434\u0435 \u0441\u0430\u049b\u0442\u0430\u0443","LabelSaveLocalMetadataHelp": "\u0421\u0443\u0440\u0435\u0442\u0442\u0435\u043c\u0435 \u043c\u0435\u043d \u043c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a\u0442\u0456 \u0442\u0456\u043a\u0435\u043b\u0435\u0439 \u0442\u0430\u0441\u0443\u0448\u044b \u049b\u0430\u043b\u0442\u0430\u043b\u0430\u0440\u044b \u0456\u0448\u0456\u043d\u0434\u0435 \u0441\u0430\u049b\u0442\u0430\u043b\u0443\u044b \u043e\u043b\u0430\u0440\u0434\u044b \u0436\u0435\u04a3\u0456\u043b \u04e9\u04a3\u0434\u0435\u0439 \u0430\u043b\u0430\u0442\u044b\u043d \u043e\u0440\u044b\u043d\u0493\u0430 \u049b\u043e\u044f\u0434\u044b.","LabelDownloadInternetMetadata": "\u0421\u0443\u0440\u0435\u0442\u0442\u0435\u043c\u0435 \u043c\u0435\u043d \u043c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a\u0442\u0456 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0442\u0435\u043d \u0436\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u0443",@@ -281,7 +281,7 @@"LabelAutomaticUpdatesTmdbHelp": "\u049a\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u0436\u0430\u04a3\u0430 \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440 TheMovieDB.org \u0434\u0435\u0440\u0435\u049b\u043e\u0440\u044b\u043d\u0430 \u04af\u0441\u0442\u0435\u043b\u0433\u0435\u043d \u0431\u043e\u0439\u0434\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0442\u044b \u0442\u04af\u0440\u0434\u0435 \u0436\u04af\u043a\u0442\u0435\u043b\u0456\u043f \u0430\u043b\u044b\u043d\u0430\u0434\u044b. \u0411\u0430\u0440 \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440 \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u044b\u043b\u043c\u0430\u0439\u0434\u044b.","LabelAutomaticUpdatesTvdbHelp": "\u049a\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u0436\u0430\u04a3\u0430 \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440 TheTVDB.com \u0434\u0435\u0440\u0435\u049b\u043e\u0440\u044b\u043d\u0430 \u04af\u0441\u0442\u0435\u043b\u0433\u0435\u043d \u0431\u043e\u0439\u0434\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0442\u044b \u0442\u04af\u0440\u0434\u0435 \u0436\u04af\u043a\u0442\u0435\u043b\u0456\u043f \u0430\u043b\u044b\u043d\u0430\u0434\u044b. \u0411\u0430\u0440 \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440 \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u044b\u043b\u043c\u0430\u0439\u0434\u044b.","ExtractChapterImagesHelp": "\u0421\u0430\u0445\u043d\u0430 \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440\u0456\u043d \u0448\u044b\u0493\u0430\u0440\u044b\u043f \u0430\u043b\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0442\u0435\u0440\u0433\u0435 \u0441\u0430\u0445\u043d\u0430 \u0431\u04e9\u043b\u0435\u043a\u0442\u0435\u0443\u0433\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0441\u044b\u0437\u0431\u0430\u043b\u044b\u049b \u043c\u04d9\u0437\u0456\u0440\u043b\u0435\u0440\u0434\u0456 \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u0443 \u04af\u0448\u0456\u043d \u0440\u04b1\u049b\u0441\u0430\u0442 \u0435\u0442\u0435\u0434\u0456. \u0411\u04b1\u043b \u043f\u0440\u043e\u0446\u0435\u0441 \u0431\u0430\u044f\u0443, \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0434\u044b \u0442\u043e\u0437\u0434\u044b\u0440\u0430\u0442\u044b\u043d \u0436\u04d9\u043d\u0435 \u0431\u0456\u0440\u0430\u0437 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442 \u043a\u0435\u04a3\u0456\u0441\u0442\u0456\u043a\u0442\u0456 \u049b\u0430\u0436\u0435\u0442 \u0435\u0442\u0435\u0442\u0456\u043d \u0431\u043e\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d. \u041e\u043b \u0431\u0435\u0439\u043d\u0435\u0444\u0430\u0439\u043b\u0434\u0430\u0440\u044b \u0442\u0430\u0431\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u0436\u04d9\u043d\u0435 \u0442\u0430\u04a3\u0493\u044b 4:00 \u0441\u0430\u0493\u0430\u0442\u044b\u043d\u0430 \u0436\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0493\u0430\u043d \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0439\u0434\u0456. \u041e\u0440\u044b\u043d\u0434\u0430\u0443 \u043a\u0435\u0441\u0442\u0435\u0441\u0456 \u0416\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0443\u0448\u044b \u0430\u0439\u043c\u0430\u0493\u044b\u043d\u0434\u0430 \u0442\u0435\u04a3\u0448\u0435\u043b\u0435\u0434\u0456. \u0411\u04b1\u043b \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043d\u044b \u049b\u0430\u0440\u0431\u0430\u043b\u0430\u0441 \u0441\u0430\u0493\u0430\u0442\u0442\u0430\u0440\u044b\u043d\u0434\u0430 \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0442\u043a\u0456\u0437\u0443 \u04b1\u0441\u044b\u043d\u044b\u043b\u043c\u0430\u0439\u0434\u044b.",- "LabelMetadataDownloadLanguage": "\u041c\u0435\u0442\u0430\u0434\u0435\u0440\u0435\u043a \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0456:",+ "LabelMetadataDownloadLanguage": "\u0416\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u0443 \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u0442\u0435\u04a3\u0448\u0435\u043b\u0456\u043c\u0456:","ButtonAutoScroll": "\u0410\u0432\u0442\u043e\u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0443","LabelImageSavingConvention": "\u0421\u0443\u0440\u0435\u0442 \u0441\u0430\u049b\u0442\u0430\u0443 \u043a\u0435\u043b\u0456\u0441\u0456\u043c\u0456:","LabelImageSavingConventionHelp": "Media Browser \u043a\u0435\u04a3 \u0442\u0430\u0440\u0430\u0493\u0430\u043d \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0430 \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u043b\u0430\u0440\u044b\u043d\u0430\u043d \u0430\u043b\u044b\u043d\u0493\u0430\u043d \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u0442\u0430\u043d\u0438\u0434\u044b. \u0421\u043e\u043d\u044b\u043c\u0435\u043d \u049b\u0430\u0442\u0430\u0440 \u0431\u0430\u0441\u049b\u0430 \u04e9\u043d\u0456\u043c\u0434\u0435\u0440 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0434\u0430 \u0431\u043e\u043b\u0441\u0430, \u0436\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u0443 \u043a\u0435\u043b\u0456\u0441\u0456\u043c\u0456\u043d \u0442\u0430\u04a3\u0434\u0430\u0443 \u043f\u0430\u0439\u0434\u0430\u043b\u044b.",@@ -676,7 +676,7 @@"TabResponses": "\u04ae\u043d \u049b\u0430\u0442\u0443\u043b\u0430\u0440","HeaderProfileInformation": "\u041f\u0440\u043e\u0444\u0430\u0439\u043b \u0430\u049b\u043f\u0430\u0440\u0430\u0442\u044b","LabelEmbedAlbumArtDidl": "Didl \u0456\u0448\u0456\u043d\u0435 \u0430\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456\u043d \u0435\u043d\u0434\u0456\u0440\u0443",- "LabelEmbedAlbumArtDidlHelp": "\u041a\u0435\u0439\u0431\u0456\u0440 \u0436\u0430\u0431\u0434\u044b\u049b\u0442\u0430\u0440\u0493\u0430 \u0430\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456\u043d \u0430\u043b\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u04d9\u0434\u0456\u0441 \u049b\u0430\u0436\u0435\u0442. \u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440 \u0430\u0440\u049b\u044b\u043b\u044b, \u043e\u0441\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u043e\u0439\u043d\u0430\u0442\u0443 \u0441\u04d9\u0442\u0441\u0456\u0437 \u0431\u043e\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.",+ "LabelEmbedAlbumArtDidlHelp": "\u041a\u0435\u0439\u0431\u0456\u0440 \u0436\u0430\u0431\u0434\u044b\u049b\u0442\u0430\u0440\u0493\u0430 \u0430\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456\u043d \u0430\u043b\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u04d9\u0434\u0456\u0441 \u049b\u0430\u0436\u0435\u0442. \u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440 \u04af\u0448\u0456\u043d, \u043e\u0441\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u043e\u0439\u043d\u0430\u0442\u0443 \u0441\u04d9\u0442\u0441\u0456\u0437 \u0431\u043e\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.","LabelAlbumArtPN": "\u0410\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456 PN:","LabelAlbumArtHelp": "PN \u0430\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456 \u04af\u0448\u0456\u043d upnp:albumArtURI \u0456\u0448\u0456\u043d\u0434\u0435\u0433\u0456 dlna:profileID \u0442\u04e9\u043b\u0441\u0438\u043f\u0430\u0442\u044b\u043c\u0435\u043d \u0431\u0456\u0440\u0433\u0435 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u044b\u043b\u0430\u0434\u044b. \u041a\u0435\u0439\u0431\u0456\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0442\u0435\u0440 \u04af\u0448\u0456\u043d \u0441\u0443\u0440\u0435\u0442\u0442\u0456\u04a3 \u04e9\u043b\u0448\u0435\u043c\u0456\u043d\u0435 \u0430\u04a3\u0493\u0430\u0440\u0443\u0441\u044b\u0437 \u043d\u0430\u049b\u0442\u044b \u043c\u04d9\u043d \u049b\u0430\u0436\u0435\u0442.","LabelAlbumArtMaxWidth": "\u0410\u043b\u044c\u0431\u043e\u043c \u0441\u0443\u0440\u0435\u0442\u0456\u043d\u0456\u04a3 \u0435\u04a3 \u0436\u043e\u0493\u0430\u0440\u044b \u0435\u043d\u0456:",@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "\u0411\u04b1\u043b \u043c\u04d9\u043d\u0434\u0435\u0440 Media Browser \u049b\u0430\u043b\u0430\u0439 \u04e9\u0437\u0456\u043d \u0436\u0430\u0431\u0434\u044b\u049b\u0442\u0430 \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0442\u0456\u043d\u0456\u04a3 \u0431\u0430\u0441\u049b\u0430\u0440\u0430\u0434\u044b.","LabelMaxBitrate": "\u0415\u04a3 \u0436\u043e\u0493\u0430\u0440\u044b \u049b\u0430\u0440\u049b\u044b\u043d:","LabelMaxBitrateHelp": "\u04e8\u0442\u043a\u0456\u0437\u0443 \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u0433\u0456 \u0448\u0435\u043a\u0442\u0435\u043b\u0433\u0435\u043d \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u0434\u0430\u0493\u044b \u0435\u04a3 \u0436\u043e\u0493\u0430\u0440\u044b \u049b\u0430\u0440\u049b\u044b\u043d\u0434\u044b \u0430\u043d\u044b\u049b\u0442\u0430\u04a3\u044b\u0437.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "\u049a\u0430\u0439\u0442\u0430 \u043a\u043e\u0434\u0442\u0430\u0443 \u0431\u0430\u0439\u0442 \u0430\u0443\u049b\u044b\u043c\u044b \u0441\u04b1\u0440\u0430\u043d\u044b\u0441\u0442\u0430\u0440\u044b\u043d \u0435\u043b\u0435\u043c\u0435\u0443","OptionIgnoreTranscodeByteRangeRequestsHelp": "\u049a\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430, \u043e\u0441\u044b \u0441\u04b1\u0440\u0430\u043d\u044b\u0441\u0442\u0430\u0440\u043c\u0435\u043d \u0441\u0430\u043d\u0430\u0441\u0443 \u0431\u043e\u043b\u0430\u0434\u044b, \u0431\u0456\u0440\u0430\u049b \u0431\u0430\u0439\u0442 \u0430\u0443\u049b\u044b\u043c\u044b\u043d\u044b\u04a3 \u0431\u0430\u0441 \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u043c\u0435\u0441\u0456 \u0435\u043b\u0435\u043f \u0435\u0441\u043a\u0435\u0440\u0456\u043b\u043c\u0435\u0439\u0434\u0456.","LabelFriendlyName": "\u0422\u04af\u0441\u0456\u043d\u0456\u043a\u0442\u0456 \u0430\u0442\u044b",@@ -885,10 +889,16 @@"TabUsers": "\u041f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440","HeaderFeatures": "\u041c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440","HeaderAdvanced": "\u049a\u043e\u0441\u044b\u043c\u0448\u0430",- "ButtonSync": "\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0434\u0430\u0443",+ "ButtonSync": "\u0421\u0438\u043d\u0445\u0440\u043e","TabScheduledTasks": "\u0416\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0443\u0448\u044b","HeaderChapters": "\u0421\u0430\u0445\u043d\u0430\u043b\u0430\u0440","HeaderResumeSettings": "\u0416\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440\u0456",- "TabSync": "Sync",- "TitleUsers": "Users"+ "TabSync": "\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0434\u0430\u0443",+ "TitleUsers": "\u041f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/ko.json b/MediaBrowser.Server.Implementations/Localization/Server/ko.jsonindex c558cbe8dc..19b5c8b1d8 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/ko.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/ko.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/ms.json b/MediaBrowser.Server.Implementations/Localization/Server/ms.jsonindex 134ff44d8e..6cfd966a48 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/ms.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/ms.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/nb.json b/MediaBrowser.Server.Implementations/Localization/Server/nb.jsonindex 165bf3f66d..733c92f7b6 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/nb.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/nb.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/nl.json b/MediaBrowser.Server.Implementations/Localization/Server/nl.jsonindex 5862688a60..bb014d6c13 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/nl.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/nl.json@@ -65,12 +65,12 @@"LabelSubtitleLanguagePreference": "Voorkeurs taal ondertiteling:","OptionDefaultSubtitles": "Standaard","OptionOnlyForcedSubtitles": "Alleen 'geforceerde' ondertiteling",- "OptionAlwaysPlaySubtitles": "Altijd ondertiteling weergeven",+ "OptionAlwaysPlaySubtitles": "Ondertiteling altijd weergeven","OptionNoSubtitles": "Geen ondertitels",- "OptionDefaultSubtitlesHelp": "Ondertiteling wordt weergegeven in de voorkeurstaal als de audio in een buitenlandse taal is.",- "OptionOnlyForcedSubtitlesHelp": "Alleen ondertiteling die als 'forced' gemarkeerd zijn worden geladen.",+ "OptionDefaultSubtitlesHelp": "Ondertiteling wordt weergegeven in de voorkeurstaal als de audio in een andere taal is.",+ "OptionOnlyForcedSubtitlesHelp": "Alleen ondertitels gemarkeerd als \"gedwongen\" zullen worden geladen.","OptionAlwaysPlaySubtitlesHelp": "Ondertiteling wordt weergegeveen in de voorkeurstaal ongeacht de taal van de audio.",- "OptionNoSubtitlesHelp": "Ondertiteling wordt niet standaard weergegeven.",+ "OptionNoSubtitlesHelp": "Ondertiteling wordt standaard niet weergegeven.","TabProfiles": "Profielen","TabSecurity": "Beveiliging","ButtonAddUser": "Gebruiker toevoegen",@@ -136,7 +136,7 @@"OptionAlbumArtist": "Albumartiest","OptionArtist": "Artiest","OptionAlbum": "Album",- "OptionTrackName": "Track Naam",+ "OptionTrackName": "Naam van Nummer","OptionCommunityRating": "Gemeenschaps Waardering","OptionNameSort": "Naam","OptionFolderSort": "Mappen",@@ -237,7 +237,7 @@"ButtonGroupVersions": "Groepeer Versies","ButtonAddToCollection": "Toevoegen aan verzameling","PismoMessage": "Pismo File Mount (met een geschonken licentie).",- "TangibleSoftwareMessage": "Tangible Solution Java\/C# converters worden onder een gedoneerde licentie gebruikt.",+ "TangibleSoftwareMessage": "Gebruik makend van concrete oplossingen als Java \/ C converters door een geschonken licentie.","HeaderCredits": "Credits","PleaseSupportOtherProduces": "Steun A.U.B. ook de andere gratis producten die wij gebruiken:","VersionNumber": "Versie {0}",@@ -296,7 +296,7 @@"PasswordLocalhostMessage": "Wachtwoorden zijn niet vereist bij het aanmelden van localhost.","TabGuide": "Gids","TabChannels": "Kanalen",- "TabCollections": "Verzameling",+ "TabCollections": "Verzamelingen","HeaderChannels": "Kanalen","TabRecordings": "Opnamen","TabScheduled": "Gepland",@@ -613,7 +613,7 @@"ButtonArrowRight": "Rechts","ButtonBack": "Terug","ButtonInfo": "Info",- "ButtonOsd": "On Screen Display",+ "ButtonOsd": "Weergave op het scherm","ButtonPageUp": "Page Up","ButtonPageDown": "Page Down","PageAbbreviation": "PG",@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Deze waarden bepalen hoe Media Browser zichzelf zal presenteren aan het apparaat.","LabelMaxBitrate": "Max. bitrate:","LabelMaxBitrateHelp": "Geef een max. bitrate in bandbreedte beperkte omgevingen, of als het apparaat zijn eigen limiet heeft.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Transcodeer byte range-aanvragen negeren","OptionIgnoreTranscodeByteRangeRequestsHelp": "Indien ingeschakeld, zal deze verzoeken worden gehonoreerd, maar zal de byte bereik header worden genegerd.","LabelFriendlyName": "Aangepaste naam",@@ -745,14 +749,14 @@"LabelDisplayPluginsFor": "Toon Plug-ins voor:","PluginTabMediaBrowserClassic": "MB Classic","PluginTabMediaBrowserTheater": "MB Theater",- "LabelEpisodeName": "Naam aflevering",- "LabelSeriesName": "Naam serie",- "ValueSeriesNamePeriod": "Naam.Serie",- "ValueSeriesNameUnderscore": "Naam_Serie",- "ValueEpisodeNamePeriod": "Naam.Aflevering",- "ValueEpisodeNameUnderscore": "Naam_Aflevering",+ "LabelEpisodeName": "Aflevering naam",+ "LabelSeriesName": "Serie naam",+ "ValueSeriesNamePeriod": "Serie.Naam",+ "ValueSeriesNameUnderscore": "Serie_naam",+ "ValueEpisodeNamePeriod": "Aflevering.naam",+ "ValueEpisodeNameUnderscore": "Aflevering_naam","HeaderTypeText": "Voer tekst in",- "LabelTypeText": "tekst",+ "LabelTypeText": "Tekst","HeaderSearchForSubtitles": "Zoeken naar Ondertitels","MessageNoSubtitleSearchResultsFound": "Geen zoekresultaten gevonden.","TabDisplay": "Weergave",@@ -800,7 +804,7 @@"LabelEnableChannelContentDownloadingFor": "Schakel kanaalinhoud downloaden in voor:","LabelEnableChannelContentDownloadingForHelp": "Sommige kanalen ondersteunen downloaden en later kijken. Schakel deze optie in als er weinig bandbreedte beschikbaar is. Inhoud zal dan tijdens de kanaal download taak uitgevoerd worden.","LabelChannelDownloadPath": "Kanaal inhoud download pad:",- "LabelChannelDownloadPathHelp": "Geef een eigen download pad op als dit gewenst is, leeglaten voor dowloaden naar de interne program data map.",+ "LabelChannelDownloadPathHelp": "Geef een eigen download pad op als dit gewenst is, leeglaten voor dowloaden naar de interne programa data map.","LabelChannelDownloadAge": "Verwijder inhoud na: (dagen)","LabelChannelDownloadAgeHelp": "Gedownloade inhoud die ouder is zal worden verwijderd. Afspelen via internet streaming blijft mogelijk.","ChannelSettingsFormHelp": "Installeer kanalen zoals Trailers en Vimeo in de Plug-in catalogus.",@@ -836,7 +840,7 @@"LabelGroupChannelsIntoViews": "Toon de volgende kanalen binnen mijn overzichten:","LabelGroupChannelsIntoViewsHelp": "Indien ingeschakeld, zullen deze kanalen direct naast andere overzichten worden weergegeven. Indien uitgeschakeld, zullen ze worden weergegeven in een aparte kanalen overzicht.","LabelDisplayCollectionsView": "Toon Collecties in Mijn Overzichten om film collecties te tonen",- "LabelXbmcMetadataEnableExtraThumbs": "Kopieer extrafanart naar extrathunms",+ "LabelXbmcMetadataEnableExtraThumbs": "Kopieer extrafanart naar extrathumbs","LabelXbmcMetadataEnableExtraThumbsHelp": "Als er afbeeldingen gedownload worden kunnen deze in extrafanart en extrathumbs worden opgeslagen voor maximale compatibiliteit met XBMC skins","TabServices": "Meta Diensten","TabLogs": "Logboeken",@@ -890,5 +894,11 @@"HeaderChapters": "Hoofdstukken","HeaderResumeSettings": "Instellingen voor Hervatten","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Gebruikers",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/pl.json b/MediaBrowser.Server.Implementations/Localization/Server/pl.jsonindex 135b640f28..8e07ffe222 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/pl.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/pl.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/pt_BR.json b/MediaBrowser.Server.Implementations/Localization/Server/pt_BR.jsonindex 55d76aa8b6..dec101dfd3 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/pt_BR.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/pt_BR.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Estes valores controlam como o Media Browser ser\u00e1 exibido no dispositivo.","LabelMaxBitrate": "Taxa de bits m\u00e1xima:","LabelMaxBitrateHelp": "Especifique uma taxa de bits m\u00e1xima para ambientes com restri\u00e7\u00e3o de tamanho de banda, ou se o dispositivo imp\u00f5e esse limite.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignorar requisi\u00e7\u00f5es de extens\u00e3o do byte de transcodifica\u00e7\u00e3o","OptionIgnoreTranscodeByteRangeRequestsHelp": "Se ativadas, estas requisi\u00e7\u00f5es ser\u00e3o honradas mas ir\u00e3o ignorar o cabe\u00e7alho da extens\u00e3o do byte.","LabelFriendlyName": "Nome amig\u00e1vel",@@ -767,10 +771,10 @@"OptionAuto": "Auto","OptionYes": "Sim","OptionNo": "N\u00e3o",- "LabelHomePageSection1": "Se\u00e7\u00e3o um da tela de in\u00edcio:",- "LabelHomePageSection2": "Se\u00e7\u00e3o dois da tela de in\u00edcio:",- "LabelHomePageSection3": "Se\u00e7\u00e3o tr\u00eas da tela de in\u00edcio:",- "LabelHomePageSection4": "Se\u00e7\u00e3o quatro da tela de in\u00edcio",+ "LabelHomePageSection1": "Tela de in\u00edcio se\u00e7\u00e3o 1:",+ "LabelHomePageSection2": "Tela de in\u00edcio se\u00e7\u00e3o 2:",+ "LabelHomePageSection3": "Tela de in\u00edcio se\u00e7\u00e3o 3:",+ "LabelHomePageSection4": "Tela de in\u00edcio se\u00e7\u00e3o 4:","OptionMyViewsButtons": "Minhas visualiza\u00e7\u00f5es (bot\u00f5es)","OptionMyViews": "Minhas visualiza\u00e7\u00f5es","OptionMyViewsSmall": "Minhas visualiza\u00e7\u00f5es (pequeno)",@@ -889,6 +893,12 @@"TabScheduledTasks": "Tarefas Agendadas","HeaderChapters": "Cap\u00edtulos","HeaderResumeSettings": "Ajustes para Retomar",- "TabSync": "Sync",- "TitleUsers": "Users"+ "TabSync": "Sincroniza\u00e7\u00e3o",+ "TitleUsers": "Usu\u00e1rios",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/pt_PT.json b/MediaBrowser.Server.Implementations/Localization/Server/pt_PT.jsonindex 966365f7c0..01e446591b 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/pt_PT.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/pt_PT.json@@ -190,7 +190,7 @@"HeaderStatus": "Estado","OptionContinuing": "A Continuar","OptionEnded": "Terminado",- "HeaderAirDays": "Dias de Exibi\u00e7\u00e3o:",+ "HeaderAirDays": "Dias de Exibi\u00e7\u00e3o","OptionSunday": "Domingo","OptionMonday": "Segunda","OptionTuesday": "Ter\u00e7a",@@ -198,8 +198,8 @@"OptionThursday": "Quinta","OptionFriday": "Sexta","OptionSaturday": "S\u00e1bado",- "HeaderManagement": "Gest\u00e3o:",- "LabelManagement": "Management:",+ "HeaderManagement": "Gest\u00e3o",+ "LabelManagement": "Administra\u00e7\u00e3o:","OptionMissingImdbId": "Id do IMDb em falta","OptionMissingTvdbId": "iD do TheTVDB em falta","OptionMissingOverview": "Descri\u00e7\u00e3o em falta",@@ -257,11 +257,11 @@"ButtonSelectDirectory": "Selecione a diretoria","LabelCustomPaths": "Defina localiza\u00e7\u00f5es personalizadas. Deixe os campos em branco para usar os valores padr\u00e3o.","LabelCachePath": "Localiza\u00e7\u00e3o da cache:",- "LabelCachePathHelp": "Esta pasta cont\u00e9m ficheiros de cacha do servidor, como por exemplo, imagens.",+ "LabelCachePathHelp": "Defina uma localiza\u00e7\u00e3o para ficheiros de cache do servidor, como por exemplo, imagens.","LabelImagesByNamePath": "Localiza\u00e7\u00e3o das imagens por nome:",- "LabelImagesByNamePathHelp": "Esta pasta cont\u00e9m imagens de atores, artistas, g\u00e9neros e est\u00fadios.",+ "LabelImagesByNamePathHelp": "Defina uma localiza\u00e7\u00e3o para imagens de atores, artistas, g\u00e9neros e est\u00fadios.","LabelMetadataPath": "Localiza\u00e7\u00e3o dos metadados:",- "LabelMetadataPathHelp": "Esta localiza\u00e7\u00e3o cont\u00e9m imagens e metadados transferidos que n\u00e3o foram configurados para serem armazenados nas pastas multim\u00e9dia.",+ "LabelMetadataPathHelp": "Defina uma localiza\u00e7\u00e3o para imagens e metadados transferidos que n\u00e3o foram configurados para serem armazenados nas pastas multim\u00e9dia.","LabelTranscodingTempPath": "Localiza\u00e7\u00e3o tempor\u00e1ria das transcodifica\u00e7\u00f5es:","LabelTranscodingTempPathHelp": "Esta pasta cont\u00e9m ficheiros de trabalho usados pelo transcodificador.","TabBasics": "B\u00e1sico",@@ -630,7 +630,7 @@"ButtonFullscreen": "Toggle fullscreen","ButtonScenes": "Cenas","ButtonSubtitles": "Legendas",- "ButtonAudioTracks": "Audio tracks",+ "ButtonAudioTracks": "Faixas de \u00e1udio","ButtonPreviousTrack": "Previous track","ButtonNextTrack": "Next track","ButtonStop": "Parar",@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Estes valores controlam como o Media Browser ser\u00e1 exibido no dispositivo.","LabelMaxBitrate": "Taxa de bits m\u00e1xima:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Nome amig\u00e1vel",@@ -871,24 +875,30 @@"HeaderNewApiKeyHelp": "Grant an application permission to communicate with Media Browser.","HeaderHttpHeaders": "Http Headers","HeaderIdentificationHeader": "Identification Header",- "LabelValue": "Value:",+ "LabelValue": "Valor:","LabelMatchType": "Match type:",- "OptionEquals": "Equals",+ "OptionEquals": "Iguais","OptionRegex": "Regex","OptionSubstring": "Substring","TabView": "View",- "TabSort": "Sort",- "TabFilter": "Filter",- "ButtonView": "View",+ "TabSort": "Ordenar",+ "TabFilter": "Filtro",+ "ButtonView": "Visualizar","LabelPageSize": "Item limit:",- "LabelView": "View:",+ "LabelView": "Visualizar:","TabUsers": "Users","HeaderFeatures": "Features",- "HeaderAdvanced": "Advanced",- "ButtonSync": "Sync",+ "HeaderAdvanced": "Avan\u00e7ado",+ "ButtonSync": "Sincronizar","TabScheduledTasks": "Scheduled Tasks",- "HeaderChapters": "Chapters",+ "HeaderChapters": "Cap\u00edtulos","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/ru.json b/MediaBrowser.Server.Implementations/Localization/Server/ru.jsonindex c5ea589e86..aa6dd94f31 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/ru.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/ru.json@@ -47,7 +47,7 @@"LabelSaveLocalMetadata": "\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u0435\u0434\u0438\u0430\u043f\u0430\u043f\u043e\u043a","LabelSaveLocalMetadataHelp": "\u0418\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u0435\u0434\u0438\u0430\u043f\u0430\u043f\u043e\u043a, \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c.","LabelDownloadInternetMetadata": "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430",- "LabelDownloadInternetMetadataHelp": "\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f Media Browser, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445.",+ "LabelDownloadInternetMetadataHelp": "\u0414\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0435 \u0432 Media Browser.","TabPreferences": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","TabPassword": "\u041f\u0430\u0440\u043e\u043b\u044c","TabLibraryAccess": "\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u0435\u0434\u0438\u0430\u0442\u0435\u043a\u0435",@@ -337,7 +337,7 @@"OptionAutomatic": "\u0410\u0432\u0442\u043e","LiveTvPluginRequired": "\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d-\u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a \u0443\u0441\u043b\u0443\u0433 \u044d\u0444\u0438\u0440\u043d\u043e\u0433\u043e \u0422\u0412 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f.","LiveTvPluginRequiredHelp": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, NextPVR \u0438\u043b\u0438 ServerWMC.",- "LabelCustomizeOptionsPerMediaType": "\u041f\u043e\u0434\u0433\u043e\u043d\u043a\u0430 \u043f\u043e \u0442\u0438\u043f\u0443 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f:",+ "LabelCustomizeOptionsPerMediaType": "\u041f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e \u0442\u0438\u043f\u0443 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f:","OptionDownloadThumbImage": "\u0411\u0435\u0433\u0443\u043d\u043e\u043a","OptionDownloadMenuImage": "\u041c\u0435\u043d\u044e","OptionDownloadLogoImage": "\u041b\u043e\u0433\u043e\u0442\u0438\u043f",@@ -590,7 +590,7 @@"NotificationOptionInstallationFailed": "\u0421\u0431\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438","NotificationOptionNewLibraryContent": "\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e","NotificationOptionNewLibraryContentMultiple": "\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e (\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e)",- "SendNotificationHelp": "\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u044f\u0449\u0438\u043a \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0418\u043d\u0444\u043e\u043f\u0430\u043d\u0435\u043b\u0438. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439.",+ "SendNotificationHelp": "\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u044f\u0449\u0438\u043a \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0418\u043d\u0444\u043e\u043f\u0430\u043d\u0435\u043b\u0438. \u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439.","NotificationOptionServerRestartRequired": "\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430","LabelNotificationEnabled": "\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435","LabelMonitorUsers": "\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0442:",@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "\u042d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442, \u043a\u0430\u043a Media Browser \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.","LabelMaxBitrate": "\u041c\u0430\u043a\u0441. \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c:","LabelMaxBitrateHelp": "\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0443\u044e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u0441\u0440\u0435\u0434\u0430\u0445 \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c\u044e, \u043b\u0438\u0431\u043e \u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0451 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "\u0418\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430 \u0431\u0430\u0439\u0442\u043e\u0432 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438","OptionIgnoreTranscodeByteRangeRequestsHelp": "\u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438, \u044d\u0442\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0442\u0435\u043d\u044b, \u043d\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430 \u0431\u0430\u0439\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d.","LabelFriendlyName": "\u041f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u0438\u043c\u044f",@@ -705,7 +709,7 @@"HeaderIdentificationCriteriaHelp": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, \u043e\u0434\u0438\u043d \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439.","HeaderDirectPlayProfileHelp": "\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e.","HeaderTranscodingProfileHelp": "\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430.",- "HeaderResponseProfileHelp": "\u041f\u0440\u043e\u0444\u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u043e\u0433\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c\u0443\u044e \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0438\u0434\u043e\u0432 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0435\u0439.",+ "HeaderResponseProfileHelp": "\u041f\u0440\u043e\u0444\u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c\u043e\u0439 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0438\u0434\u043e\u0432 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0435\u0439.","LabelXDlnaCap": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 X-Dlna:","LabelXDlnaCapHelp": "\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 X_DLNACAP \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0451\u043d urn:schemas-dlna-org:device-1-0","LabelXDlnaDoc": "\u0421\u0445\u0435\u043c\u0430 X-Dlna:",@@ -792,7 +796,7 @@"MessageNoCollectionsAvailable": "\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0438\u0437 \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u0441\u0435\u0440\u0438\u0430\u043b\u043e\u0432, \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432 \u0438 \u0438\u0433\u0440. \u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 \"\u0421\u043e\u0437\u0434\u0430\u0442\u044c\", \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e.","HeaderWelcomeToMediaBrowserWebClient": "\u0412\u0435\u0431-\u043a\u043b\u0438\u0435\u043d\u0442 Media Browser \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0430\u0441!","ButtonDismiss": "\u0421\u043a\u0440\u044b\u0442\u044c",- "MessageLearnHowToCustomize": "\u0418\u0437\u0443\u0447\u0438\u0442\u0435, \u043a\u0430\u043a \u043f\u043e\u0434\u043e\u0433\u043d\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u0432\u043a\u0443\u0441\u0443. \u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0430\u0432\u0430\u0442\u0430\u0440\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u044d\u043a\u0440\u0430\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.",+ "MessageLearnHowToCustomize": "\u041e\u0437\u043d\u0430\u043a\u043e\u043c\u044c\u0442\u0435\u0441\u044c, \u043a\u0430\u043a \u043f\u043e\u0434\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u043b\u0438\u0447\u043d\u043e\u043c\u0443 \u0432\u043a\u0443\u0441\u0443. \u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0430\u0432\u0430\u0442\u0430\u0440\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u044d\u043a\u0440\u0430\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.","ButtonEditOtherUserPreferences": "\u041f\u0440\u0430\u0432\u0438\u0442\u044c \u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.","LabelChannelStreamQuality": "\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442:","LabelChannelStreamQualityHelp": "\u0412 \u0441\u0440\u0435\u0434\u0435 \u0441 \u043d\u0438\u0437\u043a\u043e\u0439 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c\u044e, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u043f\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.",@@ -842,7 +846,7 @@"TabLogs": "\u0416\u0443\u0440\u043d\u0430\u043b\u044b","HeaderServerLogFiles": "\u0424\u0430\u0439\u043b\u044b \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:","TabBranding": "\u0411\u0440\u0435\u043d\u0434\u0438\u043d\u0433",- "HeaderBrandingHelp": "\u041f\u043e\u0434\u0433\u043e\u043d\u043a\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430 Media Browser \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0432\u0430\u0448\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u0438\u043b\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438.",+ "HeaderBrandingHelp": "\u041f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 Media Browser \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0432\u0430\u0448\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u0438\u043b\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438.","LabelLoginDisclaimer": "\u041e\u0433\u043e\u0432\u043e\u0440\u043a\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u0445\u043e\u0434\u0430:","LabelLoginDisclaimerHelp": "\u042d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0438\u0436\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432\u0445\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443.","LabelAutomaticallyDonate": "\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u043a\u0430\u0436\u0434\u044b\u0435 \u0448\u0435\u0441\u0442\u044c \u043c\u0435\u0441\u044f\u0446\u0435\u0432",@@ -858,7 +862,7 @@"HeaderLatestMusic": "\u041d\u043e\u0432\u0438\u043d\u043a\u0438 \u043c\u0443\u0437\u044b\u043a\u0438","HeaderBranding": "\u0411\u0440\u0435\u043d\u0434\u0438\u043d\u0433","HeaderApiKeys": "\u041a\u043b\u044e\u0447\u0438 API",- "HeaderApiKeysHelp": "\u0412\u043d\u0435\u0448\u043d\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447 API, \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a Media Browser. \u041a\u043b\u044e\u0447\u0438 \u0432\u044b\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0441 \u0443\u0447\u0451\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e Media Browser, \u0438\u043b\u0438 \u043a\u043b\u044e\u0447 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e.",+ "HeaderApiKeysHelp": "\u0412\u043d\u0435\u0448\u043d\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447 API, \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a Media Browser. \u041a\u043b\u044e\u0447\u0438 \u0432\u044b\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0441 \u0443\u0447\u0451\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e Media Browser, \u0438\u043b\u0438 \u043a\u043b\u044e\u0447 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0432\u0440\u0443\u0447\u043d\u0443\u044e.","HeaderApiKey": "\u041a\u043b\u044e\u0447 API","HeaderApp": "\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435","HeaderDevice": "\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",@@ -889,6 +893,12 @@"TabScheduledTasks": "\u041f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a","HeaderChapters": "\u0421\u0446\u0435\u043d\u044b","HeaderResumeSettings": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",- "TabSync": "Sync",- "TitleUsers": "Users"+ "TabSync": "\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f",+ "TitleUsers": "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/sv.json b/MediaBrowser.Server.Implementations/Localization/Server/sv.jsonindex c6c0426408..5e76f85c91 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/sv.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/sv.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "Dessa v\u00e4rden styr hur Media Browser presenterar sig f\u00f6r enheten.","LabelMaxBitrate": "H\u00f6gsta bithastighet:","LabelMaxBitrateHelp": "Ange en h\u00f6gsta bithastighet i bandbreddsbegr\u00e4nsade milj\u00f6er, eller i fall d\u00e4r enheten har sina egna begr\u00e4nsningar.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignorera beg\u00e4ran om \"byte range\" vid omkodning","OptionIgnoreTranscodeByteRangeRequestsHelp": "Om aktiverad kommer beg\u00e4ran att uppfyllas, men \"byte range\"-rubriken ignoreras.","LabelFriendlyName": "\u00d6nskat namn",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/vi.json b/MediaBrowser.Server.Implementations/Localization/Server/vi.jsonindex 17748ecc7f..4ddd7a7d12 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/vi.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/vi.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/Localization/Server/zh_TW.json b/MediaBrowser.Server.Implementations/Localization/Server/zh_TW.jsonindex 352a031e1b..d79d48099b 100644--- a/MediaBrowser.Server.Implementations/Localization/Server/zh_TW.json+++ b/MediaBrowser.Server.Implementations/Localization/Server/zh_TW.json@@ -691,6 +691,10 @@"HeaderProfileServerSettingsHelp": "These values control how Media Browser will present itself to the device.","LabelMaxBitrate": "Max bitrate:","LabelMaxBitrateHelp": "Specify a max bitrate in bandwidth constrained environments, or if the device imposes it's own limit.",+ "LabelMaxStreamingBitrate": "Max streaming bitrate:",+ "LabelMaxStreamingBitrateHelp": "Specify a max bitrate when streaming.",+ "LabelMaxStaticBitrate": "Max sync bitrate:",+ "LabelMaxStaticBitrateHelp": "Specify a max bitrate when syncing content at high quality.","OptionIgnoreTranscodeByteRangeRequests": "Ignore transcode byte range requests","OptionIgnoreTranscodeByteRangeRequestsHelp": "If enabled, these requests will be honored but will ignore the byte range header.","LabelFriendlyName": "Friendly name",@@ -890,5 +894,11 @@"HeaderChapters": "Chapters","HeaderResumeSettings": "Resume Settings","TabSync": "Sync",- "TitleUsers": "Users"+ "TitleUsers": "Users",+ "LabelProtocol": "Protocol:",+ "OptionProtocolHttp": "Http",+ "OptionProtocolHls": "Http Live Streaming",+ "LabelContext": "Context:",+ "OptionContextStreaming": "Streaming",+ "OptionContextStatic": "Sync"}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/ServerManager/ServerManager.cs b/MediaBrowser.Server.Implementations/ServerManager/ServerManager.csindex a65184f615..3d0781e914 100644--- a/MediaBrowser.Server.Implementations/ServerManager/ServerManager.cs+++ b/MediaBrowser.Server.Implementations/ServerManager/ServerManager.cs@@ -61,15 +61,6 @@ namespace MediaBrowser.Server.Implementations.ServerManager/// <value>The configuration manager.</value>private IServerConfigurationManager ConfigurationManager { get; set; }- /// <summary>- /// Gets the web socket port number.- /// </summary>- /// <value>The web socket port number.</value>- public int WebSocketPortNumber- {- get { return ConfigurationManager.Configuration.HttpServerPortNumber; }- }-/// <summary>/// Gets the web socket listeners./// </summary>diff --git a/MediaBrowser.Server.Implementations/Session/WebSocketController.cs b/MediaBrowser.Server.Implementations/Session/WebSocketController.csindex e1d77c2682..2d5a30f3d4 100644--- a/MediaBrowser.Server.Implementations/Session/WebSocketController.cs+++ b/MediaBrowser.Server.Implementations/Session/WebSocketController.cs@@ -234,6 +234,8 @@ namespace MediaBrowser.Server.Implementations.Sessionprivate Task SendMessage<T>(WebSocketMessage<T> message, CancellationToken cancellationToken){+ if (SkipSending()) return Task.FromResult(true);+var socket = GetActiveSocket();return socket.SendAsync(message, cancellationToken);@@ -241,6 +243,8 @@ namespace MediaBrowser.Server.Implementations.Sessionprivate Task SendMessages<T>(WebSocketMessage<T> message, CancellationToken cancellationToken){+ if (SkipSending()) return Task.FromResult(true);+var tasks = GetActiveSockets().Select(i => Task.Run(async () =>{try@@ -257,6 +261,27 @@ namespace MediaBrowser.Server.Implementations.Sessionreturn Task.WhenAll(tasks);}+ private bool SkipSending()+ {+ if (Session != null)+ {+ if (string.Equals(Session.Client, "mb-classic", StringComparison.OrdinalIgnoreCase))+ {+ Version version;++ if (!string.IsNullOrWhiteSpace(Session.ApplicationVersion) && Version.TryParse(Session.ApplicationVersion, out version))+ {+ if (version < new Version(3, 0, 196))+ {+ _logger.Debug("Skipping web socket message to MBC version {0}.", version);+ return true;+ }+ }+ }+ }+ return false;+ }+public void Dispose(){foreach (var socket in Sockets.ToList())diff --git a/MediaBrowser.Server.Implementations/Udp/UdpServer.cs b/MediaBrowser.Server.Implementations/Udp/UdpServer.csindex f78f983dce..e4626bec6c 100644--- a/MediaBrowser.Server.Implementations/Udp/UdpServer.cs+++ b/MediaBrowser.Server.Implementations/Udp/UdpServer.cs@@ -54,13 +54,14 @@ namespace MediaBrowser.Server.Implementations.Udp/// <param name="serverConfigurationManager">The server configuration manager.</param>/// <param name="httpServer">The HTTP server.</param>/// <param name="appHost">The application host.</param>- public UdpServer(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer, IServerApplicationHost appHost)+ public UdpServer(ILogger logger, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager, IHttpServer httpServer, IServerApplicationHost appHost, IJsonSerializer json){_logger = logger;_networkManager = networkManager;_serverConfigurationManager = serverConfigurationManager;_httpServer = httpServer;_appHost = appHost;+ _json = json;AddMessageResponder("who is MediaBrowserServer?", RespondToV1Message);AddMessageResponder("who is MediaBrowserServer_v2?", RespondToV2Message);@@ -77,13 +78,20 @@ namespace MediaBrowser.Server.Implementations.Udp/// Raises the <see cref="E:MessageReceived" /> event./// </summary>/// <param name="e">The <see cref="UdpMessageReceivedEventArgs"/> instance containing the event data.</param>- private async void OnMessageReceived(UdpMessageReceivedEventArgs e)+ private void OnMessageReceived(UdpMessageReceivedEventArgs e){var responder = _responders.FirstOrDefault(i => i.Item1.SequenceEqual(e.Bytes));if (responder != null){- responder.Item2(e.RemoteEndPoint);+ try+ {+ responder.Item2(e.RemoteEndPoint);+ }+ catch (Exception ex)+ {+ _logger.ErrorException("Error in OnMessageReceived", ex);+ }}}diff --git a/MediaBrowser.Server.Mono/Native/ServerAuthorization.cs b/MediaBrowser.Server.Mono/Native/ServerAuthorization.csindex 6f43a12c09..bd456c88bf 100644--- a/MediaBrowser.Server.Mono/Native/ServerAuthorization.cs+++ b/MediaBrowser.Server.Mono/Native/ServerAuthorization.cs@@ -18,7 +18,7 @@ namespace MediaBrowser.ServerApplication.Native/// <param name="webSocketPort">The web socket port.</param>/// <param name="udpPort">The UDP port.</param>/// <param name="tempDirectory">The temp directory.</param>- public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int webSocketPort, int udpPort, string tempDirectory)+ public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int udpPort, string tempDirectory){}diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.csindex 5c3c3e9077..e584a950cd 100644--- a/MediaBrowser.ServerApplication/ApplicationHost.cs+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs@@ -533,8 +533,8 @@ namespace MediaBrowser.ServerApplicationAuthenticationRepository = await GetAuthenticationRepository().ConfigureAwait(false);RegisterSingleInstance(AuthenticationRepository);- SyncRepository = await GetSyncRepository().ConfigureAwait(false);- RegisterSingleInstance(SyncRepository);+ //SyncRepository = await GetSyncRepository().ConfigureAwait(false);+ //RegisterSingleInstance(SyncRepository);UserManager = new UserManager(LogManager.GetLogger("UserManager"), ServerConfigurationManager, UserRepository, XmlSerializer);RegisterSingleInstance(UserManager);@@ -598,9 +598,6 @@ namespace MediaBrowser.ServerApplicationvar dlnaManager = new DlnaManager(XmlSerializer, FileSystemManager, ApplicationPaths, LogManager.GetLogger("Dlna"), JsonSerializer);RegisterSingleInstance<IDlnaManager>(dlnaManager);- var contentDirectory = new ContentDirectory(dlnaManager, UserDataManager, ImageProcessor, LibraryManager, ServerConfigurationManager, UserManager, LogManager.GetLogger("UpnpContentDirectory"), HttpClient);- RegisterSingleInstance<IContentDirectory>(contentDirectory);-var connectionManager = new ConnectionManager(dlnaManager, ServerConfigurationManager, LogManager.GetLogger("UpnpConnectionManager"), HttpClient);RegisterSingleInstance<IConnectionManager>(connectionManager);@@ -610,9 +607,12 @@ namespace MediaBrowser.ServerApplicationLiveTvManager = new LiveTvManager(ServerConfigurationManager, FileSystemManager, Logger, ItemRepository, ImageProcessor, UserDataManager, DtoService, UserManager, LibraryManager, TaskManager, LocalizationManager);RegisterSingleInstance(LiveTvManager);- UserViewManager = new UserViewManager(LibraryManager, LocalizationManager, FileSystemManager, UserManager, ChannelManager, LiveTvManager);+ UserViewManager = new UserViewManager(LibraryManager, LocalizationManager, FileSystemManager, UserManager, ChannelManager, LiveTvManager, ApplicationPaths);RegisterSingleInstance(UserViewManager);+ var contentDirectory = new ContentDirectory(dlnaManager, UserDataManager, ImageProcessor, LibraryManager, ServerConfigurationManager, UserManager, LogManager.GetLogger("UpnpContentDirectory"), HttpClient, UserViewManager, ChannelManager);+ RegisterSingleInstance<IContentDirectory>(contentDirectory);+NotificationManager = new NotificationManager(LogManager, UserManager, ServerConfigurationManager);RegisterSingleInstance(NotificationManager);@@ -1024,7 +1024,7 @@ namespace MediaBrowser.ServerApplicationHasPendingRestart = HasPendingRestart,Version = ApplicationVersion.ToString(),IsNetworkDeployed = CanSelfUpdate,- WebSocketPortNumber = ServerManager.WebSocketPortNumber,+ WebSocketPortNumber = HttpServerPort,SupportsNativeWebSocket = true,FailedPluginAssemblies = FailedAssemblies.ToList(),InProgressInstallations = InstallationManager.CurrentInstallations.Select(i => i.Item1).ToList(),diff --git a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloadInfo.cs b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloadInfo.csindex eb73966ce4..97a3ee190b 100644--- a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloadInfo.cs+++ b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloadInfo.cs@@ -35,7 +35,7 @@ namespace MediaBrowser.ServerApplication.FFMpegswitch (arg){case "Version":- return "20140721";+ return "20140612";case "FFMpegFilename":return "ffmpeg.exe";case "FFProbeFilename":@@ -113,8 +113,8 @@ namespace MediaBrowser.ServerApplication.FFMpegcase PlatformID.Win32NT:return new[]{- "http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20140721-git-ce385c8-win32-static.7z",- "https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/ffmpeg/windows/ffmpeg-20140721-git-ce385c8-win32-static.7z"+ "http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20140612-git-3a1c895-win32-static.7z",+ "https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/ffmpeg/windows/ffmpeg-20140612-git-3a1c895-win32-static.7z"};case PlatformID.Unix:@@ -222,4 +222,4 @@ namespace MediaBrowser.ServerApplication.FFMpegpublic string sysname = string.Empty;public string machine = string.Empty;}-}+}\ No newline at end of filediff --git a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.csindex 2642ffde73..4f94ebd67c 100644--- a/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs+++ b/MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloader.cs@@ -1,12 +1,10 @@using MediaBrowser.Common.Configuration;using MediaBrowser.Common.IO;using MediaBrowser.Common.Net;-using MediaBrowser.Common.Progress;using MediaBrowser.Model.IO;using MediaBrowser.Model.Logging;using MediaBrowser.Model.Net;using System;-using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;@@ -140,13 +138,9 @@ namespace MediaBrowser.ServerApplication.FFMpegExtractFFMpeg(tempFile, directory);return;}- catch (HttpException ex)- {- _logger.ErrorException("Error downloading {0}", ex, url);- }catch (Exception ex){- _logger.ErrorException("Error unpacking {0}", ex, url);+ _logger.ErrorException("Error downloading {0}", ex, url);}}diff --git a/MediaBrowser.Tests/Resolvers/TvUtilTests.cs b/MediaBrowser.Tests/Resolvers/TvUtilTests.csindex 104e634472..5e6add5284 100644--- a/MediaBrowser.Tests/Resolvers/TvUtilTests.cs+++ b/MediaBrowser.Tests/Resolvers/TvUtilTests.cs@@ -166,6 +166,8 @@ namespace MediaBrowser.Tests.ResolversAssert.AreEqual(1, TVUtils.GetSeasonNumberFromPath(@"\Drive\Season 1"));Assert.AreEqual(1, TVUtils.GetSeasonNumberFromPath(@"\Drive\Season 1"));+ Assert.AreEqual(2, TVUtils.GetSeasonNumberFromPath(@"\Drive\Seinfeld\S02"));+Assert.AreEqual(2, TVUtils.GetSeasonNumberFromPath(@"\Drive\Seinfeld\2"));//Four Digits seasons