mirror of https://github.com/jellyfin/jellyfin.git
3.0.5490.1
This commit is contained in:
parent
518119d9cd
commit
9edca4586a
|
@ -700,17 +700,17 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||||
/// <returns>System.String.</returns>
|
/// <returns>System.String.</returns>
|
||||||
public string GetSubtitleFileCharacterSet(string path, string language)
|
public string GetSubtitleFileCharacterSet(string path, string language)
|
||||||
{
|
{
|
||||||
var charset = DetectCharset(path);
|
//var charset = DetectCharset(path);
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(charset))
|
//if (!string.IsNullOrWhiteSpace(charset))
|
||||||
{
|
//{
|
||||||
if (string.Equals(charset, "utf-8", StringComparison.OrdinalIgnoreCase))
|
// if (string.Equals(charset, "utf-8", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
// {
|
||||||
//return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
|
|
||||||
//return charset;
|
// return charset;
|
||||||
}
|
//}
|
||||||
|
|
||||||
if (GetFileEncoding(path).Equals(Encoding.UTF8))
|
if (GetFileEncoding(path).Equals(Encoding.UTF8))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
//[assembly: AssemblyVersion("3.0.*")]
|
//[assembly: AssemblyVersion("3.0.*")]
|
||||||
[assembly: AssemblyVersion("3.0.5490.0")]
|
[assembly: AssemblyVersion("3.0.5490.1")]
|
||||||
|
|
Loading…
Reference in New Issue