mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-06-24 23:30:34 +02: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:
@@ -61,7 +61,7 @@ namespace ChanSort.Loader.SamsungJ
|
||||
this.RecordOrder = r.GetInt32(field["major"]);
|
||||
int serviceType = r.GetInt32(field["srvType"]);
|
||||
this.ServiceType = serviceType;
|
||||
this.SignalSource |= LookupData.Instance.IsRadioOrTv(serviceType);
|
||||
this.SignalSource |= LookupData.Instance.IsRadioTvOrData(serviceType);
|
||||
this.OriginalNetworkId = r.GetInt32(field["onid"]);
|
||||
this.TransportStreamId = r.GetInt32(field["tsid"]);
|
||||
this.ServiceId = r.GetInt32(field["progNum"]);
|
||||
|
||||
@@ -333,7 +333,7 @@ namespace ChanSort.Loader.SamsungJ
|
||||
if (pos >= 0)
|
||||
{
|
||||
channel.Favorites |= (Favorites) (1 << fav);
|
||||
channel.FavIndex[fav] = channel.OldFavIndex[fav] = pos + 1;
|
||||
channel.OldFavIndex[fav] = pos + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -509,7 +509,7 @@ namespace ChanSort.Loader.SamsungJ
|
||||
cmdDeleteFav.ExecuteNonQuery();
|
||||
}
|
||||
|
||||
channel.OldFavIndex[i] = channel.FavIndex[i] = newPos;
|
||||
channel.FavIndex[i] = newPos;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user