mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-05 13:57:08 +02:00
- fixed "delete channels", which were added at the end regardless of the user selection
- changed logic how channel lists can control which columns are visible in the UI - added column for PcrPid - removed column AudioPid from SCM lists - added handling for SCM lists where the value of the "hidden" flag is 255. (Guessing the hidden-status based on another field)
This commit is contained in:
@@ -372,8 +372,9 @@ namespace ChanSort.Api
|
||||
}
|
||||
}
|
||||
|
||||
int progNr = GetNewPogramNr(appChannel, ref maxProgNr);
|
||||
appChannel.NewProgramNr = progNr;
|
||||
int progNr = this.GetNewProgramNr(appChannel, ref maxProgNr);
|
||||
if (mode != UnsortedChannelMode.MarkDeleted)
|
||||
appChannel.NewProgramNr = progNr;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -404,9 +405,9 @@ namespace ChanSort.Api
|
||||
|
||||
#endregion
|
||||
|
||||
#region GetNewPogramNr()
|
||||
#region GetNewProgramNr()
|
||||
|
||||
private int GetNewPogramNr(ChannelInfo appChannel, ref int maxPrNr)
|
||||
private int GetNewProgramNr(ChannelInfo appChannel, ref int maxPrNr)
|
||||
{
|
||||
int prNr = appChannel.NewProgramNr;
|
||||
if (prNr > maxPrNr)
|
||||
|
||||
Reference in New Issue
Block a user