- 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:
hbeham
2019-11-10 20:09:27 +01:00
parent 449dea8195
commit 5cdf9d0995
15 changed files with 151 additions and 71 deletions

View File

@@ -97,9 +97,6 @@ namespace ChanSort.Api
}
}
for (int i = 0; i < ci.FavIndex.Count; i++)
ci.OldFavIndex[i] = ci.FavIndex[i];
if (!isDupeProgNr)
this.channelByProgNr[ci.OldProgramNr] = ci;

View File

@@ -49,9 +49,9 @@ namespace ChanSort.Api
#region GetServiceTypeDescription()
public string GetServiceTypeDescription(int serviceType)
{
string descr;
this.serviceTypeDescriptions.TryGetValue(serviceType, out descr);
return descr;
if (this.serviceTypeDescriptions.TryGetValue(serviceType, out var descr))
return descr;
return serviceType.ToString();
}
#endregion
@@ -177,8 +177,8 @@ namespace ChanSort.Api
}
#endregion
#region IsRadioOrTv()
public SignalSource IsRadioOrTv(int dvbServiceType)
#region IsRadioTvOrData()
public SignalSource IsRadioTvOrData(int dvbServiceType)
{
switch (dvbServiceType)
{