mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-22 19:51:32 +01:00
- ChanSort didn't work properly for Turkish (and other system locales) that don't translate ".bin" to uppercase
".BIN" and ".BIN" to lowercase ".bin". - Philips: Removing a channel from a list is no longer possible (because it is not supported by the TV's import). When saving a file, all unsorted channels will be placed at the end of the list. - support for Philips Repair\mgr_chan_s_fta.db lists is now read-only. Files can be used as a reference list, but modifying them won't be possible.
This commit is contained in:
@@ -113,7 +113,7 @@ namespace ChanSort.Loader.LG.Binary
|
||||
|
||||
private void ReadConfigurationFromIniFile()
|
||||
{
|
||||
string iniFile = this.GetType().Assembly.Location.ToLower().Replace(".dll", ".ini");
|
||||
string iniFile = this.GetType().Assembly.Location.ToLowerInvariant().Replace(".dll", ".ini");
|
||||
IniFile ini = new IniFile(iniFile);
|
||||
foreach (var section in ini.Sections)
|
||||
{
|
||||
@@ -142,7 +142,7 @@ namespace ChanSort.Loader.LG.Binary
|
||||
{
|
||||
this.InitUiFactory();
|
||||
|
||||
string basename = (Path.GetFileNameWithoutExtension(this.FileName) ?? "").ToUpper();
|
||||
string basename = (Path.GetFileNameWithoutExtension(this.FileName) ?? "").ToUpperInvariant();
|
||||
if (basename.StartsWith("XXLH250"))
|
||||
this.specialModel = SpecialHandlingModels.LH250;
|
||||
else if (basename.StartsWith("XXLH3000"))
|
||||
@@ -1131,7 +1131,7 @@ Due to issues with most recent LG firmwares such lists can no longer be modified
|
||||
set
|
||||
{
|
||||
if (value.Length < 3 || this.settingsBlockOffset == 0 || this.settingsBlockSize < 8) return;
|
||||
value = value.ToUpper();
|
||||
value = value.ToUpperInvariant();
|
||||
int off = this.settingsBlockOffset + 4 + 4 + 2;
|
||||
for (int i = 0; i < 3; i++)
|
||||
this.fileContent[off--] = (byte)value[i];
|
||||
|
||||
Reference in New Issue
Block a user