aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermanCoding <github@germancoding.com>2022-02-28 17:44:23 +0100
committerGermanCoding <github@germancoding.com>2022-02-28 17:44:23 +0100
commit11bb834957e479bbedb99a8e82162c19dfcdd651 (patch)
treeab548813e74c3e5359129920ab063d3e1c38b22b
parentcd4d51a515e119a49288fa401689ffa8fdddb7c5 (diff)
Remove superfluous "SoundHandler" from audio stream names
-rw-r--r--MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 4c8f19604..8313ab5bc 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
@@ -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;
}