PredatH0r / ChanSort

TV channel list editor for Samsung, LG, Sony, Hisense, Panasonic, Philips, Sharp, Toshiba and MANY more.
849 stars 115 forks source link

Just a question for help #83

Open tigryss opened 6 years ago

tigryss commented 6 years ago

Hi,

I really liked your ChanSort program, but I needed an extra feature of being able to edit and save the other fields too because the provider changes them from time to time.

I could change the Grid to be editable, but I couldn't find how I could save the other changes in the end file too.

Could you please help how and where I could add that to the code? The TV is a Samsung one, so I don't need a generic implementation.

Br Tig

FilipeAmadeuO commented 6 years ago

Yes. It would be very nice to be able to edit the other fields

tigryss commented 6 years ago

@PredatH0r : can you please give me a hint?

PredatH0r commented 6 years ago

I am not going to allow editing of transponder information for various reasons. You can't just change the frequency of a single channel. Multiple channels refer to the same transponder and the information about the frequency is stored in the transponder. That means changing the frequency affects all channels on that transponder. That's not what anyone would expect when changing a value shown in the line of a single channel. Another reason is that I only know the meaning of a fraction of the data in the files. I don't know what is needed to properly change or create a transponder or channel data record from scratch.

If you want to try modifying the code, you can find it in the ChanSort.Loader.Samsung (for SCM lists) and SamsungJ (for ZIP lists). SCM files are zip archives containing various binary files with a proprietary format. the ZIP files (models J, K, M and later) contain SQLite database files which can be opened and modified with SQLite Database Browser