added xspf parser
moved files to better namespaces added example playlistfiles codereformat
This commit is contained in:
20
Tv7Playlist.Core/Parsers/Xspf/PlaylistTrackExtension.cs
Normal file
20
Tv7Playlist.Core/Parsers/Xspf/PlaylistTrackExtension.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user