PredatH0r / ChanSort

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

does not work on webos 6 #265

Open z31978 opened 3 years ago

z31978 commented 3 years ago

does not work on webos 6

PredatH0r commented 3 years ago

Thanks for the info.

May I ask about some more details?

Ideally you could post your channel list (GlobalClone00001.tll and GlobalClone00001.tll.bak) here or mail it to me (horst @ beham . biz)

droopy987 commented 3 years ago

Hi, I also would like to write an issue as I notice a strange behviour with webos 6. I don't know, what the problem of @z31978 is but I can explain my problem.

I just bought a new LG C1 with webos 6. My current firmware version number is 03.15.95. I am using it with cable (cable from Telekom in Germany, pretty unusual but it is really cable from telekom ;-) ) and disabled the automatic channel update before exporting and importing. I also follow your guideline and ran a full channel search. Here is the first thing that I noticed. After the channel search, there is not a useless order, it is kind of presorted out of the box. For example DAS Erste is 1, ZDF is 2 and so on, even with disabled auto autopdate.

Then I exported the file to ChanSort (version 2021-09-23) and brought the channels in my favorite order. I then imported it to the TV and at first everything was fine. The channels were exactly ordered as I did in Chansort. After a short while (let's say 30 minutes or so) the order of the channel got suddenly reordered like the way it was after the channel search. Really strange. I then imported my ordered list again and again the channels were at first correctly ordered like it should be. Again after a while, they got reordered in the wrong order...

That is very annoying me.

At the moment, I don't have a solution for this. As a workaround I am importing my correct file again and again, when my channels get wrong again. But that is not a lasting solution.

I also try it with the hints in this post https://github.com/PredatH0r/ChanSort/discussions/207#discussioncomment-1066928, but when trying to import the file, my TV said, that it is not able to import the file...

So attached you find the channel list files. One directly after the full search and then my ordered list.

Can you maybe see, where the issue might be? I don't want to order my channel via the TV directly. That is the solution, LG suggested...

If you have any questions, just contact me! Thanks you! :-) GlobalClone00001_original.zip GlobalClone00001_sortiert.zip

PredatH0r commented 3 years ago

Thanks for your feedback!

Regarding the hint about sorting webOS 5 lists: Personally I think it should not matter if using "Swap" or "Insert Before" or "Insert After", the resulting file will be the same - as long as channels are not deleted and no gaps in the numbers exist.

I only noticed a few weeks ago that my recommendation about a free channel search only affects the (Astra 19.2) satellite channel search. Because Astra 19.2 does not transmit any preferred channel numbers (LCN), the TV will start with an initial order based on frequency/transponder. When using a "provider" during the satellite search, the TV will use country specific tables built into its firmware to order the lists.

For DVB-C things are different, because most cable TV operators transmit LCN (logical channel numbers), which are used by the TV for the initial order. Normally, when disabling automatic update, you should be able to reorder the list as you see fit. However, back in 2010 LG already had trouble with some models (using NetCast firmware) that kept changing the order despite disabled auto-update (in the normal menu). For these models the work-around was to activate hotel mode and disable channel updates through the hotel menu. I don't know if such a menu exists or how it can be access in webOS 5 and 6. With webOS 3-4 everything looked fine (after some firmware updates).

The file formats for webOS 5 and 6 are identical and ChanSort doesn't (and can't) makes any distinction between them. It wouldn't be the first nor the 2nd time that something is broken in LG's firmware and needs fixing. Like when they changed the file format from webOS 4 (XML) to webOS 5 (JSON) and removed data about favorite lists from the file.

...but too much information I guess :)

There are some data fields in the file ("userEditChNumber", "userSelCHNo", "userCustomize") in the file which I leave unchanged at the moment. They all default to "false". It would be worth a try if setting any of them to "true" would force the TV to keep the number. The "validLCN" and "LCNPriority" fields looks like the file is not based on locked-in LCN numbers and should allow rearranging.

Before we start with experiments on the file content: Is it possible for you to load the original file back into your TV (with its default order) and use the TV's menu to swap channels 1 and 2? If that can be done, could you send me an export of that list? By comparing the original and the swapped list, maybe I can identify any indicator in the file for changed numbers.

Thanks and best regards, Horst

z31978 commented 3 years ago

thanks for the help , I figured out the program , set everything up and everything works . this is the best program for setting up TV channels . the author you are well done . спасибо за помощь , я разобрался с программой , все настроил и все работает . это самое лучшая программа для настройки тв каналов . автор ты молодец

droopy987 commented 3 years ago

Hello Horst, interesting background information. It's interesting how the structure of this is and how LG changed it during the different versions.

When performing my channel search I did not select any provider. So I guess there might be another issue causing my problem. Maybe, there is really something broken with the firmware. I already contaced LG-Support and reported this, but they just say: "Order your channel directly via TV, then it will be fine. Not with a 3rd-party software as this causes incompatibilities..." But maybe they would not admit, that they might have problems with this... ;-)

There are some data fields in the file ("userEditChNumber", "userSelCHNo", "userCustomize") in the file which I leave unchanged at the moment. They all default to "false". It would be worth a try if setting any of them to "true" would force the TV to keep the number. The "validLCN" and "LCNPriority" fields looks like the file is not based on locked-in LCN numbers and should allow rearranging.

Before we start with experiments on the file content: Is it possible for you to load the original file back into your TV (with its default order) and use the TV's menu to swap channels 1 and 2? If that can be done, could you send me an export of that list? By comparing the original and the swapped list, maybe I can identify any indicator in the file for changed numbers.

Thanks and best regards, Horst

Your idea regarding the data fields is good. It's definetely worth a try. I will do it this evening, loading the default to the tv and swap channels 1 and 2. Then I will send you both files again and you can compare. Maybe this helps.

In general I can also agree with @z31978. You did a great job with this software! :-) Thank you very very much for this.

I will write you later and send the files.

Regards :-)

PredatH0r commented 3 years ago

Great, thanks!

It would also be interesting if the TV keeps the new order stable after re-importing the list right after the export, or if it also starts shuffling that list around (in which case it would clearly proof an error in the firmware as there is no 3rd party editing involved)

droopy987 commented 3 years ago

Good evening Horst, So I just did exactly what you suggest. You have one file (original) with the original order directly after channel search. And in the the other file (swap) you see, that "Das Erste HD" and "ZDF HD" are change. ZDF is 1 and "Das Erste" is 2. This order was stable during the last 2 hours...

GlobalClone00001_swap.zip GlobalClone0000_original.zip

I am excited if you could find something. :-)

Thanks in advance for your advice.

PredatH0r commented 3 years ago

Thanks a lot for your files. I compared them and indeed the "userEditChNumber" and "userSelCHNo" fields were set to "true". Here is a new version of ChanSort that does the same: https://chansort.com/ChanSort_2021-10-12.zip

I took your original, swapped the 2 channels with this version and compared the result with your swapped, they were binary identical. I hope that works with your TV now. There is a small chance that the import won't change any channels there were marked "edited" in the TV. That could be easily tested by loading your swapped first and then loading the original and verify if Pr# 1 is Das Erste and Pr# 2 is ZDF. If so, everything should be good to go. If Pr# 1 is still ZDF, then the edit-flag prevents changes by the import and a reset would be needed to import a list. (unlikely though)

droopy987 commented 3 years ago

Hi Horst, thank you also for your work.

I did the test you mentioned right now. I can say, that when importing first the swapped and then the orignal PR#1 is again Das Erste. So it should be good. So I downloaded the new version of ChanSort and tried it with re-saving my sorted file via the new version. After saving I looked into the file and see, that userEditChNumber are still set to false on every channel. So did I do something wrong?

Or must I just create a complete new list to get the correct setting for userEditChNumber?

droopy987 commented 3 years ago

Ok, I tested this on my own with creating a complete new list and order the channels with the reference file. In this new file the userEditChNumber" and "userSelCHNo" were set to true. So I load this new file to the TV and the first tests looked great. THe order is like it should be. Now the TV was powered on only a few minutes. I will test this in the evening and give feedback to you if that was the solution for my problem.

droopy987 commented 3 years ago

Hi again, sorry, for the delay. I forgot to answer. I can tell you, that the issue is gone. The channels are still in the correct order. So, your change did this. Thank you very much!! :-)

codefalk commented 2 years ago

Hi there, I just bough a new LG OLED65G19LA OLED TV with WebOS 6.2 and try to import the tll file. I only get an error message. Is this a known restriction/bug? Thanks GlobalClone00001.zip

EDIT: to be precise, I received an error message when importing the file the first time, with every other try I just see an empty list.