mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Remove superfluous "SoundHandler" from audio stream names
This commit is contained in:
parent
cd4d51a515
commit
11bb834957
@ -691,9 +691,9 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
|
||||
if (string.IsNullOrEmpty(stream.Title))
|
||||
{
|
||||
// mp4 missing track title workaround: fall back to handler_name if populated
|
||||
// mp4 missing track title workaround: fall back to handler_name if populated and not the default "SoundHandler"
|
||||
string handlerName = GetDictionaryValue(streamInfo.Tags, "handler_name");
|
||||
if (!string.IsNullOrEmpty(handlerName))
|
||||
if (!string.IsNullOrEmpty(handlerName) && !string.Equals(handlerName, "SoundHandler", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
stream.Title = handlerName;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user