Commit Graph

4 Commits

Author SHA1 Message Date
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