private void ReadEPG()
        {
            string agendaurl = "http://arenavision.in/schedule";
            string content   = GetWebData(agendaurl);

            HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();

            try
            {
                doc.LoadHtml(content);
                var table = doc.DocumentNode.SelectSingleNode("//table");
                _Epg.Clear();
                for (int idx = 1; idx < table.ChildNodes.Count(); idx++)
                {
                    try
                    {
                        var element = table.ChildNodes[idx];

                        string   date = element.ChildNodes[0].InnerText;
                        string   hour = element.ChildNodes[2].InnerText.Replace("CET", "");
                        DateTime dte;
                        DateTime.TryParse(date + " " + hour, out dte);

                        ArenaVisionEPG item = new ArenaVisionEPG()
                        {
                            Date        = dte,
                            Competition = element.ChildNodes[6].InnerText,
                            Sport       = element.ChildNodes[4].InnerText,
                            Event       = element.ChildNodes[8].InnerText,
                            Stream      = "-" + element.ChildNodes[10].InnerText.Replace(" ", "-").Replace("\t", "-").Replace("\n", "-"),
                        };

                        _Epg.Add(item);
                    }
                    catch { }
                }
            }
            catch (Exception ex)
            {
            }

            doc = null;
        }
        private void ReadEPG()
        {
            string agendaurl = "http://arenavision.in/agenda";
            string content = GetWebData(agendaurl);
            HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
            doc.LoadHtml(content);
            var table = doc.DocumentNode.SelectSingleNode("//table");
            _Epg.Clear();
            for (int idx = 1; idx < table.ChildNodes.Count(); idx++)
            {
                try 
                {
                    var element = table.ChildNodes[idx];

                    string date = element.ChildNodes[0].InnerText;
                    string hour = element.ChildNodes[2].InnerText.Replace("CET", "");
                    DateTime dte;
                    DateTime.TryParse(date + " " + hour, out dte);

                    ArenaVisionEPG item = new ArenaVisionEPG()
                    {
                        Date = dte,
                        Competition = element.ChildNodes[6].InnerText,
                        Sport = element.ChildNodes[4].InnerText,
                        Event = element.ChildNodes[8].InnerText,
                        Stream = "-" + element.ChildNodes[10].InnerText.Replace(" ", "-").Replace("\t", "-").Replace("\n", "-"),
                    };

                    _Epg.Add(item);
                }
                catch { }
            }
        }