added xspf parser

moved files to better namespaces
added example playlistfiles
codereformat
This commit is contained in:
2018-12-16 00:30:31 +01:00
parent 858a694eeb
commit a42814029a
9 changed files with 2312 additions and 18 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.ComponentModel;
using System.Xml.Serialization;
namespace Tv7Playlist.Core.Parsers.Xspf
{
[Serializable]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://xspf.org/ns/0/")]
public class PlaylistTrackExtension
{
[XmlElement("id", Namespace = "http://www.videolan.org/vlc/playlist/ns/0/")]
public ushort Id { get; set; }
[XmlElement("option", Namespace = "http://www.videolan.org/vlc/playlist/ns/0/")]
public string Option { get; set; }
[XmlAttribute("application")] public string Application { get; set; }
}
}