mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-06 04:00:42 +01:00
2020-12-26
- LG WebOS 5: added warning that support is only experimental. - Panasonic: Channel name editing is now supported for svl.bin files (unless there is no indicator what encoding to use) - Hungarian translation: added missing files to .zip
This commit is contained in:
@@ -238,5 +238,18 @@ namespace ChanSort.Loader.Panasonic
|
||||
shortName = sbShort.ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UpdateRawData()
|
||||
public override void UpdateRawData()
|
||||
{
|
||||
if (IsNameModified)
|
||||
{
|
||||
var utf8 = Encoding.UTF8.GetBytes(this.Name);
|
||||
this.RawName = new byte[utf8.Length + 1];
|
||||
this.RawName[0] = 0x15; // DVB encoding ID for UTF8
|
||||
Array.Copy(utf8, 0, this.RawName, 1, utf8.Length);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user