Commit Graph

46 Commits

Author SHA1 Message Date
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
f522adad0a - experimental support for Grundig and ChangHong atv\_cmdb.bin files (analog antenna and cable TV)
- Reference list dialog further optimized to fit 1920x1080 @150% or 1024x768 @100% screens
- re-imported translation file (to fix incorrect letters in language names like "Русский")
- upgrade to DevExpress 22.1 libraries
2022-07-03 21:48:12 +02:00
Horst Beham
3038d40d24 - added ChangHong LED40D3000ISX dtv_cmdb_2.bin format (1489 KB size)
- added experimental support for Loewe servicelist.xml format
- added polarity information to Excel export (and changed column order slightly)
- added missing Romanian translation files to the .zip
2022-03-20 21:40:46 +01:00
Horst Beham
93221bbeea - upgrade to DX 21.2.4
- added cmdb .bin configuration for a ChangHong TV
- added support for Encrypted-flag in some Philips binary files
2022-01-07 22:02:35 +01: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
f57c2b9991 - Philips: disabled deleting of channels for ChannelMap\_100 - 115, except for version 100 without any .bin files.
(Lists with .bin files require that the .xml file contains all the same channels to override all channel numbers)
- Panasonic: improved symbol rate and satellite position detection
- startup window location and size are adjusted to fit on screen
2021-09-23 21:50:35 +02:00
Horst Beham
4df90ca7bf - improved per-monitor DPI scaling (i.e. moving the window from a Full-HD to a 4K display with 100% and 200% scale)
- improved "column auto width" (right clicking a column header) by forcing line breaks in the column captions
- Philips: improved and re-enabled favorite list editing for FLASH\_\*/\*.db lists
- Panasonic: fixed display of symbol ra
2021-09-23 14:58:42 +02:00
Horst Beham
063ed165d2 - Philips: added support for CM\_*.xml variant that uses a <ECSM> root element around the <ChannelMap>
- Philips: ability to read/write broken CM\_*.xml files that contain channel names with an unescaped & character
- Philips: enabled write mode for Repair\\FLASH\_\*/\*.db file format (one variant was confirmed to work)
  Favorite lists for this format are disabled for now (TV ignored them).
- Panasonic: importing a modified svl.bin file caused the TV to use case-sensitive sorting when using the
  function to list the names sorted alphabetically. This is now fixed.
2021-09-22 23:46:03 +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
9c2a7b9195 - Philips: fixes for ChannelMap_100, 105 and 110 formats
- Philips: support for FLASH/*.bin DVB-T/C and preset DVB-S lists (mgr_chan_s_pkg.db)
- Toshiba: lists with chmgt_type001\\chmgt.bin can now be opened without zipping them
- Toshiba: selecting the hotelopt_type001.bin will now also load the list (if the type is supported)
- Alden: added support for "Alden" Android SmartTV channel list format (dvr_rtk_tv.db)
2021-09-06 20:42:45 +02:00
Horst Beham
79fb621d69 - fixed broken Philips .ini settings for formats 100, 105 and 110 2021-09-05 22:11:56 +02:00
Horst Beham
39f2c59f94 - Philips loaders will show model and file format version under File / File information... 2021-09-05 18:20:39 +02:00
Horst Beham
c2073534fc - specific .ini settings for various Philips ChannelMap_xxx versions and sub-variants for version 100
- lots of documentation around Philips lists
- working configuration for ChannelMap_100 variant with cmdb files (redordering confirmed, hide/lock/rename/favorites are best-effort)
- pressing the "Del"-key on the keyboard no longer deletes a channel when a text editor is open
- dragging a file (or something else) from outside ChanSort over the ChanSort window no longer creates an error
- opening a file containing a read-only channel list now shows the original numbers
2021-09-04 14:24:41 +02:00
Horst Beham
17761a5f81 added .ini settings to control behavior of philips ChannelMapFormat_105 and 110 2021-09-02 11:10:14 +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
0639750095 - Philips ChannelMap\_100: fixed reading/writing favorites 2021-07-27 20:42:20 +02:00
Horst Beham
5a6e8d9082 - using AnyCPU to support x64 and ARM based CPUs (e.g. running on Win10-arm on a Mac Pro with M1 CPU)
- upgraded to latest Sqlite libraries to support ARM
- finished implementation for Hisense Vidaa U5.2 file format (using servicelist.db with renamed tables and columns)
2021-07-18 12:24:51 +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
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
5a07d36f56 removed DependencyChecker code that was used to ensure VC2010 Redist x86 is installed 2021-04-25 18:41:53 +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
fb4005c99b - Philips ChannelMap\_30: fixed bug that caused favorite lists to be in wrong order 2021-04-11 21:02:10 +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
a75d219026 added support for loading and saving ChannelMap_30 format including favorites 2021-04-11 12:08:47 +02:00
Horst Beham
6e2358ffbb - Philips: another fix for lists with missing s2channellib\\DVBSall.xml file 2021-04-02 19:36:46 +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
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
f5010439cb - W.I.P: Enigma2 lamedb / bouquets support for Linux based Set-Top-Boxes (Dreambox, VU+, Octagon, ...)
- Toshiba settingsDB.db: support for lists without analog tuner data (missing TADTunerDataTable)
- Grunding: failed to load lists where the <Digital> element did not contain a <channels> child element
- W.I.P: reworking the reference list system so that a simple list of channels can be applied to the main channel numbers or a particular favorite list.
  (The "Automatically reorder all lists" options currently does not work)
2021-03-13 18:11:30 +01:00
Horst Beham
cb1fb9db5d - basic support for Enigma2 (Dreambox, Vu+,...) channel lists
- dynamic number of favorite lists (still limited to 64 due to bitmask)
2021-03-07 16:12:21 +01:00
Horst Beham
bc4b650f20 - Philips ChannelMap_45: TV did not remember last selected favorite list when first fav list was created by ChanSort.
- Philips ChannelMap_100 and later: "Channel" XML elements inside the DVB*.xml files are now reordered by program nr.
- Philips ChannelMap_105 and 110: fixed saving favorite lists (keeping FavoriteNumber="0" in DVB*.xml and only
  setting the numbers in Favorites.xml)
- m3u: keep original end-of-line characters (CRLF or LF)
- m3u: detect whether channel names are prefixed with a program number or not, and save the file in the same way.
2021-02-24 11:05:47 +01:00
Horst Beham
fb37239685 Philips ChannelMap\_105 and 110: fixed broken favorites.xml file and DVB\*.xml when channels were renamed 2021-02-17 16:02:19 +01:00
Horst Beham
f85ff02a92 - Panasonic: fixed error reading lists with channels that refer to non-existing transponders
- Philips ChannelMap_45: incrementing fav list version number when saving and setting the last_watched_channel_id to
  the first channel in the fav list (ensuring that the channel is actually present in the list)
2021-02-17 09:41:06 +01:00
Horst Beham
241f8be0f7 - Sony: fixed incorrect checksum error for Android based TVs which use CR+LF as line separators (normally only LF is used)
- Philips: show info that it may be necessary to unplug and reboot the TV after the import
- Philips ChannelMap_45: show info when there are checksum errors, which indicate that TV's internal list is broken
  and a rescan is required in order to properly export/import the list.
2021-02-09 15:04:40 +01:00
Horst Beham
87f3f80b23 - Philips: lists with a chanLst.bin file show information about file format version and TV model under File / Information
- Philips ChannelMap_45: fixed handling of favorite lists (allow up to 8 lists, empty ones get removed automatically)
- Philips ChannelMap_45: no longer prompting to reorder channels sequentially (to close gaps).
  (This feature caused DVB-C/T list to only contain odd numbers and DVB-S to contain only even numbers, when both exist)
- Philips ChannelMap_45: added display for service type (TV/radio), encryption, sat frequency polarity
- Philips ChannelMap_45: fixed display of DVB-C/T frequency
- Philips Repair\chanLst.bin (1.x): fixed sat frequency display for transponders with vertical polarity
2021-02-08 16:57:43 +01:00
Horst Beham
cec36b4f37 - Philips ChannelMap_100 and later: keeping original indentation in XML files
and original number of bytes for hex-encoded Unicode names (channel name, fav list names)
- Philips ChannelMap_110: setting the "UserReorderChannel" flag in the file to 1
- Philips ChannelMap_45: fixed error when channel names did not match between tv.db and Cable/Terrestrial/SatelliteDb.bin
2021-02-05 17:08:01 +01:00
Horst Beham
3cc35c390b - Philips ChannelMap_45: fixed bug writting "channel edited" indicator to the wrong location inside the file
- Philips ChannelMap_45: fixed display of wrong frequency
- Philips ChannelMap_45: added support for favorite lists
2021-01-31 14:37:58 +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
c9fb32f40b - Philips: added support for ChannelMap_45 format
- Philips: fixed display of symbol rate and frequency (off by factor 1000 depending of list and DVB source)
- Philips: fixed special characters in channel names (e.g. german umlauts)
- Philips: "ServiceType" now only shows "TV" or "Radio". There is no information about HD/SD in the file.
2021-01-17 15:44:45 +01:00
Horst Beham
fd603ac8ec merged Philips loaders into one 2021-01-09 12:06:43 +01:00