fixed test

This commit is contained in:
Horst Beham
2021-03-27 17:05:23 +01:00
parent 7da7768495
commit 8c0d9d7079

View File

@@ -38,6 +38,11 @@ namespace Test.Loader.M3u
var ed = new Editor();
ed.DataRoot = ser.DataRoot;
ed.ChannelList = lists[0];
// reset the order so we can apply a reference list
foreach (var chan in lists[0].Channels)
chan.NewProgramNr = -1;
//ed.ApplyReferenceList(refSer.DataRoot);
ed.ApplyReferenceList(refSer.DataRoot, refSer.DataRoot.ChannelLists.First(), 0, lists[0], 0,false, 0, null, true, false);