using System; using System.ComponentModel; using System.Xml.Serialization; namespace Tv7Playlist.Core.Parsers.Xspf { /// /// /// /// TV7 Playlist /// /// /// SRF1 HD /// udp://@239.77.0.77:5000 /// /// 1000 /// network-caching=1000 /// /// /// /// SRFzwei HD /// udp://@239.77.0.78:5000 /// /// 1005 /// network-caching=1000 /// /// /// /// /// /// /// [Serializable] [DesignerCategory("code")] [XmlType(AnonymousType = true, Namespace = "http://xspf.org/ns/0/")] [XmlRoot(Namespace = "http://xspf.org/ns/0/", IsNullable = false, ElementName = "playlist")] public class Playlist { [XmlElement("title")] public string Title { get; set; } [XmlArrayItem("track", IsNullable = false)] [XmlArray("trackList")] public PlaylistTrack[] TrackList { get; set; } [XmlAttribute("version")] public byte Version { get; set; } } }