aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
-rw-r--r--Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs80
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs97
-rw-r--r--Emby.Server.Implementations/Library/MediaSourceManager.cs8
-rw-r--r--Emby.Server.Implementations/Library/MediaStreamSelector.cs8
-rw-r--r--Emby.Server.Implementations/Library/Search/SqlSearchProvider.cs8
-rw-r--r--Emby.Server.Implementations/Localization/Core/be.json29
-rw-r--r--Emby.Server.Implementations/Localization/Core/da.json20
-rw-r--r--Emby.Server.Implementations/Localization/Core/es-AR.json2
-rw-r--r--Emby.Server.Implementations/Localization/Core/et.json8
-rw-r--r--Emby.Server.Implementations/Localization/Core/fo.json4
-rw-r--r--Emby.Server.Implementations/Localization/Core/hr.json36
-rw-r--r--Emby.Server.Implementations/Localization/Core/hy.json88
-rw-r--r--Emby.Server.Implementations/Localization/Core/id.json15
-rw-r--r--Emby.Server.Implementations/Localization/Core/ja.json26
-rw-r--r--Emby.Server.Implementations/Localization/Core/ka.json2
-rw-r--r--Emby.Server.Implementations/Localization/Core/ko.json6
-rw-r--r--Emby.Server.Implementations/Localization/Core/lt-LT.json14
-rw-r--r--Emby.Server.Implementations/Localization/Core/lv.json3
-rw-r--r--Emby.Server.Implementations/Localization/Core/mk.json6
-rw-r--r--Emby.Server.Implementations/Localization/Core/ml.json16
-rw-r--r--Emby.Server.Implementations/Localization/Core/ms.json8
-rw-r--r--Emby.Server.Implementations/Localization/Core/nb.json4
-rw-r--r--Emby.Server.Implementations/Localization/Core/pl.json2
-rw-r--r--Emby.Server.Implementations/Localization/Core/sw.json3
-rw-r--r--Emby.Server.Implementations/Localization/Core/zh-CN.json2
-rw-r--r--Emby.Server.Implementations/Localization/LocalizationManager.cs26
-rw-r--r--Emby.Server.Implementations/Plugins/PluginManager.cs2
-rw-r--r--Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs4
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs2
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs4
31 files changed, 410 insertions, 125 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 1a54565863..51aa71081f 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -728,7 +728,7 @@ namespace Emby.Server.Implementations
_pluginManager.CreatePlugins();
Resolve<ILibraryManager>().AddParts(
- GetExports<IResolverIgnoreRule>(),
+ GetExports<IResolverIgnoreRule>(type => ServiceProvider.GetService(type) ?? CreateInstanceSafe(type)),
GetExports<IItemResolver>(),
GetExports<IIntroProvider>(),
GetExports<IBaseItemComparer>(),
diff --git a/Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs b/Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs
index 023c1e8915..0d63049372 100644
--- a/Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs
+++ b/Emby.Server.Implementations/Library/DotIgnoreIgnoreRule.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
+using System.Linq;
using System.Text.RegularExpressions;
using BitFaster.Caching.Lru;
using MediaBrowser.Controller.Entities;
@@ -16,10 +17,14 @@ namespace Emby.Server.Implementations.Library;
public class DotIgnoreIgnoreRule : IResolverIgnoreRule
{
private static readonly bool IsWindows = OperatingSystem.IsWindows();
+ private static readonly StringComparison PathComparison = IsWindows ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal;
private readonly FastConcurrentLru<string, IgnoreFileCacheEntry> _directoryCache;
private readonly FastConcurrentLru<string, ParsedIgnoreCacheEntry> _rulesCache;
+ private Func<IEnumerable<string>>? _libraryRootsProvider;
+ private volatile string[]? _libraryRoots;
+
/// <summary>
/// Initializes a new instance of the <see cref="DotIgnoreIgnoreRule"/> class.
/// </summary>
@@ -40,11 +45,23 @@ public class DotIgnoreIgnoreRule : IResolverIgnoreRule
public bool ShouldIgnore(FileSystemMetadata fileInfo, BaseItem? parent) => IsIgnoredInternal(fileInfo, parent);
/// <summary>
- /// Clears the directory lookup cache. The parsed rules cache is not cleared
+ /// Sets the provider of library root paths. The search for a .ignore file stops at the
+ /// outermost library root containing the path instead of walking up to the filesystem root.
+ /// </summary>
+ /// <param name="libraryRootsProvider">The library root paths provider.</param>
+ public void SetLibraryRootsProvider(Func<IEnumerable<string>> libraryRootsProvider)
+ {
+ _libraryRootsProvider = libraryRootsProvider;
+ ClearDirectoryCache();
+ }
+
+ /// <summary>
+ /// Clears the directory lookup cache and the library roots. The parsed rules cache is not cleared
/// as it validates file modification time on each access.
/// </summary>
public void ClearDirectoryCache()
{
+ _libraryRoots = null;
_directoryCache.Clear();
}
@@ -164,7 +181,9 @@ public class DotIgnoreIgnoreRule : IResolverIgnoreRule
return null;
}
- // Walk up the directory tree to find .ignore file using DirectoryInfo.Parent
+ // Walk up the directory tree to find .ignore file using DirectoryInfo.Parent,
+ // never leaving the library: probing above it can hit autofs or network mounts (#17364)
+ var stopDirectory = GetOutermostLibraryRoot(startDir.FullName);
var checkedDirs = new List<string> { directory };
for (var current = startDir; current is not null; current = current.Parent)
@@ -203,6 +222,11 @@ public class DotIgnoreIgnoreRule : IResolverIgnoreRule
{
checkedDirs.Add(currentPath);
}
+
+ if (stopDirectory is not null && IsSamePath(currentPath, stopDirectory))
+ {
+ break;
+ }
}
// No .ignore file found - cache null result for all directories
@@ -215,6 +239,58 @@ public class DotIgnoreIgnoreRule : IResolverIgnoreRule
return null;
}
+ private string? GetOutermostLibraryRoot(string path)
+ {
+ string? outermost = null;
+ foreach (var root in GetLibraryRoots())
+ {
+ if ((outermost is null || root.Length < outermost.Length)
+ && IsSameOrChildPath(path, root))
+ {
+ outermost = root;
+ }
+ }
+
+ return outermost;
+ }
+
+ private string[] GetLibraryRoots()
+ {
+ var roots = _libraryRoots;
+ if (roots is not null)
+ {
+ return roots;
+ }
+
+ var provider = _libraryRootsProvider;
+ if (provider is null)
+ {
+ return [];
+ }
+
+ roots = provider()
+ .Where(r => !string.IsNullOrEmpty(r))
+ .Select(r => Path.TrimEndingDirectorySeparator(Path.GetFullPath(r)))
+ .ToArray();
+ _libraryRoots = roots;
+ return roots;
+ }
+
+ private static bool IsSameOrChildPath(string path, string root)
+ {
+ if (IsSamePath(path, root))
+ {
+ return true;
+ }
+
+ // A filesystem root such as "/" keeps its trailing separator after trimming
+ return path.StartsWith(root, PathComparison)
+ && (Path.EndsInDirectorySeparator(root) || path[root.Length] == Path.DirectorySeparatorChar);
+ }
+
+ private static bool IsSamePath(string path1, string path2)
+ => Path.TrimEndingDirectorySeparator(path1.AsSpan()).Equals(Path.TrimEndingDirectorySeparator(path2.AsSpan()), PathComparison);
+
private ParsedIgnoreCacheEntry? GetParsedRules(FileInfo ignoreFile)
{
if (!ignoreFile.Exists)
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 16616dd328..359b0f1d0c 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -184,6 +184,7 @@ namespace Emby.Server.Implementations.Library
_peopleRepository = peopleRepository;
_pathManager = pathManager;
_dotIgnoreIgnoreRule = dotIgnoreIgnoreRule;
+ _dotIgnoreIgnoreRule.SetLibraryRootsProvider(GetLibraryRootPaths);
_localization = localization;
_directoryService = directoryService;
_extraResolver = new ExtraResolver(loggerFactory.CreateLogger<ExtraResolver>(), namingOptions, directoryService);
@@ -1627,23 +1628,7 @@ namespace Emby.Server.Implementations.Library
{
Name = Path.GetFileName(dir),
- Locations = _fileSystem.GetFilePaths(dir, false)
- .Where(i => Path.GetExtension(i.AsSpan()).Equals(ShortcutFileExtension, StringComparison.OrdinalIgnoreCase))
- .Select(i =>
- {
- try
- {
- return _appHost.ExpandVirtualPath(_fileSystem.ResolveShortcut(i));
- }
- catch (Exception ex)
- {
- _logger.LogError(ex, "Error resolving shortcut file {File}", i);
- return null;
- }
- })
- .Where(i => i is not null)
- .Order()
- .ToArray(),
+ Locations = GetVirtualFolderLocations(dir).Order().ToArray(),
CollectionType = GetCollectionType(dir)
};
@@ -1671,6 +1656,40 @@ namespace Emby.Server.Implementations.Library
return info;
}
+ private IEnumerable<string> GetVirtualFolderLocations(string dir)
+ {
+ return _fileSystem.GetFilePaths(dir, false)
+ .Where(i => Path.GetExtension(i.AsSpan()).Equals(ShortcutFileExtension, StringComparison.OrdinalIgnoreCase))
+ .Select(i =>
+ {
+ try
+ {
+ return _appHost.ExpandVirtualPath(_fileSystem.ResolveShortcut(i));
+ }
+ catch (Exception ex)
+ {
+ _logger.LogError(ex, "Error resolving shortcut file {File}", i);
+ return null;
+ }
+ })
+ .OfType<string>();
+ }
+
+ // Reads the .mblink files directly; going through RootFolder.Children would re-enter the resolver.
+ private IEnumerable<string> GetLibraryRootPaths()
+ {
+ // root/default only exists once the user root folder or a library has been created
+ var userViewsPath = _configurationManager.ApplicationPaths.DefaultUserViewsPath;
+ if (!_fileSystem.DirectoryExists(userViewsPath))
+ {
+ return [];
+ }
+
+ return _fileSystem.GetDirectoryPaths(userViewsPath)
+ .SelectMany(GetVirtualFolderLocations)
+ .ToList();
+ }
+
private CollectionTypeOptions? GetCollectionType(string path)
{
var files = _fileSystem.GetFilePaths(path, [".collection"], true, false);
@@ -3750,6 +3769,7 @@ namespace Emby.Server.Implementations.Library
public async Task<ItemImageInfo> ConvertImageToLocal(BaseItem item, ItemImageInfo image, int imageIndex, bool removeOnFailure)
{
+ HttpRequestException? lastHttpException = null;
foreach (var url in image.Path.Split('|'))
{
try
@@ -3781,6 +3801,7 @@ namespace Emby.Server.Implementations.Library
&& (ex.StatusCode.Value == HttpStatusCode.NotFound || ex.StatusCode.Value == HttpStatusCode.Forbidden))
{
_logger.LogDebug(ex, "Error downloading image {Url}", url);
+ lastHttpException = ex;
continue;
}
@@ -3795,13 +3816,17 @@ namespace Emby.Server.Implementations.Library
await item.UpdateToRepositoryAsync(ItemUpdateType.ImageUpdate, CancellationToken.None).ConfigureAwait(false);
}
- throw new InvalidOperationException(string.Format(
- CultureInfo.InvariantCulture,
- "Unable to convert any {0} image url in \"{1}\" to a local file for {2} ({3})",
- image.Type,
- image.Path,
- item.Name,
- item.Id));
+ // Keep the rejection as the inner exception: callers such as the Live TV guide need the
+ // status code to tell a missing image from a provider that is refusing us.
+ throw new InvalidOperationException(
+ string.Format(
+ CultureInfo.InvariantCulture,
+ "Unable to convert any {0} image url in \"{1}\" to a local file for {2} ({3})",
+ image.Type,
+ image.Path,
+ item.Name,
+ item.Id),
+ lastHttpException);
}
public async Task AddVirtualFolder(string name, CollectionTypeOptions? collectionType, LibraryOptions options, bool refreshLibrary)
@@ -4200,6 +4225,30 @@ namespace Emby.Server.Implementations.Library
}
/// <inheritdoc />
+ public IReadOnlyList<int> GetYears(InternalItemsQuery query)
+ {
+ if (query.User is not null)
+ {
+ AddUserToQuery(query, query.User);
+ }
+
+ SetTopParentOrAncestorIds(query);
+ return _itemRepository.GetYears(query);
+ }
+
+ /// <inheritdoc />
+ public IReadOnlyList<string> GetOfficialRatings(InternalItemsQuery query)
+ {
+ if (query.User is not null)
+ {
+ AddUserToQuery(query, query.User);
+ }
+
+ SetTopParentOrAncestorIds(query);
+ return _itemRepository.GetOfficialRatings(query);
+ }
+
+ /// <inheritdoc />
public IReadOnlyList<string> GetTagNames(InternalItemsQuery query)
{
if (query.User is not null)
diff --git a/Emby.Server.Implementations/Library/MediaSourceManager.cs b/Emby.Server.Implementations/Library/MediaSourceManager.cs
index e9bba05839..4513cefde8 100644
--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs
+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs
@@ -481,13 +481,7 @@ namespace Emby.Server.Implementations.Library
return [];
}
- var culture = _localizationManager.FindLanguageInfo(language);
- if (culture is not null)
- {
- return culture.Name.Contains('-', StringComparison.OrdinalIgnoreCase) ? [culture.Name] : culture.ThreeLetterISOLanguageNames;
- }
-
- return [language];
+ return _localizationManager.GetMediaStreamLanguageCodes(language);
}
private void SetDefaultSubtitleStreamIndex(MediaSourceInfo source, UserItemData userData, User user, bool allowRememberingSelection)
diff --git a/Emby.Server.Implementations/Library/MediaStreamSelector.cs b/Emby.Server.Implementations/Library/MediaStreamSelector.cs
index 631179ffcf..31e36af3b8 100644
--- a/Emby.Server.Implementations/Library/MediaStreamSelector.cs
+++ b/Emby.Server.Implementations/Library/MediaStreamSelector.cs
@@ -46,6 +46,7 @@ namespace Emby.Server.Implementations.Library
.ThenByDescending(x => x.IsDefault)
.ThenByDescending(x => !x.IsForced && MatchesPreferredLanguage(x.Language, preferredLanguages))
.ThenByDescending(x => x.IsForced && MatchesPreferredLanguage(x.Language, preferredLanguages))
+ .ThenBy(x => GetLanguageRank(x.Language, preferredLanguages))
.ThenByDescending(x => x.IsForced && IsLanguageUndefined(x.Language))
.ThenByDescending(x => x.IsForced)
.ToList();
@@ -158,6 +159,13 @@ namespace Emby.Server.Implementations.Library
preferredLanguages.Contains(language, StringComparison.OrdinalIgnoreCase);
}
+ // Earlier preferences win among matches: a pt-br preference lists [pt-br, por] and must pick the pt-br track.
+ private static int GetLanguageRank(string language, IReadOnlyList<string> preferredLanguages)
+ {
+ var index = preferredLanguages.FindIndex(x => string.Equals(x, language, StringComparison.OrdinalIgnoreCase));
+ return index == -1 ? int.MaxValue : index;
+ }
+
private static bool IsLanguageUndefined(string language)
{
// Check for null, empty, or known placeholders
diff --git a/Emby.Server.Implementations/Library/Search/SqlSearchProvider.cs b/Emby.Server.Implementations/Library/Search/SqlSearchProvider.cs
index a5ea02df51..dd96f75893 100644
--- a/Emby.Server.Implementations/Library/Search/SqlSearchProvider.cs
+++ b/Emby.Server.Implementations/Library/Search/SqlSearchProvider.cs
@@ -136,7 +136,7 @@ public class SqlSearchProvider : IInternalSearchProvider
dbQuery = ApplyTypeFilter(dbQuery, query.IncludeItemTypes, query.ExcludeItemTypes);
dbQuery = ApplyMediaTypeFilter(dbQuery, query.MediaTypes);
- dbQuery = ApplyParentFilter(dbQuery, query.ParentId);
+ dbQuery = ApplyParentFilter(dbContext, dbQuery, query.ParentId);
dbQuery = ApplyUserAccessFilter(dbContext, dbQuery, query);
dbQuery = ExcludeVersionsOfMatchedPrimaries(dbQuery);
@@ -205,6 +205,7 @@ public class SqlSearchProvider : IInternalSearchProvider
}
private static IQueryable<BaseItemEntity> ApplyParentFilter(
+ JellyfinDbContext context,
IQueryable<BaseItemEntity> query,
Guid? parentId)
{
@@ -214,7 +215,10 @@ public class SqlSearchProvider : IInternalSearchProvider
}
var pid = parentId.Value;
- return query.Where(e => e.ParentId == pid || e.Parents!.Any(p => p.ParentItemId == pid));
+ var descendantIds = context.AncestorIds
+ .Where(a => a.ParentItemId == pid)
+ .Select(a => a.ItemId);
+ return query.Where(e => e.ParentId == pid || descendantIds.Contains(e.Id));
}
private static IQueryable<BaseItemEntity> ExcludeVersionsOfMatchedPrimaries(IQueryable<BaseItemEntity> query)
diff --git a/Emby.Server.Implementations/Localization/Core/be.json b/Emby.Server.Implementations/Localization/Core/be.json
index c5b1213096..23d2ffe45f 100644
--- a/Emby.Server.Implementations/Localization/Core/be.json
+++ b/Emby.Server.Implementations/Localization/Core/be.json
@@ -9,7 +9,7 @@
"Collections": "Калекцыі",
"Default": "Прадвызначана",
"FailedLoginAttemptWithUserName": "Няўдалая спроба ўваходу з {0}",
- "Folders": "Папкі",
+ "Folders": "Тэчки",
"Favorites": "Абранае",
"External": "Знешні",
"Genres": "Жанры",
@@ -22,7 +22,7 @@
"Movies": "Фільмы",
"Music": "Музыка",
"MusicVideos": "Музычныя кліпы",
- "NameInstallFailed": "Усталяванне {0} не атрымалася",
+ "NameInstallFailed": "Усталяванне {0} не ўдалося",
"NameSeasonNumber": "Сезон {0}",
"NotificationOptionApplicationUpdateAvailable": "Даступна абнаўленне праграмы",
"NotificationOptionPluginInstalled": "Плагін усталяваны",
@@ -65,7 +65,7 @@
"NotificationOptionUserLockedOut": "Карыстальнік заблакіраваны",
"NotificationOptionVideoPlayback": "Пачалося прайграванне відэа",
"NotificationOptionVideoPlaybackStopped": "Прайграванне відэа спынена",
- "ScheduledTaskFailedWithName": "{0} не атрымалася",
+ "ScheduledTaskFailedWithName": "{0} не ўдалося",
"Shows": "Шоу",
"StartupEmbyServerIsLoading": "Jellyfin Server загружаецца. Калі ласка, паўтарыце спробу крыху пазней.",
"SubtitleDownloadFailureFromForItem": "Субцітры для {1} не ўдалося спампаваць з {0}",
@@ -84,7 +84,7 @@
"TaskCleanCache": "Ачысціць кэш",
"TaskCleanCacheDescription": "Выдаляе файлы кэша, якія больш не патрэбныя сістэме.",
"TaskRefreshChapterImages": "Вынуць выявы раздзелаў",
- "TaskRefreshLibrary": "Сканаваць бібліятэку",
+ "TaskRefreshLibrary": "Сканаваць медыятэку",
"TaskRefreshLibraryDescription": "Сканіруе вашу медыятэку на наяўнасць новых файлаў і абнаўляе метаданыя.",
"TaskCleanLogs": "Ачысціць журнал",
"TaskRefreshPeople": "Абнавіць выканаўцаў",
@@ -94,20 +94,20 @@
"TaskCleanTranscodeDescription": "Выдаляе перакадзіраваныя файлы, старэйшыя за адзін дзень.",
"TaskRefreshChannels": "Абнавіць каналы",
"TaskDownloadMissingSubtitles": "Спампаваць адсутныя субцітры",
- "TaskKeyframeExtractorDescription": "Выдае ключавыя кадры з відэафайлаў для стварэння больш дакладных плэй-лістоў HLS. Гэта задача можа выконвацца доўга.",
+ "TaskKeyframeExtractorDescription": "Выдае ключавыя кадры з відэафайлаў для стварэння больш дакладных плэйлістоў HLS. Гэта задача можа выконвацца доўга.",
"TaskRefreshTrickplayImages": "Стварыць выявы Trickplay",
"TaskRefreshTrickplayImagesDescription": "Стварае перадпрагляды відэаролікаў для Trickplay у падключаных бібліятэках.",
"TaskAudioNormalizationDescription": "Скануе файлы на прадмет нармалізацыі гуку.",
"TaskAudioNormalization": "Нармалізацыя гуку",
- "TaskExtractMediaSegmentsDescription": "Выдае або атрымлівае медыясегменты з убудоў з падтрымкай MediaSegment.",
+ "TaskExtractMediaSegmentsDescription": "Выдае або атрымлівае медыясегменты з плагінаў з падтрымкай MediaSegment.",
"TaskMoveTrickplayImagesDescription": "Перамяшчае існуючыя файлы trickplay у адпаведнасці з наладамі бібліятэкі.",
- "TaskDownloadMissingLyrics": "Спампаваць адсутныя тэксты песняў",
- "TaskDownloadMissingLyricsDescription": "Спампоўвае тэксты для песняў",
- "TaskExtractMediaSegments": "Сканіраванне медыя-сегмента",
+ "TaskDownloadMissingLyrics": "Спампаваць адсутныя тэксты песень",
+ "TaskDownloadMissingLyricsDescription": "Спампоўвае тэксты песень",
+ "TaskExtractMediaSegments": "Сканаванне медыясегментаў",
"TaskMoveTrickplayImages": "Перанесці месцазнаходжанне выявы Trickplay",
"CleanupUserDataTask": "Задача па ачыстцы даных карыстальніка",
- "CleanupUserDataTaskDescription": "Ачышчае ўсе даныя карыстальніка (стан прагляду, абранае і г.д.) для медыяфайлаў, што адсутнічаюць больш за 90 дзён.",
- "LyricDownloadFailureFromForItem": "Не ўдалося загрузіць тэкст песні з {0} для {1}",
+ "CleanupUserDataTaskDescription": "Ачышчае ўсе даныя карыстальніка (стан прагляду, абранае і г.д.) для медыя, якія адсутнічаюць больш за 90 дзён.",
+ "LyricDownloadFailureFromForItem": "Не ўдалося спампаваць тэксты песень з {0} для {1}",
"NameExtraDeletedScene": "Выдаленая сцэна",
"NameExtraInterview": "Інтэрв'ю",
"NameExtraNumbered": "{0} {1}",
@@ -115,8 +115,11 @@
"NameExtraTrailer": "Трэйлер",
"NameExtraBehindTheScenes": "За кулісамі",
"NameExtraClip": "Кліп",
- "NameExtraFeaturette": "Кароткаметражка",
+ "NameExtraFeaturette": "Фічарэт",
"NameExtraSample": "Прыклад",
"NameExtraShort": "Кароткаметражка",
- "NameExtraThemeSong": "Тэматычная песня"
+ "NameExtraThemeSong": "Фонавая музыка",
+ "NameExtraThemeVideo": "Фонавае відэа",
+ "Original": "Арыгінал",
+ "NameExtraUnknown": "Дадаткова"
}
diff --git a/Emby.Server.Implementations/Localization/Core/da.json b/Emby.Server.Implementations/Localization/Core/da.json
index 4c7d16a9a7..9cbb8bdaf3 100644
--- a/Emby.Server.Implementations/Localization/Core/da.json
+++ b/Emby.Server.Implementations/Localization/Core/da.json
@@ -27,8 +27,8 @@
"NameSeasonNumber": "Sæson {0}",
"NameSeasonUnknown": "Ukendt sæson",
"NewVersionIsAvailable": "En ny version af Jellyfin Server er tilgængelig.",
- "NotificationOptionApplicationUpdateAvailable": "Opdatering til applikationen er tilgængelig",
- "NotificationOptionApplicationUpdateInstalled": "Opdatering til applikationen blev installeret",
+ "NotificationOptionApplicationUpdateAvailable": "En opdatering til applikationen er tilgængelig",
+ "NotificationOptionApplicationUpdateInstalled": "Opdateringen til applikationen blev installeret",
"NotificationOptionAudioPlayback": "Lydafspilning påbegyndt",
"NotificationOptionAudioPlaybackStopped": "Lydafspilning stoppet",
"NotificationOptionCameraImageUploaded": "Kamerabillede uploadet",
@@ -68,8 +68,8 @@
"TaskUpdatePlugins": "Opdatér plugins",
"TaskCleanLogsDescription": "Sletter log-filer som er mere end {0} dage gamle.",
"TaskCleanLogs": "Ryd log-mappe",
- "TaskRefreshLibraryDescription": "Scanner dit mediebibliotek for nye filer og opdateret metadata.",
- "TaskRefreshLibrary": "Scan mediebibliotek",
+ "TaskRefreshLibraryDescription": "Skanner dit mediebibliotek for nye filer og opdaterede metadata.",
+ "TaskRefreshLibrary": "Skan mediebibliotek",
"TaskCleanCacheDescription": "Sletter cache-filer som systemet ikke længere bruger.",
"TaskCleanCache": "Ryd cache-mappe",
"TasksChannelsCategory": "Internetkanaler",
@@ -89,27 +89,27 @@
"Undefined": "Udefineret",
"Forced": "Tvunget",
"Default": "Standard",
- "TaskOptimizeDatabaseDescription": "Komprimerer databasen for at frigøre plads. Denne handling køres efter at have scannet mediebiblioteket, eller efter at have lavet ændringer til databasen.",
+ "TaskOptimizeDatabaseDescription": "Komprimerer databasen for at frigøre plads. Denne handling køres efter at have skannet mediebiblioteket eller efter at have lavet ændringer til databasen.",
"TaskOptimizeDatabase": "Optimér database",
"TaskKeyframeExtractorDescription": "Udtrækker rammer fra videofiler for at lave mere præcise HLS-playlister. Denne opgave kan tage lang tid.",
"TaskKeyframeExtractor": "Udtræk nøglerammer",
"External": "Ekstern",
"HearingImpaired": "Hørehæmmet",
- "TaskRefreshTrickplayImages": "Generer trickplay-billeder",
+ "TaskRefreshTrickplayImages": "Generér trickplay-billeder",
"TaskRefreshTrickplayImagesDescription": "Laver trickplay-billeder for videoer i aktiverede biblioteker.",
"TaskAudioNormalizationDescription": "Skanner filer for data vedrørende lydnormalisering.",
"TaskAudioNormalization": "Lydnormalisering",
"TaskDownloadMissingLyricsDescription": "Download sangtekster",
"TaskDownloadMissingLyrics": "Hent manglende sangtekster",
- "TaskExtractMediaSegments": "Scan for mediesegmenter",
- "TaskMoveTrickplayImages": "Migrer billedelokationer for trickplay-billeder",
- "TaskMoveTrickplayImagesDescription": "Flyt eksisterende trickplay-billeder jævnfør biblioteksindstillinger.",
+ "TaskExtractMediaSegments": "Skan for mediesegmenter",
+ "TaskMoveTrickplayImages": "Migrér billedlokationer for trickplay-billeder",
+ "TaskMoveTrickplayImagesDescription": "Flytter eksisterende trickplay-billeder i henhold til biblioteksindstillingerne.",
"TaskExtractMediaSegmentsDescription": "Udtrækker eller henter mediesegmenter fra plugins som understøtter MediaSegment.",
"CleanupUserDataTask": "Brugerdata oprydningsopgave",
"CleanupUserDataTaskDescription": "Rydder alle brugerdata (eks. visning- og favoritstatus) fra medier, der har været utilgængelige i mindst 90 dage.",
"LyricDownloadFailureFromForItem": "Sangtekster kunne ikke downloades fra {0} til {1}",
"Original": "Original",
- "NameExtraBehindTheScenes": "Bag scenerne",
+ "NameExtraBehindTheScenes": "Bag kulisserne",
"NameExtraClip": "Klip",
"NameExtraDeletedScene": "Slettet scene",
"NameExtraFeaturette": "Featurette",
diff --git a/Emby.Server.Implementations/Localization/Core/es-AR.json b/Emby.Server.Implementations/Localization/Core/es-AR.json
index a30abb9d4e..085166a963 100644
--- a/Emby.Server.Implementations/Localization/Core/es-AR.json
+++ b/Emby.Server.Implementations/Localization/Core/es-AR.json
@@ -94,7 +94,7 @@
"External": "Externo",
"TaskKeyframeExtractorDescription": "Extrae Fotogramas Clave de los archivos de vídeo para crear Listas de Reprodución HLS más precisas. Esta tarea puede durar mucho tiempo.",
"TaskKeyframeExtractor": "Extractor de Fotogramas Clave",
- "HearingImpaired": "Discapacidad Auditiva",
+ "HearingImpaired": "Discapacidad auditiva",
"TaskRefreshTrickplayImages": "Generar imágenes de Trickplay",
"TaskRefreshTrickplayImagesDescription": "Crea vistas previas de reproducción engañosa para videos en bibliotecas habilitadas.",
"TaskAudioNormalization": "Normalización de audio",
diff --git a/Emby.Server.Implementations/Localization/Core/et.json b/Emby.Server.Implementations/Localization/Core/et.json
index a7afcf5b77..36be172e77 100644
--- a/Emby.Server.Implementations/Localization/Core/et.json
+++ b/Emby.Server.Implementations/Localization/Core/et.json
@@ -95,16 +95,16 @@
"HearingImpaired": "Kuulmispuudega",
"TaskKeyframeExtractorDescription": "Eraldab videofailidest võtmekaadrid, et luua täpsemaid HLS-i esitusloendeid. See võib kesta pikka aega.",
"TaskKeyframeExtractor": "Eralda võtmekaadrid",
- "TaskRefreshTrickplayImages": "Loo trickplay pildid",
- "TaskRefreshTrickplayImagesDescription": "Loob trickplay eelvaated videotele lubatud meediakogudes.",
+ "TaskRefreshTrickplayImages": "Loo kerimispildid (trickplay)",
+ "TaskRefreshTrickplayImagesDescription": "Loob lubatud meediakogudes videotele kerimispildid.",
"TaskAudioNormalization": "Normaliseeri helitugevus",
"TaskAudioNormalizationDescription": "Otsib failidest helitugevuse normaliseerimise teavet.",
"TaskDownloadMissingLyrics": "Hangi puuduvad laulusõnad",
"TaskDownloadMissingLyricsDescription": "Laulusõnade allalaadimine",
- "TaskMoveTrickplayImagesDescription": "Liigutab trickplay pildid meediakogu sätete kohaselt.",
+ "TaskMoveTrickplayImagesDescription": "Teisaldab kerimispildid meediakogu sätete kohaselt.",
"TaskExtractMediaSegments": "Skaneeri meedialõike",
"TaskExtractMediaSegmentsDescription": "Eraldab või võtab meedialõigud MediaSegment'i toega pluginatest.",
- "TaskMoveTrickplayImages": "Muuda trickplay piltide asukoht",
+ "TaskMoveTrickplayImages": "Muuda kerimispiltide asukoht",
"CleanupUserDataTask": "Puhasta kasutajaandmed",
"CleanupUserDataTaskDescription": "Puhastab kõik kasutajaandmed (vaatamise olek, lemmikute olek jne) meediast, mida pole enam vähemalt 90 päeva saadaval olnud.",
"LyricDownloadFailureFromForItem": "Laulusõnade hankimine teenusest {0} loole {1} nurjus",
diff --git a/Emby.Server.Implementations/Localization/Core/fo.json b/Emby.Server.Implementations/Localization/Core/fo.json
index b9964b02b8..5be132df2e 100644
--- a/Emby.Server.Implementations/Localization/Core/fo.json
+++ b/Emby.Server.Implementations/Localization/Core/fo.json
@@ -1,5 +1,5 @@
{
- "Artists": "Tónlistafólk",
+ "Artists": "Listafólk",
"Collections": "Samlingar",
"Default": "Forsett",
"External": "Ytri",
@@ -94,7 +94,7 @@
"TaskKeyframeExtractorDescription": "Úttekur lyklamyndir frá kykmynda-fílum til tess at byggja nágreiniligari HLS-spælilistar. Koyrslan kann taka langa tíð.",
"TaskOptimizeDatabaseDescription": "Trýstur dátugrunninin saman og loysur tóma goymslu. Koyrslan kann bøta um avrikið, eftir skanning ella aðrar broytingar í savninum ið elva til dátugrunnsbroytingar.",
"TaskRefreshChapterImagesDescription": "Ger smámyndir fyri kykmyndir ið hava kapitlar.",
- "TaskRefreshChapterImages": "Kapitlamyndaúttøkur",
+ "TaskRefreshChapterImages": "Kapittulmyndaúttøkur",
"NotificationOptionVideoPlayback": "Kykmyndaspæl byrjað",
"NotificationOptionVideoPlaybackStopped": "Kykmyndaspæl er steðgað",
"NotificationOptionAudioPlayback": "Ljóðspæl byrjað",
diff --git a/Emby.Server.Implementations/Localization/Core/hr.json b/Emby.Server.Implementations/Localization/Core/hr.json
index c7e2b5f5e9..596a7fa6be 100644
--- a/Emby.Server.Implementations/Localization/Core/hr.json
+++ b/Emby.Server.Implementations/Localization/Core/hr.json
@@ -4,7 +4,7 @@
"AuthenticationSucceededWithUserName": "{0} uspješno ovjerena",
"Books": "Knjige",
"ChapterNameValue": "Poglavlje {0}",
- "Collections": "Zbirke",
+ "Collections": "Kolekcije",
"FailedLoginAttemptWithUserName": "Neuspješan pokušaj prijave od {0}",
"Favorites": "Favoriti",
"Folders": "Mape",
@@ -25,8 +25,8 @@
"MusicVideos": "Glazbeni spotovi",
"NameInstallFailed": "{0} neuspješnih instalacija",
"NameSeasonNumber": "Sezona {0}",
- "NameSeasonUnknown": "Sezona nepoznata",
- "NewVersionIsAvailable": "Nova verzija Jellyfin servera je dostupna za preuzimanje.",
+ "NameSeasonUnknown": "Nepoznata sezona",
+ "NewVersionIsAvailable": "Nova verzija Jellyfin poslužitelja je dostupna za preuzimanje.",
"NotificationOptionApplicationUpdateAvailable": "Dostupno je ažuriranje aplikacije",
"NotificationOptionApplicationUpdateInstalled": "Instalirano je ažuriranje aplikacije",
"NotificationOptionAudioPlayback": "Reprodukcija glazbe započela",
@@ -38,7 +38,7 @@
"NotificationOptionPluginInstalled": "Dodatak instaliran",
"NotificationOptionPluginUninstalled": "Dodatak deinstaliran",
"NotificationOptionPluginUpdateInstalled": "Instalirano ažuriranje dodatka",
- "NotificationOptionServerRestartRequired": "Ponovno pokrenite server",
+ "NotificationOptionServerRestartRequired": "Ponovno pokrenite poslužitelj",
"NotificationOptionTaskFailed": "Greška zakazanog zadatka",
"NotificationOptionUserLockedOut": "Korisnik zaključan",
"NotificationOptionVideoPlayback": "Reprodukcija videa započela",
@@ -49,7 +49,7 @@
"PluginUpdatedWithName": "{0} je ažurirano",
"ScheduledTaskFailedWithName": "{0} neuspjelo",
"Shows": "Emisije",
- "StartupEmbyServerIsLoading": "Jellyfin server se učitava. Pokušajte ponovo uskoro.",
+ "StartupEmbyServerIsLoading": "Jellyfin poslužitelj se učitava. Pokušajte ponovno uskoro.",
"SubtitleDownloadFailureFromForItem": "Titlovi nisu uspješno preuzeti od {0} za {1}",
"TvShows": "TV emisije",
"UserCreatedWithName": "Korisnik {0} je kreiran",
@@ -57,13 +57,13 @@
"UserDownloadingItemWithValues": "{0} preuzima {1}",
"UserLockedOutWithName": "Korisnik {0} je zaključan",
"UserOfflineFromDevice": "{0} prekinuo vezu od {1}",
- "UserOnlineFromDevice": "{0} povezan od {1}",
+ "UserOnlineFromDevice": "{0} povezan sa {1}",
"UserPasswordChangedWithName": "Lozinka je promijenjena za korisnika {0}",
"UserStartedPlayingItemWithValues": "{0} je pokrenuo reprodukciju {1} na {2}",
"UserStoppedPlayingItemWithValues": "{0} je završio reprodukciju {1} na {2}",
"VersionNumber": "Verzija {0}",
- "TaskRefreshLibraryDescription": "Skenira biblioteku medija radi novih datoteka i osvježava metapodatke.",
- "TaskRefreshLibrary": "Skeniraj biblioteku medija",
+ "TaskRefreshLibraryDescription": "Pretražuje biblioteku medija radi novih datoteka i osvježava metapodatke.",
+ "TaskRefreshLibrary": "Pretraži biblioteku medija",
"TaskRefreshChapterImagesDescription": "Kreira sličice za videozapise koji imaju poglavlja.",
"TaskRefreshChapterImages": "Izdvoji slike poglavlja",
"TaskCleanCacheDescription": "Briše nepotrebne datoteke iz predmemorije.",
@@ -80,7 +80,7 @@
"TaskUpdatePlugins": "Ažuriraj dodatke",
"TaskRefreshPeopleDescription": "Ažurira metapodatke za glumce i redatelje u biblioteci medija.",
"TaskRefreshPeople": "Osvježi osobe",
- "TaskCleanLogsDescription": "Briše zapise dnevnika koji su stariji od {0} dana.",
+ "TaskCleanLogsDescription": "Briše dnevnik zapisa koji su stariji od {0} dana.",
"TaskCleanLogs": "Očisti mapu dnevnika zapisa",
"TasksChannelsCategory": "Internet kanali",
"TasksLibraryCategory": "Biblioteka",
@@ -90,19 +90,19 @@
"Forced": "Forsirani",
"Default": "Zadano",
"TaskOptimizeDatabase": "Optimiziraj bazu podataka",
- "External": "Eksterni",
- "TaskKeyframeExtractorDescription": "Izvlačenje ključnih okvira iz videozapisa za stvaranje objektivnije HLS liste za reprodukciju. Pokretanje ovog zadatka može potrajati.",
- "TaskKeyframeExtractor": "Izvoditelj ključnog okvira",
+ "External": "Vanjski",
+ "TaskKeyframeExtractorDescription": "Izvlačenje ključnih kadrova iz videozapisa za stvaranje preciznije HLS liste za reprodukciju. Ovaj zadatak može potrajati duže.",
+ "TaskKeyframeExtractor": "Ekstraktor ključnih kadrova",
"TaskOptimizeDatabaseDescription": "Sažima bazu podataka i uklanja prazan prostor. Pokretanje ovog zadatka, može poboljšati performanse nakon provođenja indeksiranja biblioteke ili provođenja drugih promjena koje utječu na bazu podataka.",
"HearingImpaired": "Oštećen sluh",
"TaskRefreshTrickplayImages": "Generiraj slike brzog pregledavanja",
"TaskRefreshTrickplayImagesDescription": "Stvara preglede brzog pregledavanja za videa u aktiviranim bibliotekama.",
"TaskAudioNormalization": "Normalizacija zvuka",
- "TaskAudioNormalizationDescription": "Skenira datoteke u potrazi za podacima o normalizaciji zvuka.",
- "TaskExtractMediaSegments": "Skeniranje dijelova medija",
+ "TaskAudioNormalizationDescription": "Pretražuje datoteke u potrazi za podacima o normalizaciji zvuka.",
+ "TaskExtractMediaSegments": "Pretraživanje dijelova medija",
"TaskDownloadMissingLyrics": "Preuzmi tekstove koji nedostaju",
"TaskDownloadMissingLyricsDescription": "Preuzmi tekstove pjesama",
- "TaskExtractMediaSegmentsDescription": "Izvlači ili pribavlja dijelove medija iz omogućenih media pluginova.",
+ "TaskExtractMediaSegmentsDescription": "Izvlači ili preuzima dijelove medija s omogućenim medija dodatcima.",
"TaskMoveTrickplayImages": "Premjesti mjesto slika brzog pregledavanja",
"TaskMoveTrickplayImagesDescription": "Premješta postojeće datoteke brzog pregledavanja u postavke biblioteke.",
"CleanupUserDataTask": "Zadatak čišćenja korisničkih podataka",
@@ -111,15 +111,15 @@
"LyricDownloadFailureFromForItem": "Preuzimanje tekstova pjesmi od {0} za {1} nije uspjelo",
"NameExtraBehindTheScenes": "Iza kulisa",
"NameExtraClip": "Klip",
- "NameExtraDeletedScene": "Obrisana Scena",
+ "NameExtraDeletedScene": "Obrisana scena",
"NameExtraFeaturette": "Promotivni video",
"NameExtraInterview": "Intervju",
"NameExtraNumbered": "{0} {1}",
"NameExtraSample": "Uzorak",
"NameExtraScene": "Scena",
"NameExtraShort": "Kratki film",
- "NameExtraThemeSong": "Glavna Pjesma",
- "NameExtraThemeVideo": "Tema videa",
+ "NameExtraThemeSong": "Pjesma teme",
+ "NameExtraThemeVideo": "Video teme",
"NameExtraTrailer": "Trailer",
"NameExtraUnknown": "Dodatno"
}
diff --git a/Emby.Server.Implementations/Localization/Core/hy.json b/Emby.Server.Implementations/Localization/Core/hy.json
index 09f1bfe79c..2505226972 100644
--- a/Emby.Server.Implementations/Localization/Core/hy.json
+++ b/Emby.Server.Implementations/Localization/Core/hy.json
@@ -19,8 +19,8 @@
"VersionNumber": "Տարբերակ {0}",
"TasksMaintenanceCategory": "Սպասարկում",
"TasksChannelsCategory": "Ինտերնետային ալիքներ",
- "TaskRefreshPeople": "Թարմացնել մարդկանց",
- "TaskRefreshChannels": "Թարմացնել ալիքները",
+ "TaskRefreshPeople": "Թարմացնել Մարդկանց",
+ "TaskRefreshChannels": "Թարմացնել Ալիքները",
"TaskDownloadMissingSubtitles": "Ներբեռնել պակասող ենթագրերը",
"AppDeviceValues": "Հավելված` {0}, Սարք `{1}",
"ChapterNameValue": "Գլուխ {0}",
@@ -39,5 +39,87 @@
"Latest": "Վերջինը",
"LyricDownloadFailureFromForItem": "Չհաջողվեց ներբեռնել {1}-ի երգի բառերը {0}-ից",
"MixedContent": "Խառը բովանդակություն",
- "CleanupUserDataTaskDescription": "Մաքրում է օգտատիրոջ բոլոր տվյալները (դիտման կարգավիճակ, «սիրելի» նշում և այլն) այն մեդիաֆայլերից, որոնք առնվազն 90 օր է՝ առկա չեն։"
+ "CleanupUserDataTaskDescription": "Մաքրում է օգտատիրոջ բոլոր տվյալները (դիտման կարգավիճակ, «սիրելի» նշում և այլն) այն մեդիաֆայլերից, որոնք առնվազն 90 օր է՝ առկա չեն։",
+ "MusicVideos": "երաժշտական տեսահոլովակներ",
+ "NameExtraDeletedScene": "ջնջված տեսարան",
+ "NameExtraInterview": "Հարցազրույց",
+ "NameExtraSample": "Նմուշ",
+ "NameExtraScene": "Տեսարան",
+ "NameExtraShort": "Կարճ",
+ "NameExtraThemeSong": "Թեմատիկ երգ",
+ "NameExtraThemeVideo": "Թեմատիկ տեսահոլովակ",
+ "NameExtraTrailer": "Թրեյլեր",
+ "NameExtraUnknown": "Ավելին",
+ "NameInstallFailed": "{0} տեղադրումը ձախողվեց",
+ "NameSeasonUnknown": "Անհայտ սեզոն",
+ "NewVersionIsAvailable": "Jellyfin սերվերի թարմացված տարբերակը հասանելի է տեղադրման համար:",
+ "NotificationOptionApplicationUpdateAvailable": "Հավելվածի թարմացումը հասանելի է",
+ "NotificationOptionApplicationUpdateInstalled": "Հավելվածը թարմացված է",
+ "NotificationOptionAudioPlayback": "Աուդիոյի նվագարկումը սկսված է",
+ "NotificationOptionAudioPlaybackStopped": "Աուդիոյի նվագարկումը կանգնեցված է",
+ "NotificationOptionCameraImageUploaded": "տեսախցիկի նկարը ներբեռնված է",
+ "NotificationOptionInstallationFailed": "Տեղադրման խնդիր",
+ "NotificationOptionNewLibraryContent": "Նոր բովանդակություն ավելացվեց",
+ "HearingImpaired": "Լսողության խանգարումներ ունեցողների համար",
+ "NameExtraBehindTheScenes": "Կադրից Դուրս",
+ "NameExtraClip": "Հատված",
+ "NameExtraFeaturette": "Կարճամետրաժ ակնարկ",
+ "Original": "Բնօրինակ",
+ "NotificationOptionPluginError": "Փլագինի խափանում",
+ "NotificationOptionPluginInstalled": "Փլագինը տեղադրված է",
+ "NotificationOptionPluginUninstalled": "Փլագինը հեռացված է",
+ "NotificationOptionPluginUpdateInstalled": "Փլագինը թարմացումը տեղադրված է",
+ "NotificationOptionServerRestartRequired": "Սերվերի վերամեկնարկում է հարկավոր",
+ "NotificationOptionTaskFailed": "Պլանավորած առաջադրանքի խափանում",
+ "NotificationOptionUserLockedOut": "Օգտատերը արգելափակված է",
+ "NotificationOptionVideoPlayback": "Տեսանյութի նվագարկումը սկսված է",
+ "NotificationOptionVideoPlaybackStopped": "Տեսանյութի նվագարկումը կանգնեցված է",
+ "PluginUninstalledWithName": "{0} հեռացված է",
+ "PluginUpdatedWithName": "{0} թարմացված է",
+ "ScheduledTaskFailedWithName": "{0} խափանվել է",
+ "Shows": "Սերիալ",
+ "StartupEmbyServerIsLoading": "Jellyfin Սերվերը հեռվում է, խնդրում ենք փորձել մի փոքր ուշ։",
+ "SubtitleDownloadFailureFromForItem": "Ենթագրերը չհաջողվեց ներմուծել {0} {1} համար",
+ "Undefined": "Չսահմանված",
+ "UserCreatedWithName": "{0} Օգտատերը ստեղծված է",
+ "UserDeletedWithName": "{0} Օգտատերը հեռացված է",
+ "UserDownloadingItemWithValues": "{0} ներմուծում է {1}",
+ "UserLockedOutWithName": "{0} Օգտատերը արգելափակված է",
+ "UserOfflineFromDevice": "{0} անջատվել է {1}",
+ "UserOnlineFromDevice": "{0} ցանցում է {1}-ից",
+ "UserPasswordChangedWithName": "Գաղտնաբառը փոխված է {0} օգտատերի համար",
+ "UserStartedPlayingItemWithValues": "{0}-ը նվագարկում է «{1}» {2}-ում",
+ "UserStoppedPlayingItemWithValues": "{0}-ը վերջացրեց նվագարկումը «{1}» {2}-ում",
+ "TaskCleanActivityLogDescription": "Ջնջում է ակտիվության մատյանի՝ սահմանված ժամկետից հին գրառումները։",
+ "TaskCleanCache": "Մաքրել քեշի պանակը",
+ "TaskCleanCacheDescription": "Ջնջում է քեշի ֆայլերը որոնք այլևս հարկավոր չեն համակարգին:",
+ "TaskRefreshChapterImages": "Արդյունահանել Գլուխների Պատկերները",
+ "TaskRefreshChapterImagesDescription": "Ստեղծում է մանրանկարներ տեսանյութերի համար որոնք ունեն նկարներ:",
+ "TaskAudioNormalization": "Աուդիոյի նորմալացում",
+ "TaskAudioNormalizationDescription": "Ականավորում է ֆայլերը աուդիոյի նորմալացման տվյալների համար:",
+ "TaskRefreshLibrary": "Սկանավորել Մեդիա Գրադարանը",
+ "TaskRefreshLibraryDescription": "Ականավորում է Ձեր մեդիա Գրադարանը նոր և թարմացված մետադատայի համար:",
+ "TaskCleanLogs": "Մաքրել Մատյանի Պանակը",
+ "TaskCleanLogsDescription": "Ջնջում է մատյանի ֆայլերը որոնք մնացել են ավելի քան {0} օր։",
+ "TaskRefreshPeopleDescription": "Թարմացնում է մետադատան դերասանների և դիրեկտորների համար Ձեր մեդիա Գրադարանում։",
+ "TaskRefreshTrickplayImages": "Գեներացնել Trickplay Նկարներ",
+ "TaskRefreshTrickplayImagesDescription": "Ստեղծում է trickplay նախասրտում տեսանյութերի համար նշված գրադարաններում:",
+ "TaskUpdatePlugins": "Թարմացնել Փլագինները",
+ "TaskUpdatePluginsDescription": "Ներմուծում և տեղադրում է թարմացումները Փլագինների համար որոնք նշված են ինքնուրույն թարմացվել։",
+ "TaskCleanTranscode": "Մաքրել Տրանսկոդի Պանակը",
+ "TaskCleanTranscodeDescription": "Ջնջում է տրանսկոդի ֆայլերը որոնք ավելի քան մեկ օր են։",
+ "TaskRefreshChannelsDescription": "Թարմացնում է ինտերնետ ալիքի ինֆորմացիան:",
+ "TaskDownloadMissingLyrics": "Ներմուծել փակասող երգի տեքստը",
+ "TaskDownloadMissingLyricsDescription": "Ներմուծում է երգի տեքստի երգի համար",
+ "TaskDownloadMissingSubtitlesDescription": "Հիմնված մետադատայի կարգավորման որոնում է ինտերնետում պակասող ենթագրերը։",
+ "TaskOptimizeDatabase": "Օպտիմալացնել տվյալների բազան",
+ "TaskOptimizeDatabaseDescription": "Սեղմում է տվյալների բազան և ազատում է տեղ հիշողության մեջ։ Այս առաջադրանքի գործարկումը գրադարանի սկանավորումից կամ այլ փոփոխություններից հետո, որոնք ազդում են տվյալների բազայի վրա, կարող է բարելավել արտադրողականությունը։",
+ "TaskKeyframeExtractor": "Բանալի Կադրերի Արդյունահանիչ",
+ "TaskKeyframeExtractorDescription": "Արդյունահանում է բանալի կադրերը տեսանյութերի ֆայլերից, որպեսզի ստեղծել ավելի ճշգրիտ HLS նվագացանկ։ Այս առաջադրանքը կատարելը կարող է տևել երկար ժամանակ։",
+ "TaskExtractMediaSegments": "Մեդիայի Սեգմենտի Սկանավորում",
+ "TaskExtractMediaSegmentsDescription": "Արդյունահանում է կամ ստանում է մեդիայի սեգմենտները MediaSegment միացված Փլագինից։",
+ "TaskMoveTrickplayImages": "Տեղափոխել Trickplay Պատկերի Տեղադրությունը",
+ "TaskMoveTrickplayImagesDescription": "Տեղափոխում է գոյություն ունեցող trickplay ֆայլերը ըստ գրադարանի կարգավորումներից։",
+ "CleanupUserDataTask": "Օգտատերի տվյալների մաքրման գործողություն",
+ "NameExtraNumbered": "{0} {1}"
}
diff --git a/Emby.Server.Implementations/Localization/Core/id.json b/Emby.Server.Implementations/Localization/Core/id.json
index 3502ec39ad..3fb410bc3c 100644
--- a/Emby.Server.Implementations/Localization/Core/id.json
+++ b/Emby.Server.Implementations/Localization/Core/id.json
@@ -108,5 +108,18 @@
"TaskDownloadMissingLyrics": "Unduh Lirik yang Hilang",
"CleanupUserDataTask": "Tugas Pembersihan Data Pengguna",
"LyricDownloadFailureFromForItem": "Lirik gagal di download dari {0} untuk {1}",
- "Original": "Asli"
+ "Original": "Asli",
+ "NameExtraBehindTheScenes": "Dibalik Layar",
+ "NameExtraClip": "klip",
+ "NameExtraDeletedScene": "adegan yang dihapus",
+ "NameExtraFeaturette": "film pendek",
+ "NameExtraInterview": "wawancara",
+ "NameExtraSample": "contoh",
+ "NameExtraScene": "adegan",
+ "NameExtraShort": "pendek",
+ "NameExtraThemeSong": "lagu tema",
+ "NameExtraThemeVideo": "Tema video",
+ "NameExtraTrailer": "cuplikan",
+ "NameExtraUnknown": "tambahan",
+ "NameExtraNumbered": "{0} {1}"
}
diff --git a/Emby.Server.Implementations/Localization/Core/ja.json b/Emby.Server.Implementations/Localization/Core/ja.json
index 4181ebe13b..185d4b5e1f 100644
--- a/Emby.Server.Implementations/Localization/Core/ja.json
+++ b/Emby.Server.Implementations/Localization/Core/ja.json
@@ -31,16 +31,16 @@
"NotificationOptionApplicationUpdateInstalled": "アプリケーションは最新です",
"NotificationOptionAudioPlayback": "オーディオの再生を開始",
"NotificationOptionAudioPlaybackStopped": "オーディオの再生を停止",
- "NotificationOptionCameraImageUploaded": "カメライメージがアップロードされました",
+ "NotificationOptionCameraImageUploaded": "カメライメージをアップロードしました",
"NotificationOptionInstallationFailed": "インストール失敗",
"NotificationOptionNewLibraryContent": "新しいコンテンツを追加しました",
- "NotificationOptionPluginError": "プラグインに障害が発生しました",
+ "NotificationOptionPluginError": "プラグインで失敗",
"NotificationOptionPluginInstalled": "プラグインをインストールしました",
"NotificationOptionPluginUninstalled": "プラグインをアンインストールしました",
"NotificationOptionPluginUpdateInstalled": "プラグインのアップデートをインストールしました",
- "NotificationOptionServerRestartRequired": "サーバーを再起動してください",
- "NotificationOptionTaskFailed": "スケジュールされていたタスクの失敗",
- "NotificationOptionUserLockedOut": "ユーザーはロックされています",
+ "NotificationOptionServerRestartRequired": "要サーバー再起動",
+ "NotificationOptionTaskFailed": "スケジュールタスクの失敗",
+ "NotificationOptionUserLockedOut": "ユーザーをロックしました",
"NotificationOptionVideoPlayback": "動画の再生を開始",
"NotificationOptionVideoPlaybackStopped": "ビデオの再生を停止",
"Photos": "フォト",
@@ -49,18 +49,18 @@
"PluginUpdatedWithName": "{0} を更新しました",
"ScheduledTaskFailedWithName": "{0} が失敗しました",
"Shows": "番組",
- "StartupEmbyServerIsLoading": "Jellyfin Server は現在読み込み中です。しばらくしてからもう一度お試しください。",
+ "StartupEmbyServerIsLoading": "Jellyfin Server は現在読み込み中です。しばらくしてから、やり直してください。",
"SubtitleDownloadFailureFromForItem": "{0} から {1}の字幕のダウンロードに失敗しました",
"TvShows": "テレビ番組",
- "UserCreatedWithName": "ユーザー {0} が作成されました",
+ "UserCreatedWithName": "ユーザー {0} を作成しました",
"UserDeletedWithName": "User {0} を削除しました",
- "UserDownloadingItemWithValues": "{0} が {1} をダウンロードしています",
- "UserLockedOutWithName": "ユーザー {0} はロックされています",
+ "UserDownloadingItemWithValues": "{0} が {1} をダウンロード中",
+ "UserLockedOutWithName": "ユーザー {0} はロックしています",
"UserOfflineFromDevice": "{0} は {1} から切断しました",
"UserOnlineFromDevice": "{0} は {1} からオンラインになりました",
"UserPasswordChangedWithName": "ユーザー {0} のパスワードは変更されました",
"UserStartedPlayingItemWithValues": "{0} は {2}で{1} を再生しています",
- "UserStoppedPlayingItemWithValues": "{0} は{2}で{1} の再生が終わりました",
+ "UserStoppedPlayingItemWithValues": "{0} は{2}で{1} の再生を完了",
"VersionNumber": "バージョン {0}",
"TaskCleanLogsDescription": "{0} 日以上前のログを消去します。",
"TaskCleanLogs": "ログの掃除",
@@ -101,8 +101,8 @@
"TaskAudioNormalizationDescription": "音声の正規化データのためにファイルをスキャンします。",
"TaskDownloadMissingLyricsDescription": "歌詞をダウンロード",
"TaskExtractMediaSegments": "メディアセグメントを読み取る",
- "TaskMoveTrickplayImages": "Trickplayの画像を移動",
- "TaskMoveTrickplayImagesDescription": "ライブラリ設定によりTrickplayのファイルを移動。",
+ "TaskMoveTrickplayImages": "Trickplay 画像の場所を移行",
+ "TaskMoveTrickplayImagesDescription": "ライブラリーの設定に従って、既存の Trickplay ファイルを移動します。",
"TaskDownloadMissingLyrics": "欠けている歌詞をダウンロード",
"TaskExtractMediaSegmentsDescription": "MediaSegment 対応プラグインからメディア セグメントを抽出または取得します。",
"CleanupUserDataTask": "ユーザーデータのクリーンアップタスク",
@@ -113,7 +113,7 @@
"NameExtraBehindTheScenes": "舞台裏",
"NameExtraClip": "クリップ",
"NameExtraDeletedScene": "未公開シーン",
- "NameExtraFeaturette": "短編",
+ "NameExtraFeaturette": "メイキング",
"NameExtraInterview": "インタビュー",
"NameExtraNumbered": "{0} {1}",
"NameExtraSample": "サンプル",
diff --git a/Emby.Server.Implementations/Localization/Core/ka.json b/Emby.Server.Implementations/Localization/Core/ka.json
index f7ca19d7f0..04a1ab582c 100644
--- a/Emby.Server.Implementations/Localization/Core/ka.json
+++ b/Emby.Server.Implementations/Localization/Core/ka.json
@@ -37,7 +37,7 @@
"Favorites": "რჩეულები",
"Folders": "საქაღალდეები",
"HeaderFavoriteShows": "რჩეული სერიალები",
- "HeaderLiveTV": "ცოცხალი ტელევიზია",
+ "HeaderLiveTV": "პირდაპირი ტელევიზია",
"HeaderNextUp": "შემდეგი",
"HomeVideos": "სახლის ვიდეოები",
"NameSeasonNumber": "სეზონი {0}",
diff --git a/Emby.Server.Implementations/Localization/Core/ko.json b/Emby.Server.Implementations/Localization/Core/ko.json
index 280d96effe..72a521743e 100644
--- a/Emby.Server.Implementations/Localization/Core/ko.json
+++ b/Emby.Server.Implementations/Localization/Core/ko.json
@@ -117,5 +117,9 @@
"NameExtraScene": "장면",
"NameExtraTrailer": "예고편",
"NameExtraUnknown": "부가영상",
- "NameExtraThemeSong": "주제가"
+ "NameExtraThemeSong": "주제가",
+ "NameExtraBehindTheScenes": "비하인드 영상",
+ "NameExtraFeaturette": "피처렛",
+ "NameExtraShort": "단편",
+ "NameExtraThemeVideo": "테마 영상"
}
diff --git a/Emby.Server.Implementations/Localization/Core/lt-LT.json b/Emby.Server.Implementations/Localization/Core/lt-LT.json
index db4710ddca..27442245dc 100644
--- a/Emby.Server.Implementations/Localization/Core/lt-LT.json
+++ b/Emby.Server.Implementations/Localization/Core/lt-LT.json
@@ -10,8 +10,8 @@
"Folders": "Aplankai",
"Genres": "Žanrai",
"HeaderContinueWatching": "Žiūrėti toliau",
- "HeaderFavoriteEpisodes": "Mėgstami Epizodai",
- "HeaderFavoriteShows": "Mėgstamos TV Laidos",
+ "HeaderFavoriteEpisodes": "Mėgstami epizodai",
+ "HeaderFavoriteShows": "Mėgstami serialai",
"HeaderLiveTV": "Tiesioginė TV",
"HeaderNextUp": "Toliau",
"HomeVideos": "Namų vaizdo įrašai",
@@ -48,11 +48,11 @@
"PluginUninstalledWithName": "{0} buvo pašalintas",
"PluginUpdatedWithName": "{0} buvo atnaujintas",
"ScheduledTaskFailedWithName": "{0} nepavyko",
- "Shows": "Laidos",
+ "Shows": "Serialai",
"StartupEmbyServerIsLoading": "Jellyfin Server kraunasi. Netrukus pabandykite dar kartą.",
"SubtitleDownloadFailureFromForItem": "{1} subtitrai buvo nesėkmingai parsiųsti iš {0}",
- "TvShows": "TV Laidos",
- "UserCreatedWithName": "Buvo sukurtas {0} naudotojas",
+ "TvShows": "TV serialai",
+ "UserCreatedWithName": "Buvo sukurtas naudotojas {0}",
"UserDeletedWithName": "Naudotojas {0} ištrintas",
"UserDownloadingItemWithValues": "{0} siunčiasi {1}",
"UserLockedOutWithName": "Naudotojas {0} užblokuotas",
@@ -109,8 +109,8 @@
"CleanupUserDataTaskDescription": "Iš medijos, kurios nebėra bent 90 dienų, išvalo visus naudotojo duomenis (žiūrėjimo būseną, mėgstamą būseną ir t. t.).",
"LyricDownloadFailureFromForItem": "Nepavyko atsisiųsti dainos teksto iš {0}, skirto {1}",
"NameExtraBehindTheScenes": "Užkulisiuose",
- "NameExtraClip": "Klipas",
- "NameExtraDeletedScene": "Ištrinta scena",
+ "NameExtraClip": "Ištrauka",
+ "NameExtraDeletedScene": "Iškirpta scena",
"NameExtraInterview": "Interviu",
"NameExtraNumbered": "{0} {1}",
"NameExtraSample": "Pavyzdys",
diff --git a/Emby.Server.Implementations/Localization/Core/lv.json b/Emby.Server.Implementations/Localization/Core/lv.json
index 52f1eecbe4..9d00507cc7 100644
--- a/Emby.Server.Implementations/Localization/Core/lv.json
+++ b/Emby.Server.Implementations/Localization/Core/lv.json
@@ -120,5 +120,6 @@
"NameExtraShort": "Īsfilma",
"NameExtraThemeSong": "Motīvu dziesma",
"NameExtraThemeVideo": "Tēmas video",
- "NameExtraTrailer": "Treileris"
+ "NameExtraTrailer": "Treileris",
+ "NameExtraUnknown": "Papildu"
}
diff --git a/Emby.Server.Implementations/Localization/Core/mk.json b/Emby.Server.Implementations/Localization/Core/mk.json
index daf8112eef..9b07d847aa 100644
--- a/Emby.Server.Implementations/Localization/Core/mk.json
+++ b/Emby.Server.Implementations/Localization/Core/mk.json
@@ -15,7 +15,7 @@
"NotificationOptionPluginError": "Грешка на додаток",
"NotificationOptionNewLibraryContent": "Додадена нова содржина",
"NotificationOptionInstallationFailed": "Неуспешна Инсталација",
- "NotificationOptionCameraImageUploaded": "Слика од камера поставена",
+ "NotificationOptionCameraImageUploaded": "Слика од камера прикачена",
"NotificationOptionAudioPlaybackStopped": "Аудио стопирано",
"NotificationOptionAudioPlayback": "Аудио стартувано",
"NotificationOptionApplicationUpdateInstalled": "Надоградбата на Апликацијата е иснталирана",
@@ -105,5 +105,7 @@
"TaskMoveTrickplayImages": "Мигрирај ја локацијата на сликата од Trickplay",
"TaskMoveTrickplayImagesDescription": "Ги преместува постоечките датотеки за трикплеј според поставките на библиотеката.",
"CleanupUserDataTask": "Задача за чистење на кориснички податоци",
- "CleanupUserDataTaskDescription": "Ги чисти сите кориснички податоци (состојба на гледање, статус на омилени итн.) од медиуми што повеќе не се присутни најмалку 90 дена."
+ "CleanupUserDataTaskDescription": "Ги чисти сите кориснички податоци (состојба на гледање, статус на омилени итн.) од медиуми што повеќе не се присутни најмалку 90 дена.",
+ "NameExtraShort": "Кратко",
+ "NameExtraUnknown": "Дополнително"
}
diff --git a/Emby.Server.Implementations/Localization/Core/ml.json b/Emby.Server.Implementations/Localization/Core/ml.json
index dbf2ed4648..a2fb4b12fb 100644
--- a/Emby.Server.Implementations/Localization/Core/ml.json
+++ b/Emby.Server.Implementations/Localization/Core/ml.json
@@ -103,5 +103,19 @@
"TaskDownloadMissingLyrics": "ഇല്ലാത്ത വരികൾ ഡൗൺലോഡ് ചെയ്യുക",
"TaskDownloadMissingLyricsDescription": "പാട്ടുകളുടെ വരികൾ ഡൗൺലോഡ് ചെയ്യുന്നു",
"TaskExtractMediaSegments": "മീഡിയ സെഗ്‌മെന്റ് സ്‌കാൻ",
- "TaskExtractMediaSegmentsDescription": "മീഡിയസെഗ്മെന്റ് പ്രാപ്തമാക്കിയ പ്ലഗിനുകളിൽ നിന്ന് മീഡിയ സെഗ്‌മെന്റുകൾ എക്‌സ്‌ട്രാക്റ്റുചെയ്യുന്നു അല്ലെങ്കിൽ നേടുന്നു."
+ "TaskExtractMediaSegmentsDescription": "മീഡിയസെഗ്മെന്റ് പ്രാപ്തമാക്കിയ പ്ലഗിനുകളിൽ നിന്ന് മീഡിയ സെഗ്‌മെന്റുകൾ എക്‌സ്‌ട്രാക്റ്റുചെയ്യുന്നു അല്ലെങ്കിൽ നേടുന്നു.",
+ "LyricDownloadFailureFromForItem": "{1}-ന് വേണ്ടിയുള്ള വരികൾ {0}-ൽ നിന്ന് ഡൗൺലോഡ് ചെയ്യുന്നതിൽ പരാജയപ്പെട്ടു",
+ "NameExtraBehindTheScenes": "അണിയറയിൽ",
+ "NameExtraClip": "ക്ലിപ്പ്",
+ "NameExtraDeletedScene": "ഒഴിവാക്കിയ രംഗം",
+ "NameExtraFeaturette": "ലഘുചിത്രം",
+ "NameExtraInterview": "അഭിമുഖം",
+ "NameExtraNumbered": "{0} {1}",
+ "NameExtraSample": "മാതൃക",
+ "NameExtraScene": "രംഗം",
+ "NameExtraThemeSong": "പ്രതിപാദ്യ ഗാനം",
+ "NameExtraTrailer": "ട്രെയ്‌ലർ",
+ "CleanupUserDataTask": "ഉപയോക്തൃ ഡാറ്റ ശുദ്ധീകരണ ദൗത്യം",
+ "CleanupUserDataTaskDescription": "കുറഞ്ഞത് 90 ദിവസമായി ലഭ്യമല്ലാത്ത മീഡിയയിൽ നിന്നുള്ള എല്ലാ ഉപയോക്തൃ ഡാറ്റയും (കാണൽ നില, പ്രിയപ്പെട്ടവയായി അടയാളപ്പെടുത്തിയത് തുടങ്ങിയവ) നീക്കം ചെയ്യുന്നു.",
+ "NameExtraUnknown": "എക്സ്ട്ര"
}
diff --git a/Emby.Server.Implementations/Localization/Core/ms.json b/Emby.Server.Implementations/Localization/Core/ms.json
index bb4469ad9c..12f68f09bd 100644
--- a/Emby.Server.Implementations/Localization/Core/ms.json
+++ b/Emby.Server.Implementations/Localization/Core/ms.json
@@ -112,5 +112,11 @@
"NameExtraClip": "Klip",
"NameExtraInterview": "Temu bual",
"NameExtraThemeSong": "Lagu Tema",
- "NameExtraThemeVideo": "Video Tema"
+ "NameExtraThemeVideo": "Video Tema",
+ "NameExtraDeletedScene": "Adegan yang Dibuang",
+ "NameExtraSample": "Contoh",
+ "NameExtraScene": "Adegan",
+ "NameExtraTrailer": "Pratonton",
+ "NameExtraUnknown": "Tambahan",
+ "Original": "Asal"
}
diff --git a/Emby.Server.Implementations/Localization/Core/nb.json b/Emby.Server.Implementations/Localization/Core/nb.json
index 6da32f56a0..f97b9b8a7d 100644
--- a/Emby.Server.Implementations/Localization/Core/nb.json
+++ b/Emby.Server.Implementations/Localization/Core/nb.json
@@ -119,5 +119,7 @@
"NameExtraTrailer": "Trailer",
"LyricDownloadFailureFromForItem": "Kunne ikke laste ned sangtekster fra {0} for {1}",
"NameExtraClip": "Klipp",
- "NameExtraShort": "Kortfilm"
+ "NameExtraShort": "Kortfilm",
+ "NameExtraUnknown": "Ekstra",
+ "Original": "Original"
}
diff --git a/Emby.Server.Implementations/Localization/Core/pl.json b/Emby.Server.Implementations/Localization/Core/pl.json
index 71909fd73a..e2cd75131a 100644
--- a/Emby.Server.Implementations/Localization/Core/pl.json
+++ b/Emby.Server.Implementations/Localization/Core/pl.json
@@ -115,7 +115,7 @@
"NameExtraFeaturette": "Film średniometrażowy",
"NameExtraInterview": "Wywiad",
"NameExtraNumbered": "{0} {1}",
- "NameExtraSample": "Fragment",
+ "NameExtraSample": "Próbka",
"NameExtraScene": "Scena",
"NameExtraShort": "Film krótkometrażowy",
"NameExtraThemeSong": "Czołówka",
diff --git a/Emby.Server.Implementations/Localization/Core/sw.json b/Emby.Server.Implementations/Localization/Core/sw.json
index c117a0eae2..735182f0c2 100644
--- a/Emby.Server.Implementations/Localization/Core/sw.json
+++ b/Emby.Server.Implementations/Localization/Core/sw.json
@@ -1,5 +1,6 @@
{
"Artists": "Wasanii",
"Books": "Vitabu",
- "Collections": "Mikusanyiko"
+ "Collections": "Mikusanyiko",
+ "HeaderContinueWatching": "Endelea Kutazama"
}
diff --git a/Emby.Server.Implementations/Localization/Core/zh-CN.json b/Emby.Server.Implementations/Localization/Core/zh-CN.json
index 7c61ce6f17..fce89050e2 100644
--- a/Emby.Server.Implementations/Localization/Core/zh-CN.json
+++ b/Emby.Server.Implementations/Localization/Core/zh-CN.json
@@ -6,7 +6,7 @@
"ChapterNameValue": "章节 {0}",
"Collections": "合集",
"FailedLoginAttemptWithUserName": "来自 {0} 的登录失败",
- "Favorites": "收藏夹",
+ "Favorites": "收藏",
"Folders": "文件夹",
"Genres": "类型",
"HeaderContinueWatching": "继续观看",
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs
index 7af545c550..c11a0bcc63 100644
--- a/Emby.Server.Implementations/Localization/LocalizationManager.cs
+++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs
@@ -53,6 +53,16 @@ namespace Emby.Server.Implementations.Localization
private FrozenDictionary<string, string> _iso6392BtoT = null!;
+ // Jellyfin's own pre-12.0 codes for region qualified languages and the legacy OpenSubtitles
+ // ones, still stored in existing configuration and common in file names (movie.pob.srt).
+ private static readonly FrozenDictionary<string, string> _legacyLanguageAliases = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
+ {
+ { "pob", "pt-br" },
+ { "pb", "pt-br" },
+ { "pop", "pt-pt" },
+ { "es-mx", "es-419" },
+ }.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);
+
/// <summary>
/// Initializes a new instance of the <see cref="LocalizationManager" /> class.
/// </summary>
@@ -170,6 +180,7 @@ namespace Emby.Server.Implementations.Localization
{
List<CultureDto> list = [];
Dictionary<string, string> iso6392BtoTdict = new Dictionary<string, string>();
+ HashSet<string> claimedCodes = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
using var stream = _assembly.GetManifestResourceStream(CulturesPath);
if (stream is null)
@@ -223,6 +234,16 @@ namespace Emby.Server.Implementations.Localization
iso6392BtoTdict.TryAdd(parts[1], parts[0]);
}
+ // Variants (pt-br, es-419, zh-cn, ze, ...) share the ISO 639-2 code of their base
+ // language, but clients key their language pickers on ThreeLetterISOLanguageName and
+ // would collapse them onto one option. The first entry to claim a code keeps it, which
+ // is the same one FindLanguageInfo resolves that code to; the rest fall back to their
+ // own tag.
+ if (!claimedCodes.Add(parts[0]) && !string.IsNullOrEmpty(twoCharName))
+ {
+ threeLetterNames = [twoCharName, .. threeLetterNames];
+ }
+
list.Add(new CultureDto(name, displayname, twoCharName, threeLetterNames));
}
@@ -244,6 +265,11 @@ namespace Emby.Server.Implementations.Localization
language,
static (lang, cultures) =>
{
+ if (_legacyLanguageAliases.TryGetValue(lang, out var alias))
+ {
+ lang = alias;
+ }
+
// TODO language should ideally be a ReadOnlySpan but moq cannot mock ref structs
for (var i = 0; i < cultures.Count; i++)
{
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index f7ad9b9498..392493264c 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs
@@ -415,7 +415,7 @@ namespace Emby.Server.Implementations.Plugins
TargetAbi = versionInfo.TargetAbi ?? string.Empty,
Timestamp = string.IsNullOrEmpty(versionInfo.Timestamp) ? DateTime.MinValue : DateTime.Parse(versionInfo.Timestamp, CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal),
Version = versionInfo.Version,
- Status = status == PluginStatus.Disabled ? PluginStatus.Disabled : PluginStatus.Active, // Keep disabled state.
+ Status = status is PluginStatus.Disabled or PluginStatus.Superseded ? status : PluginStatus.Active, // Keep disabled and superseded states.
AutoUpdate = true,
ImagePath = imagePath
};
diff --git a/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs b/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
index c4bda96371..27d9955b09 100644
--- a/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
+++ b/Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
@@ -219,10 +219,10 @@ namespace Emby.Server.Implementations.QuickConnect
{
if (expireAll || timestamp < minTime)
{
- _logger.LogDebug("Removing expired secret {Secret}", secret);
+ _logger.LogDebug("Removing expired secret.");
if (!_authorizedSecrets.TryRemove(secret, out _))
{
- _logger.LogWarning("Secret {Secret} already expired", secret);
+ _logger.LogWarning("Secret already expired.");
}
}
}
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index dd71f843e8..91401eea6b 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -1837,7 +1837,7 @@ namespace Emby.Server.Implementations.Session
{
CheckDisposed();
- _logger.LogInformation("Logging out access token {0}", device.AccessToken);
+ _logger.LogInformation("Logging out {0} ({1}) for user {2}", device.DeviceName, device.DeviceId, device.UserId);
await _deviceManager.DeleteDevice(device).ConfigureAwait(false);
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index cccdb3e6aa..8fd4b83e78 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -503,9 +503,9 @@ namespace Emby.Server.Implementations.Updates
var plugins = _pluginManager.Plugins;
foreach (var plugin in plugins)
{
- // Don't auto update when plugin marked not to, or when it's disabled or pending removal.
+ // Don't auto update when plugin marked not to, or when it's disabled, superseded or pending removal.
if (plugin.Manifest?.AutoUpdate == false
- || plugin.Manifest?.Status is PluginStatus.Disabled or PluginStatus.Deleted)
+ || plugin.Manifest?.Status is PluginStatus.Disabled or PluginStatus.Superseded or PluginStatus.Deleted)
{
continue;
}