diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-09-25 19:21:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-25 19:21:37 +0200 |
| commit | 2ee3e9e00f62ff8b0139f1273d7666d0f6c549a4 (patch) | |
| tree | 354f808d6687abcd3b5f862c0cb8c9e4fd754966 /DvdLib/Ifo/Dvd.cs | |
| parent | d81c9a7a8cbab8967bfc66086c6f0f80bf7fc0c2 (diff) | |
| parent | 4643fd5dcbc6d1a4fbe973efc68d92ca71e3ab3b (diff) | |
Merge pull request #6590 from jellyfin/dotnet6
Diffstat (limited to 'DvdLib/Ifo/Dvd.cs')
| -rw-r--r-- | DvdLib/Ifo/Dvd.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DvdLib/Ifo/Dvd.cs b/DvdLib/Ifo/Dvd.cs index b4a11ed5d..7f8ece47d 100644 --- a/DvdLib/Ifo/Dvd.cs +++ b/DvdLib/Ifo/Dvd.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; @@ -76,7 +77,7 @@ namespace DvdLib.Ifo private void ReadVTS(ushort vtsNum, IReadOnlyList<FileInfo> allFiles) { - var filename = string.Format("VTS_{0:00}_0.IFO", vtsNum); + var filename = string.Format(CultureInfo.InvariantCulture, "VTS_{0:00}_0.IFO", vtsNum); var vtsPath = allFiles.FirstOrDefault(i => string.Equals(i.Name, filename, StringComparison.OrdinalIgnoreCase)) ?? allFiles.FirstOrDefault(i => string.Equals(i.Name, Path.ChangeExtension(filename, ".bup"), StringComparison.OrdinalIgnoreCase)); |
