mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-14 14:22:17 +01:00
Fix localization of audio title
Maybe passing ILocalizationManager into the ctor of MediaStream is a better solution for master?
This commit is contained in:
@@ -721,6 +721,8 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
if (streamInfo.CodecType == CodecType.Audio)
|
||||
{
|
||||
stream.Type = MediaStreamType.Audio;
|
||||
stream.LocalizedDefault = _localization.GetLocalizedString("Default");
|
||||
stream.LocalizedExternal = _localization.GetLocalizedString("External");
|
||||
|
||||
stream.Channels = streamInfo.Channels;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user