Commit Graph

84 Commits

Author SHA1 Message Date
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
0890c0f2c7 - fixed application of .txt reference lists (which had no effect at all on philips lists)
- improved support for Vidaa 5.1 Hisense format
2021-07-08 22:13:08 +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
5a07d36f56 removed DependencyChecker code that was used to ensure VC2010 Redist x86 is installed 2021-04-25 18:41:53 +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
7da7768495 - SatcoDX (.sdx): fixed handling of format version 105, which contains trailing data after the last channel
- SatcoDX: changing the character set in the menu now instantly corrects channel names with non-ASCII characters
2021-03-27 16:54:53 +01:00
Horst Beham
9387fb19c1 - fixed issue where indistinguishable channels were reassigned a number during application of a reference list 2021-03-17 17:46:11 +01:00
Horst Beham
1f809bd571 - bugfix for Sharp/Dyon/... .csv file formats with less than 52 colums
- improved reference list channel matching: if multiple channels match the same name, then the candidates are narrowed
  down by service type (TV/radio/data - if known), case sensitivity (upper/lowercase), encryption (unencrypted first)
2021-03-17 07:01:05 +01:00
Horst Beham
09beaf5e80 - added support for *.csv channel lists from various manufacturers (Sharp, Dyon, Blaupunkt, Hisense, ...)
- updated readme with system requirement (including Linux) and TV models
2021-03-15 20:53:45 +01: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
9d4467c868 more changes for enigma2 list with 64+ favorite lists (bouquets) 2021-03-07 20:48:31 +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
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
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
53b27e277a - added unit test project for m3u lists
- fixed handling of reference lists (matching sat/cable/antenna, digital/analog, tv/radio/data criteria), especially for m3u lists which don't contain ONID-TSID-SID to identify channels
2021-01-24 11:57:06 +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
Horst Beham
7fc413e64d - Grundig: added support for dvb*_config.xml channel lists
- experimental feature to allow editing Audio-PID (but turned out to have no effect for webOS 5)
2021-01-02 13:18:37 +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
bfc12eae66 added unit tests for Philips BIN loader 2020-08-09 14:09:08 +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
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
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
ec4e50d8df - updated readme
- m3u: handling of additional #EXT instructions
2020-01-03 01:26:48 +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
1cc3061a4d added "polarity" information for Samsung .scm and .zip files 2020-01-01 13:56:19 +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
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
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
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
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