mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fix ssa/ass codec name
This commit is contained in:
parent
dd63d20e89
commit
6cab9dc227
@ -458,7 +458,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
Type = MediaStreamType.Subtitle,
|
Type = MediaStreamType.Subtitle,
|
||||||
IsExternal = true,
|
IsExternal = true,
|
||||||
Path = fullName,
|
Path = fullName,
|
||||||
Codec = "srt"
|
Codec = Path.GetExtension(fullName).ToLower().TrimStart('.')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (fileNameWithoutExtension.StartsWith(videoFileNameWithoutExtension + ".", StringComparison.OrdinalIgnoreCase))
|
else if (fileNameWithoutExtension.StartsWith(videoFileNameWithoutExtension + ".", StringComparison.OrdinalIgnoreCase))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user