Normal
i know that it won't come into trunk in at least 2 weeks, but still..reworked version of the patch with optimizations for almost every channel list in TVSetup:Tv/Radio complete channel lists and channel list groupsTv/Radio channel mapping listsTv/Radio channel combining listsTv/Radio EPG channel listsCombobox with all channels in Manual controlOptimization (in my case getting e.g. "All channels" TV group content for 4k5 channels takes now less than 4 seconds instead of 80 in unpatched SetupTV) is done via rewriting of SQL queries and using dictionaries for searching in lists. Another part is the optimized filling of ListViews.Almost all this stuff i implemented as several functions and placed them in new file ChannelListHelper.csOther changes:added enumeration ChannelProviderType instead of direct numbers (i hate magic numbers in code)added function to retrieve icon index for a channel from its tuningdetails (again, i hate magic numbers)consolidated radio and tv code (this part contains most of spaces/linefeeds changes in the patch) for easier maintaining of it lateradded "use for EPG only" to radio EPG channel list (similar to TV list, also see above)added indication of DVB-S2 channelsI hope that devs also take a critical look to my coding style, and if it doesn't fit to MP - then let me know
i know that it won't come into trunk in at least 2 weeks, but still..
reworked version of the patch with optimizations for almost every channel list in TVSetup:
Optimization (in my case getting e.g. "All channels" TV group content for 4k5 channels takes now less than 4 seconds instead of 80 in unpatched SetupTV) is done via rewriting of SQL queries and using dictionaries for searching in lists. Another part is the optimized filling of ListViews.
Almost all this stuff i implemented as several functions and placed them in new file ChannelListHelper.cs
Other changes:
I hope that devs also take a critical look to my coding style, and if it doesn't fit to MP - then let me know