71 Commits

Author SHA1 Message Date
Horst Beham
b097d20de8 - updated build.md with steps to compile and debug ChanSort yourself (without DevExpress license)
- updated .csproj files to include proper configurations for "NoDevExpress_Debug"
2025-06-12 16:27:25 +02:00
Horst Beham
636b9c4151 - fixed Nuget hell: (auto) binding redirects to prevent compiler warning flood and ensure unit tests to be runnable
- put file name in Sqlite connect string in quotes
- improvements to Mediatek Philips 120+125/Sony serializer (physically reorder XML nodes, use flags stored in Java serialized blob)
- selecting a RefList changed the current working directory, which prevented .ini files to be found by loaders
2025-06-05 18:35:10 +02:00
Horst Beham
0d9cdfefbb - added support for Philips PFL9715K/02 (Repair\s2channellib\*.dat channel list format version 0.1)
- added support for Grundig dtv_cmdb_3.bin channel lists with size of 1270 KB
- fixed saving of Grundig dtv_cmdb_3.bin channel lists with size of 1293 KB
- updated tivusat reference list
- fixed issue when saving *cmdb_*.bin channel lists after applying a reference list which contains missing channels
- HB_DATABASE_mm_dd.DBM for Strong SRT 7007: added option "reorderPhysically" in ChanSort.Loader.DBM.ini
  for this particular format to not only change the number but also change the order or data records in the file
- removed app.config files containing assembly redirects from projects and included them in the central Solution.props instead
- upgraded various NuGet packages
2025-01-28 21:26:53 +01:00
Horst Beham
d33f349626 - updated NuGet packages
- added support for dtv_cmdb_3.bin file with file size 1323920
- fixed error when opening reference list dialog with Italian translation
- "Tornado" TV lists which are a slight variation of old Philips lists using a file name __chtb_do_not_delete_.xml
2024-08-18 17:41:46 +02:00
Horst Beham
77af8ea8d0 - experimental support for Xoro HB_DATABASE_C.DBM with file size of 109720 (in case there is no checksum validation)
- LG webOS 4 GlobalClone TLL now allows to set Fav H
- Panasonic svl.bin/svl.db now also uses the ONID as 3rd criteria for joining SVL and TSL tables (caused tuplicates when there are multiple ONIDs on the same transponder)
- Fav list names can no longer be edited for file formats that don't explicitly allow it
- workaround for regression that ReferenceListForm constructur throws an error when deserializing a SuperToolTip
2023-12-18 17:03:05 +01:00
Horst Beham
3ed2e28ac0 - added Italian translation
- updated Polish translation
- added support for a Hisense HIS_SVL variant with different file structure
- Samsung IP-TV lists allow editing stream and logo URLs
2023-08-14 10:46:10 +02:00
Horst Beham
3139f3d9f4 Various changes and refactorings to integrate the suggested changes from pull-request https://github.com/PredatH0r/ChanSort/pull/358 to handle the distinction between IP-antenna, IP-cable, IP-sat and DVB-T, DVB-C, DVB-S for Panasonic TVs.
- SignalSource.IP is now treated as a broadcast system (distinguishing Analog/Dvb/Ip) and no longer a broadcast medium (like antenna/cable/sat).
- SignalSource.Digital was renamed to DVB
2023-06-03 10:38:11 +02:00
Horst Beham
68d3fc4963 - Panasonic LS 500 / LX 700 series: support for new firmware which doesn't export a hotel.bin file.
- Loewe servicelist.xml (and maybe some other .xml files) larger than 2 000 000 bytes were
  not loaded.
- Enigma/Linux lists can now also be opened by selecting a .tv or .radio file (not just lamedb)
2023-06-01 11:11:33 +02:00
Horst Beham
ff452d3a6c - working(?) version that can save HIS_SVL.BIN with skip/lock/fav and HIS_FAV.BIN 2023-01-18 20:22:47 +01:00
Horst Beham
61a25ae913 cleaning up dependencies 2023-01-03 20:43:15 +01:00
Horst Beham
80fc264bd0 - converted from VisualStudio build system to MSBuild 2023-01-03 11:19:07 +01:00
Horst Beham
cc80c6ae70 - fixed: various .xml file formats could not be loaded anymore
- channels can also be swapped now be directly selecting two rows and clicking on "swap"
- swapping mark (strike through) is now automatically removed after swapping
- swapping is now recognized as a change and will prompt to save the list on exit
2022-12-04 18:18:52 +01:00
Horst Beham
d361d51b8b - removed superfluous parameter from SerializerBase.Save()
- added "Pooling=False" parameter to all Sqlite connection strings to prevent open file locks after closing the connection and to avoid extreme delays when using CloseAllPools()
- C# code refactoring "using var" instead of "using ( ) { }" where possible
2022-11-29 22:00:16 +01:00
Horst Beham
6f3df7044e - updated nuget packages
- fixed issues where SQLite database files didn't get unlocked after saving
- fixed quirks with missing e_sqlite3.dll when running unit tests with Resharper
2022-11-29 18:21:52 +01:00
Horst Beham
a39d8f7d18 - added function to mark a channel for swapping + swap with current channel
- replaced misuse of "FileLoadException" with a custom LoaderException to handle file loading issues with better continue/fail logic
- removed "Save As" and replaced it with "Convert list" menu item that shows information on how to use a reference list instead of direct conversion
2022-11-29 14:58:00 +01:00
Horst Beham
4a1a39b1e7 - added function to mark a channel for swapping + swap with current channel
- replaced misuse of "FileLoadException" with a custom LoaderException to handle file loading issues with better continue/fail logic
- removed "Save As" and replaced it with "Convert list" menu item that shows information on how to use a reference list instead of direct conversion
2022-11-29 14:56:23 +01:00
Horst Beham
954b44ed7a - fixed "Export to Excel" (copies the list as tab-separated text into clipboard)
- included latest translation to Polish (thanks to J.D.)
- reorganized File menu and tool bar
- allow renaming channels in SatcoDX channel lists (\*.sdx)
- improved support for Panasonic LS 500 / LX 700 series
2022-11-22 21:36:01 +01:00
Horst Beham
1b90ebcc78 - LG webOS 5/6: setting userEditChNumber and userSelCHNo (just like the TV does) to prevent DVB-C lists (and maybe others too) for changing channel numbers after import
- m3u: support for extended header and a couple more columns
- fixed exception when the Favorites column is added manually for lists that don't support favorites
2021-10-24 22:35:32 +02:00
Horst Beham
c9bbf884b6 - updated russian translation
-  fixed max windows size to match available desktop area instead of screen area
- added .ini for experimental Sony sdb.xml changes
2021-09-26 18:52:24 +02:00
Horst Beham
1afde35aca - Philips: added support for ChannelMap_115 format
- Philips: ChannelMap formats 100-115 did not always fill "Source" and "Polarity" columns correctly
- Philips: improved experimental support for Philips FLASH\_\*/\*.db file formats
  (read-only by default, can be enabled in Philips.ini for testing)
- added Polish readme and updated translation (by JakubDriver)
2021-09-19 20:28:57 +02:00
Horst Beham
ece2cd7e66 - improved IniFile and Mapping to better handle missing settings
- working on philips *.db/FLASH* file format (identified 3 different variations so far)
2021-09-15 10:59:05 +02:00
Horst Beham
ef5834fac0 - LG: added distinction between analog cable and analog antenna channels for legacy binary files (xxMODEL00001.TLL)
- fixed lots of unit tests for LG legacy formats
2021-09-05 04:36:56 +02:00
Horst Beham
1b250b2a18 - ChanSort didn't work properly for Turkish (and other system locales) that don't translate ".bin" to uppercase
".BIN" and ".BIN" to lowercase ".bin".
- Philips: Removing a channel from a list is no longer possible (because it is not supported by the TV's import).
  When saving a file, all unsorted channels will be placed at the end of the list.
- support for Philips Repair\mgr_chan_s_fta.db lists is now read-only. Files can be used as a reference list,
  but modifying them won't be possible.
2021-08-31 22:13:28 +02:00
Horst Beham
b0b09de733 - DX upgrade
- experimental support for Philips Repair\mgr_chan_s_fta.db file format (DVB-S only)
- fixed missing strings for LG empty-channel-list message box
2021-08-24 19:41:31 +02:00
Horst Beham
d4c30a853d - Sony: Files with incorrect checksum are no longer rejected. Information about a bad checksum is visible
unter File / File Information. (The TV seems to ignore bad checksums during the import and the official
  Sony PC Editor ignores bad checksums and write incorrect ones, depending on the file format version)
- Updated Hungarian translation. Thanks to efi99 on Github!
- Minor cleanup amongst translation (setting @Invariant for constant strings and unifying "..." in menu items that open a new dialog)
2021-07-29 17:51:21 +02:00
Horst Beham
11e57dd20b - minor fixes ("File / File information" didn't ignore deleted channels when counting duplicates)
- LG WebOS 5 JSON serializer didn't set RecordIndex and didn't set deleted channels to -1
2021-07-27 01:25:04 +02:00
Horst Beham
6c94e62eca - restructured source and added build configuration to build all non-UI projects without the need for a DevExpress license 2021-07-24 18:59:03 +02:00
Horst Beham
cc1cebcacd - switched to AnyCPU build
- updated to latest nuget packages (stable)
2021-07-12 14:36:18 +02:00
Horst Beham
70811cf829 - added experimental support for Hisense Vidaa U5.2 format
- upgraded to DevExpress 21.1.4
2021-07-03 01:15:41 +02:00
Horst Beham
2124346be0 - when deleted and non-deleted channels match a reference item, prefer the non-deleted
- upgrade to DX 21.1.3
- improved high-dpi-support (mixed DPI screens or VM/remote desktop with high-dpi only)
2021-06-13 04:03:12 +02:00
Horst Beham
35111daeda 2021-05-01
- added "Settings / Reset to defaults and restart" function to delete the stored customized settings in case something
  went wrong (like massively oversized column widths)
- Philips ChannelMap\_30: fixed error when trying to save this type of list
- Upgraded to DevExpress WinForms 20.2.7 user interface library
2021-05-01 11:41:33 +02:00
Horst Beham
8b956ed364 - replaced System.Data.SQLite with Microsoft.Data.Sqlite because MS removed the required VC2010 Redist x86 from their website
- updated bunch of other Nuget packages
2021-04-25 18:31:05 +02:00
Horst Beham
2e22005fe1 - added support for user-defined favorite list names within each channel list (antenna, cable, sat, ....)
- fixed bug saving wrong audioPid values in LG WebOS 4 XML/JSON files
2021-04-11 13:17:53 +02:00
Horst Beham
530a4be23d - Upgrade to DevExpress 20.2.6
- Philips: ignore read-only files during load (which cause an error when saving the list)
2021-04-02 15:33:26 +02:00
Horst Beham
4f54f41169 - LG webOS 5: fixed handling of channels with an ampersand (&) character showing as "&" and not matching
a text-only reference list.
2021-03-28 20:07:35 +02:00
Horst Beham
5705a435b4 - added unit tests for Enigma2 and Grundig loaders
- added round-trip unit test for all loaders to check reordering channels and favorites, saving and reloading
- internal code clean-up regarding different favorite list modes (none vs. flags vs. ordered per source vs. mixed source)
2021-03-14 22:13:22 +01:00
Horst Beham
8d881c2f66 - added unit test for Toshiba settingsDB.db channel list format
- added english and german translation for LG blindscan warning
2021-01-23 21:08:21 +01:00
Horst Beham
3f214c35b9 moved LG Blindscan info into res file 2021-01-23 18:55:39 +01:00
Horst Beham
086d4683fd - merged projects so that there is one loader for each manufacturer 2021-01-23 14:22:18 +01:00
Horst Beham
6584a666c6 - Philips: fixed error saving the Favorite.xml file (effects Philips "ChannelMap_105" and later file format versions)
- added Hungarian translation (credits to Istvan Krisko)
- Sony XML: fixed display of wrong DVB-C cable channel/transponder number
- LG webOS 5: unfortunately no news yet, but the insight that some "CX" models run on webOS 3.6 and others on 5.1, using
  different file formats.
2020-12-05 21:55:43 +01:00
Horst Beham
2c61c28b5f - Philips: TV rejected modified lists because checksums inside chanLst.bin were not updated. This is now fixed.
- LG WebOS 5: fixed handling for deleted satellite radio channels (some TVs expect majorNumber 0, others 16384)
- "Open File Dialog" now works again when double-clicking on a shortcut to a directory (.lnk file).
- DevExpress library update
2020-11-16 20:43:56 +01: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
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
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
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
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
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
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
44f2c77c8d - correctly detecting LG hospitality TV files named "xx....TLL" as GlobalClone/XML text files 2019-11-11 16:06:11 +01:00