mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-06 04:00:42 +01:00
- 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
This commit is contained in:
@@ -221,14 +221,14 @@ namespace ChanSort.Loader.PhilipsXml
|
||||
chan.Lock = data.TryGet("ChannelLock") == "1";
|
||||
chan.Hidden = data.TryGet("UserHidden") == "1";
|
||||
var fav = ParseInt(data.TryGet("FavoriteNumber"));
|
||||
chan.FavIndex[0] = fav == 0 ? -1 : fav;
|
||||
chan.OldFavIndex[0] = fav == 0 ? -1 : fav;
|
||||
chan.OriginalNetworkId = ParseInt(data.TryGet("Onid"));
|
||||
chan.TransportStreamId = ParseInt(data.TryGet("Tsid"));
|
||||
chan.ServiceId = ParseInt(data.TryGet("Sid"));
|
||||
var freq = ParseInt(data.TryGet("Frequency"));
|
||||
chan.FreqInMhz = freq;
|
||||
chan.ServiceType = ParseInt(data.TryGet("ServiceType"));
|
||||
chan.SignalSource |= LookupData.Instance.IsRadioOrTv(chan.ServiceType);
|
||||
chan.SignalSource |= LookupData.Instance.IsRadioTvOrData(chan.ServiceType);
|
||||
chan.SymbolRate = ParseInt(data.TryGet("SymbolRate"));
|
||||
if (data.TryGetValue("Polarization", out var pol))
|
||||
chan.Polarity = pol == "0" ? 'H' : 'V';
|
||||
|
||||
Reference in New Issue
Block a user