add subchannel support (#53)

This commit is contained in:
Jason Dove
2021-03-09 02:46:22 +00:00
committed by GitHub
parent c2cbb1d5ff
commit d53a2f8bbf
26 changed files with 1581 additions and 35 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ namespace ErsatzTV.Core.Iptv
foreach (Channel channel in _channels)
{
xml.WriteStartElement("channel");
xml.WriteAttributeString("id", channel.Number.ToString());
xml.WriteAttributeString("id", channel.Number);
xml.WriteStartElement("display-name");
xml.WriteAttributeString("lang", "en");
@@ -87,7 +87,7 @@ namespace ErsatzTV.Core.Iptv
xml.WriteStartElement("programme");
xml.WriteAttributeString("start", start);
xml.WriteAttributeString("stop", stop);
xml.WriteAttributeString("channel", channel.Number.ToString());
xml.WriteAttributeString("channel", channel.Number);
xml.WriteStartElement("title");
xml.WriteAttributeString("lang", "en");