mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-11 14:30:16 +01:00
- validating checksum when loading dtv_cmdb_2.bin
- added write support for dtv_cmdb_2.bin - File / Information no longer shows duplicate program number warnings for negative numbers (-2 is an allowed dupe for dtv_cmdb_2) - fixed Sony unit test (Sky option channels are now counted as TV and not data)
This commit is contained in:
@@ -253,8 +253,13 @@ namespace ChanSort.Api
|
||||
chan.NewProgramNr = -1;
|
||||
}
|
||||
|
||||
for (int j=0; j<=this.FavListCount; j++)
|
||||
chan.SetOldPosition(j, chan.GetPosition(j));
|
||||
for (int j = 0; j <= this.FavListCount; j++)
|
||||
{
|
||||
var newPos = chan.GetPosition(j);
|
||||
chan.SetOldPosition(j, newPos);
|
||||
if (newPos < -1)
|
||||
chan.SetPosition(j, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user