--- a/upmpd/upmpd.hxx
+++ b/upmpd/upmpd.hxx
@@ -27,6 +27,7 @@
friend class UpMpdRenderCtl;
friend class UpMpdAVTransport;
friend class OHInfo;
+ friend class OHPlaylist;
enum Options {
upmpdNone,
@@ -50,4 +51,45 @@
vector<UpnpService*> m_services;
};
+
+// "http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,"
+// "http-get:*:audio/L16:DLNA.ORG_PN=LPCM,"
+// "http-get:*:audio/x-flac:DLNA.ORG_PN=FLAC"
+static const string
+upmpdProtocolInfo(
+ "http-get:*:audio/wav:*,"
+ "http-get:*:audio/wave:*,"
+ "http-get:*:audio/x-wav:*,"
+ "http-get:*:audio/x-aiff:*,"
+ "http-get:*:audio/mpeg:*,"
+ "http-get:*:audio/x-mpeg:*,"
+ "http-get:*:audio/mp1:*,"
+ "http-get:*:audio/aac:*,"
+ "http-get:*:audio/flac:*,"
+ "http-get:*:audio/x-flac:*,"
+ "http-get:*:audio/m4a:*,"
+ "http-get:*:audio/mp4:*,"
+ "http-get:*:audio/x-m4a:*,"
+ "http-get:*:audio/vorbis:*,"
+ "http-get:*:audio/ogg:*,"
+ "http-get:*:audio/x-ogg:*,"
+ "http-get:*:audio/x-scpls:*,"
+ "http-get:*:audio/L16;rate=11025;channels=1:*,"
+ "http-get:*:audio/L16;rate=22050;channels=1:*,"
+ "http-get:*:audio/L16;rate=44100;channels=1:*,"
+ "http-get:*:audio/L16;rate=48000;channels=1:*,"
+ "http-get:*:audio/L16;rate=88200;channels=1:*,"
+ "http-get:*:audio/L16;rate=96000;channels=1:*,"
+ "http-get:*:audio/L16;rate=176400;channels=1:*,"
+ "http-get:*:audio/L16;rate=192000;channels=1:*,"
+ "http-get:*:audio/L16;rate=11025;channels=2:*,"
+ "http-get:*:audio/L16;rate=22050;channels=2:*,"
+ "http-get:*:audio/L16;rate=44100;channels=2:*,"
+ "http-get:*:audio/L16;rate=48000;channels=2:*,"
+ "http-get:*:audio/L16;rate=88200;channels=2:*,"
+ "http-get:*:audio/L16;rate=96000;channels=2:*,"
+ "http-get:*:audio/L16;rate=176400;channels=2:*,"
+ "http-get:*:audio/L16;rate=192000;channels=2:*"
+ );
+
#endif /* _UPMPD_H_X_INCLUDED_ */