mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
detect anamorphic video
This commit is contained in:
@@ -18,4 +18,18 @@ namespace MediaBrowser.Model.Extensions
|
||||
return double.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
|
||||
}
|
||||
}
|
||||
|
||||
public static class BoolHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// Tries the parse culture invariant.
|
||||
/// </summary>
|
||||
/// <param name="s">The s.</param>
|
||||
/// <param name="result">The result.</param>
|
||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
|
||||
public static bool TryParseCultureInvariant(string s, out bool result)
|
||||
{
|
||||
return bool.TryParse(s, out result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user