Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/2c2a55abab5bce09e969967c5685b5129c912b19/MediaBrowser.Model/MediaInfo/AudioCodec.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/MediaBrowser.Model/MediaInfo/AudioCodec.cs

30 lines
757 B

namespace MediaBrowser.Model.MediaInfo
6 years ago
{
public class AudioCodec
{
public const string AAC = "aac";
public const string MP3 = "mp3";
public const string AC3 = "ac3";
public static string GetFriendlyName(string codec)
{
if (string.IsNullOrEmpty(codec))
{
return string.Empty;
}
6 years ago
switch (codec.ToLowerInvariant())
6 years ago
{
case "ac3":
return "Dolby Digital";
case "eac3":
return "Dolby Digital+";
case "dca":
return "DTS";
default:
return codec.ToUpperInvariant();
6 years ago
}
}
}
}