ChanSort icon indicating copy to clipboard operation
ChanSort copied to clipboard

Renaming channel doesn't work

Open kapciu75 opened this issue 7 years ago • 11 comments

I have Panasonic P50GT30E and I can not use renaming function in your channel editor. Can you solve this issue? It doesn't work. As soon as possibile I will try to send you Polish translations.

kapciu75 avatar Feb 16 '18 13:02 kapciu75

Any news about renaming channels of svl.bin files?

SteffenM-DE avatar Dec 26 '20 11:12 SteffenM-DE

The way names are stored in Panasonic lists is a complete mess and may be different from file to file or channel to channel: https://github.com/PredatH0r/ChanSort/blob/6584a666c63dfe789b77493d9801e68bd2a5e9cc/source/ChanSort.Loader.Panasonic/DbChannel.cs#L141

A wrong guess when reading the list just causes some garbled characters in ChanSort's UI. But a wrong guess when writing data to the list may cause unpredictable side-effects on the TV. So I decided that it's safer to not update channel names in Panasonic lists. I should however also disable the editor in the UI so nobody wastes time trying to change the names. Also, even if I would enable editing, I don't know if the TV would update the name immediately again to whatever it receives via DVB.

PredatH0r avatar Dec 26 '20 12:12 PredatH0r

In ChanSort 2020-12-26 now supports name editing for Panasonic lists if any of the names indicates that the TV supports UTF-8 encoding.

PredatH0r avatar Dec 26 '20 15:12 PredatH0r

Thanks, but do not work with slv.bin from Panasonic 2020 model.

SteffenM-DE avatar Dec 26 '20 16:12 SteffenM-DE

Can you send me your file please or attach it here (.bin and .bak)? What channel did you try to rename?

PredatH0r avatar Dec 26 '20 16:12 PredatH0r

svl.zip

SteffenM-DE avatar Dec 26 '20 16:12 SteffenM-DE

Thanks! Looks like in your file there is no indication about what code page / encoding the TV uses for channel names. But based on "BR Fernsehen Süd HD" I can see that it implicitly assumes UTF-8 to store the "ü" character. I'm adding some auto-detect code for that and will allow editing for this case too.

PredatH0r avatar Dec 26 '20 16:12 PredatH0r

Works with this release now: https://github.com/PredatH0r/ChanSort/releases/tag/v2020-12-26_2

PredatH0r avatar Dec 26 '20 17:12 PredatH0r

Great, renaming is working now. I will test import settings with renamed channels back to TV and come back with feedback,

SteffenM-DE avatar Dec 26 '20 20:12 SteffenM-DE

Here with my Pana TV import settings with renamed channels is working fine. Thanks.

SteffenM-DE avatar Dec 27 '20 10:12 SteffenM-DE