uPnpNamespaces.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #pragma warning disable CS1591
  2. using System.Xml.Linq;
  3. namespace Emby.Dlna.PlayTo
  4. {
  5. public static class UPnpNamespaces
  6. {
  7. public static XNamespace Dc { get; } = "http://purl.org/dc/elements/1.1/";
  8. public static XNamespace Ns { get; } = "urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/";
  9. public static XNamespace Svc { get; } = "urn:schemas-upnp-org:service-1-0";
  10. public static XNamespace Ud { get; } = "urn:schemas-upnp-org:device-1-0";
  11. public static XNamespace UPnp { get; } = "urn:schemas-upnp-org:metadata-1-0/upnp/";
  12. public static XNamespace RenderingControl { get; } = "urn:schemas-upnp-org:service:RenderingControl:1";
  13. public static XNamespace AvTransport { get; } = "urn:schemas-upnp-org:service:AVTransport:1";
  14. public static XNamespace ContentDirectory { get; } = "urn:schemas-upnp-org:service:ContentDirectory:1";
  15. public static XName Containers { get; } = Ns + "container";
  16. public static XName Items { get; } = Ns + "item";
  17. public static XName Title { get; } = Dc + "title";
  18. public static XName Creator { get; } = Dc + "creator";
  19. public static XName Artist { get; } = UPnp + "artist";
  20. public static XName Id { get; } = "id";
  21. public static XName ParentId { get; } = "parentID";
  22. public static XName Class { get; } = UPnp + "class";
  23. public static XName Artwork { get; } = UPnp + "albumArtURI";
  24. public static XName Description { get; } = Dc + "description";
  25. public static XName LongDescription { get; } = UPnp + "longDescription";
  26. public static XName Album { get; } = UPnp + "album";
  27. public static XName Author { get; } = UPnp + "author";
  28. public static XName Director { get; } = UPnp + "director";
  29. public static XName PlayCount { get; } = UPnp + "playbackCount";
  30. public static XName Tracknumber { get; } = UPnp + "originalTrackNumber";
  31. public static XName Res { get; } = Ns + "res";
  32. public static XName Duration { get; } = "duration";
  33. public static XName ProtocolInfo { get; } = "protocolInfo";
  34. public static XName ServiceStateTable { get; } = Svc + "serviceStateTable";
  35. public static XName StateVariable { get; } = Svc + "stateVariable";
  36. }
  37. }