我正在编写通过 Windows Media Player C# 提供电视频道的程序,并希望显示频道并导航它们,但我不知道如何。
像这样的 URL IPTV => "http://free.one24tv.com:8080/get.php?username=...&password=...&type=m3u_plus&output=mpegts"
private void Button1_Click(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL=TextBox1.Text; // URL IPTV
for(int i = 0; i<??? ; i++)
{
string name = axScreen.currentPlaylist.Item[i].name; //But the output here is a number I do not know what is exactly
List<string> namesAll;
namesAll.Add(name);
}
}