Commit Graph

118 Commits

Author SHA1 Message Date
Horst Beham
df5d8770be finished DVB-C and DVB-S2 implementation of Philips BIN format with Repair / channellib/*Table and s2channellib/*.dat format 2020-08-10 11:27:05 +02:00
Horst Beham
bfc12eae66 added unit tests for Philips BIN loader 2020-08-09 14:09:08 +02:00
Horst Beham
8195267981 physically reordering satellite channels like the Philips Editor does it to make sure there are no issues with the next/prev list or with the index/progNr order 2020-08-08 20:37:16 +02:00
Horst Beham
736f385ccd added first draft of Philips "Repair/ChannelList/s2channellib/*.dat" loader.
currently supports:
- read and write of satellite channels (incl. sorted favorites and "locked" flag)
- read-only of digital cable/antenna files (still missing transponder information)
2020-08-08 13:58:53 +02:00
Horst Beham
736ab2eebf file structure for Philips channel lists with a Repair/ChannelList/s2channellib/*.dat layout 2020-08-03 21:59:49 +02:00
Horst Beham
e472e6976b - Philips: older models which export a Repair/*.BIN file can now be loaded, when there is an invisible .xml file in the same
directory.
  (Philips exports the .xml file with file attributes "hidden" and "system", which makes them invisible to Windows Explorer)
- upgrade to DevExpress 20.1.6
2020-08-03 00:35:57 +02:00
Horst Beham
a10fb8b353 Samsung 1242 format uses 16-bits UTF16 as payload inside 3 byte UTF8 sequences.
Characters showed up as Chinese when the raw data was interpreted directly as UTF16 (both little and big endian)
2020-07-13 10:00:41 +02:00
Horst Beham
180ad35d8e - added UTF-16 Big Endian and Little Endian options to character set menu
- Samsung .zip loader: auto-detect UTF-16 endianness and allow to change encoding after loading to UTF-16 LE/BE
  (some files use Little Endian format and show chinese characters when loaded with the default Big Endian format)
- Customized column order is now preserved across file formats and input sources

- Note about LG WebOS 5 files (e.g. CX series):
  It is still unclear what exact firmware version and conditions are needed to properly import a channel list.
  Users reported about varying success of an import, reaching from not possible at all, only after a factory reset,
  importing the same list twice or working just fine.
  The problems is not related to ChanSort, as it can be reproduced by exporting a list to USB, swapping channels
  in the TV's menu and trying to loading the previously exported list back. The TV may keep the swapped channels and
  show inconsistencies between the channel list in the settings menu and the EPG.

- upgrade to DevExpress 20.1.4
2020-07-12 02:39:43 +02:00
Horst Beham
6b25a1648d - LG GlobalClone 200 Json Serializer for WebOS 5.0 didn't add the 0x4000 to radio program numbers when saving the file
- aded NUnit test to compare original and modified file and ensure only expected changes are made
- added DevExpress Data.Desktop DLL is now with 20.1 to start the application
2020-05-15 22:02:15 +02:00
Horst Beham
beb485d2d3 updates to handle LG CX lists with channels from different sources (DVB-C and DVB-S) 2020-05-11 20:47:28 +02:00
Horst Beham
728e36ef39 - added info screen when opening an empty LG channel list which is most likely caused by selecting a predefined list
during the TV setup or channel search
- fixed: Sony KDL channel lists were not saved correctly
- upgrade to DevExpres 20.1.3
- Loaders can use Api.View.Default.MessageBox(...) to show a DevExpress themed message box without adding a reference to DX libs
2020-05-06 22:07:48 +02:00
Horst Beham
9e9028a99c added experimental support for LG WebOS 5.0 (e.g. OLED CX series)
- NO favorite list support
- UNCLEAR behavior when the list contains channels from multiple sources (DVB-C/T/S) - so far only files with a single source are supported
2020-05-03 18:07:28 +02:00
Horst Beham
77fdde0cf1 initial work on LG GlobalClone 2.00 JSON file format 2020-05-03 12:12:09 +02:00
Horst Beham
dc810b0a12 - added Turkish translation (thanks to Ali Haykir)
- Philips: combined DVB-C and DVB-T into a single list with a common number domain
- added exprimental support for Samsung "iptv" list
- added Suiss reference lists with Astra 19.2E + Hotbird 13.0E channels
- fixed "System.ArgumentOutOfRangeException..." when opening a file which supports mixed-source favorite lists
  (Sony, Philips, Hisense, ...)
- System requirements changed: .NET Framework 4.8
- added high-DPI support
- added Accessibility menu options to change the UI font size
2020-05-02 19:04:43 +02:00
Horst Beham
abb2c90446 - another attempt to get Samsung 1352.0 format working
It seems that when a user changes a program number through the TVs menu, it creates a cloned record and sets the SRV_EXT_APP.recState=1
  So when there are 2 channels with the same program number, the one with recState=NULL should be ignored
2020-03-20 01:25:27 +01:00
Horst Beham
3c33b570c8 changed packaging script to include Polish translation and also copy localized DevExpress language files for several languages 2020-03-15 16:13:04 +01:00
Horst Beham
f42483de23 - check for updates can now handle multiple updates on a specific day
- fixed applying favorites from a reference list (it showed fav letters on the channels, but the fav lists were empty)
- added Polish translation (thanks to Jakub Driver!)
- potential fix for Samsung 1352.0 format, which can contain channels marked as deleted
2020-03-14 16:54:42 +01:00
Horst Beham
40f36c58c6 fixed: removing channels from a favorite list caused incorrect reordering 2020-02-11 23:25:32 +01:00
Horst Beham
bd19d94686 - Philips: show and edit customized titles of favorite lists
- fixed non-unique numbers in mixed-source favorite lists when using "Add to Fav A" (Panasonic, Hisense, Sony, Philips)
- function to reorder channels from 1-x is now reordering all channels when only a single one was selected
- function to sort channels by name is now reordering all channels when only a single one was selected
2020-02-11 21:06:37 +01:00
Horst Beham
a901a7fa65 - hopefully fixed corrupted Sony lists when channels were deleted
- upgrade to DX 19.2.6
- detect file corruption when all bytes have same value instead of just 0x00 (as there are broken files with 0xFF too)
2020-02-02 23:31:44 +01:00
Horst Beham
ec4e50d8df - updated readme
- m3u: handling of additional #EXT instructions
2020-01-03 01:26:48 +01:00
Horst Beham
d293ee14d3 - fixed support for Philips channel lists with format 100 2020-01-02 20:49:30 +01:00
Horst Beham
f04cb5e903 - rewrote m3u loader to handle arbitrary lines in the file and preserve encoding and line endings
- support for Hisense channel.db format of the H50B7700UW, which has a different schema in the fav_x tables
- added spanish translation to distribution packages
2020-01-02 20:33:40 +01:00
Horst Beham
19499d0d57 initial support for .m3u Lists (for SAT>IP) 2020-01-02 11:48:00 +01:00
Horst Beham
1cc3061a4d added "polarity" information for Samsung .scm and .zip files 2020-01-01 13:56:19 +01:00
Horst Beham
5e56653b79 fixed exceptions in the "Apply Reference List" dialog 2019-12-31 00:05:00 +01:00
Horst Beham
2745b8ff73 - Added Spanish translation (thanks to Marco Sánchez!)
- Added support for Philips "ChannelMap" favorites lists (1-8)
2019-12-29 17:15:38 +01:00
hbeham
9ba8a357ed - LG GlobalClone: Favorites were not loaded correctly into ChanSort
- LG GlobalClone: some changes that might fix problems where the TV didn't work properly
  with an importet list (ChanSort now modifies less data in the file)
- Menu items for hide/unhide, skip/unskip, lock/unlock are now disabled when these features are not supported by the
  channel list file format
- Applying a .txt reference list (which doesn't contain information about skip/lock/hide) will no longer clear these
  flags in the current channel list
2019-11-24 20:00:48 +01:00
hbeham
cdd7c219a1 Philips: fixed file detection in some ChannelMap_xxx folder structures 2019-11-18 22:47:43 +01:00
hbeham
0e7f810dd5 Philips: Improved support for ChannelMap_xxx channel lists directory structure.
Selecting any .xml or .bin file in the folder will now load all DVB\*.xml files from the
channellib and s2channellib sub folders.

The Loader can now return multiple file names to the MainForm that it will use for backup/restore.
2019-11-17 14:56:19 +01:00
hbeham
737ce9d344 fixed: Philips DVBC.XML files with frequency values in Hz instead of MHz caused an overflow exception 2019-11-11 19:22:00 +01:00
hbeham
44f2c77c8d - correctly detecting LG hospitality TV files named "xx....TLL" as GlobalClone/XML text files 2019-11-11 16:06:11 +01:00
hbeham
5cdf9d0995 - Sony Android (E-Format) now supports independent favorite list ordering
- fixed issue when saving Sony Android list with high program numbers (causing negative int32 values due to bit shift)
- for unknown DVB service types the UI now shows the number instead of an empty string
- loaders are now setting the OldFavIndex (to be consistent with the use OldProgramNr)
- Form shows full file path in title bar
- no longer defaulting to "swap" mode when opening a file and using "current order"
- show "Source" column in the left list when editing a mixed source favorite list
2019-11-10 20:09:27 +01:00
hbeham
449dea8195 fix for loading Sony channel lists with channel numbers 10000 and higher (negative No values in the sdb.xml file) 2019-11-10 11:25:07 +01:00
hbeham
65600756da some more code cleanup and a few minor fixes 2019-11-08 19:35:59 +01:00
hbeham
34b281f5fc - unified handling for deleting channels (action based on file format support either mark-as-deleted, remove-from-file, append-at-end)
- added unit tests
- internal code cleanup
2019-11-08 02:31:44 +01:00
hbeham
caca802c0a fixed wrong print captions for favorite lists 2019-08-29 18:26:57 +02:00
hbeham
808ac88be2 changed ChannelList.SignalSource semantics again:
- constructor replaces empty masks with full masks (i.e. if no tv/radio/data bit is set, then all bits get set and the list can hold any such channels)
- DataRoot.GetChannelList(SignalSource) works now accordingly to ignore a mask when it is empty in the search criteria (as opposed to the list's SignalSource)
Added checkbox for Data/Other in the reference list dialog
2019-08-29 18:14:59 +02:00
hbeham
0cf97fe76c - UHD channels using ServiceType 0x9F are now recognized as TV channels (fixes an issue with Panasonic lists where these channels did not show up and their numbers were assigned multiple times)
- ChannelList.SignalSource and DataRoot.GetChannelList(SignalSource) are now handled so that if all bits of a given Mask are left 0, the list will accept anything.
  i.e. if Tv/Radio/Data is left 0, the list can contain all of them as well as channels that have neither of the 3 bits set.
- added basic unit tests for each loader to ensure test files have the expected numbers of channels in the various sub lists
2019-08-29 16:57:20 +02:00
hbeham
8923ce4c83 - LG GlobalClone: added support for additional favorites (A-H) and individual fav sorting when supported by the TV
- LG GlobalClone: data/option channels were not listed before and are now shown in the TV channel list
- added function to copy list to clipboard (which can then be pasted into Excel or other programs)
2019-08-13 13:29:59 +02:00
hbeham
0c348ed151 - Sony: DVB-T and DVB-C lists are now separated into "TV", "Radio" and "Other" lists, each with their own unique numbering
- Samsung ZIP: deleting a channel now really deletes it from the file, instead of marking it as deleted
  and assigning -1 as channel number (which appears as 65535 on some models)
2019-08-11 17:27:07 +02:00
hbeham
8aee8a75d0 - various improvements for Sony 1.1.0e format (handling deleted channels that need a unique number)
- DX upgrade to 19.1.5
2019-08-11 10:04:29 +02:00
hbeham
25b2df7734 - added partial support for Philips .xml channel lists
(There are MANY different file formats, only a few are currently supported)
- fixed "most-recently-used" getting reversed every time the program was started
- added "UTF-8 (Unicode)" character set to menu
- fixed disappearing columns when loading different channel lists without restarting the application
2019-08-05 23:50:53 +02:00
hbeham
55a7a1a048 - fix: Application failed to save config and didn't exit when the folder %LOCALAPPDATA%\ChanSort doesn't exist 2019-07-25 18:02:17 +02:00
hbeham
6786dc5615 - using custom %LOCALAPPDATA%\ChanSort\chansort.xml config file instead of standard .NET Settings with user.config
- .sdx files supported by the "SilvaSchneider" loader are also used by ITT, Medion, Nabo, ok., PEAQ, Schaub Lorenz and, Telefunken
- fixed Sony DVB-T channel lists
- fixed using wrong loader, when a file type was selected in the OpenFileDialog
2019-07-20 14:54:01 +02:00
hbeham
1e26ef9cd4 Generalized Crc32 implementation so it can be used for LG (TLL), Panasonic (.bin and .db) and Sony (sdb.xml) 2019-07-20 02:08:51 +02:00
hbeham
8e6d32e557 fixed support for Sony "FormateVer 1.1.0" DVB-C/T channel lists 2019-07-18 12:24:25 +02:00
hbeham
1acf6435c2 - implemented saving for "e" and normal formats
- correct handling for "e" program numbers
- code cleanup
2019-07-16 12:42:45 +02:00
hbeham
7fa2073c46 code cleanup 2019-07-16 02:27:56 +02:00
hbeham
57d6a7d8c1 partial Save implementation (only "non-E" format) and no checksum update 2019-07-16 01:44:18 +02:00