1.1 --- a/MainForm.cs Fri May 15 17:28:51 2015 +0200
1.2 +++ b/MainForm.cs Fri May 15 22:41:33 2015 +0200
1.3 @@ -24,8 +24,17 @@
1.4
1.5 private void buttonGenerate_Click(object sender, EventArgs e)
1.6 {
1.7 + //List<Channel> channels = new List<Channel>();
1.8 List<Channel> channels=KingOfSat.Parse("http://en.kingofsat.net/pack-skygermany.php","19.2°E");
1.9 - MediaPortal.Export(channels,"channels.xml");
1.10 +
1.11 + //Declare tuner cards so that we don't need to create mapping manually after import
1.12 + List<string> tuners = new List<string>()
1.13 + {
1.14 + "3",
1.15 + "4"
1.16 + };
1.17 +
1.18 + MediaPortal.Export(channels, tuners, "channels.xml",false);
1.19 }
1.20 }
1.21 }