[libdmapsharing] Commit some DACP-related changes (thanks Stuart)
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Commit some DACP-related changes (thanks Stuart)
- Date: Mon, 11 Apr 2011 03:44:40 +0000 (UTC)
commit 6bbf1efb0ae78770ccfdb322b4243ce92464acd4
Author: W. Michael Petullo <mike flyn org>
Date: Sun Apr 10 22:43:18 2011 -0500
Commit some DACP-related changes (thanks Stuart)
libdmapsharing/dmap-mdns-browser.h | 3 ++-
libdmapsharing/dmap-structure.c | 10 +++++-----
libdmapsharing/dmap.h | 1 +
3 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/libdmapsharing/dmap-mdns-browser.h b/libdmapsharing/dmap-mdns-browser.h
index 402454a..721e9e1 100644
--- a/libdmapsharing/dmap-mdns-browser.h
+++ b/libdmapsharing/dmap-mdns-browser.h
@@ -91,7 +91,8 @@ static const char * const service_type_name[] = {
NULL,
"_daap._tcp",
"_dpap._tcp",
- "_touch-remote._tcp"
+ "_touch-remote._tcp",
+ "_touch-able._tcp"
};
typedef enum
diff --git a/libdmapsharing/dmap-structure.c b/libdmapsharing/dmap-structure.c
index e126f8d..1be6a81 100644
--- a/libdmapsharing/dmap-structure.c
+++ b/libdmapsharing/dmap-structure.c
@@ -269,20 +269,20 @@ static const DMAPContentCodeDefinition cc_defs[] = {
{DMAP_CC_CMTY, MAKE_CONTENT_CODE ('c', 'm', 't', 'y'),
"dacp.contentvalue", "cmty", DMAP_TYPE_STRING},
{DMAP_CC_CMPG, MAKE_CONTENT_CODE ('c', 'm', 'p', 'g'),
- "dacp.passguid", "cmpy", DMAP_TYPE_INT64},
+ "dacp.passguid", "cmpg", DMAP_TYPE_INT64},
{DMAP_CC_CACI, MAKE_CONTENT_CODE ('c', 'a', 'c', 'i'),
"dacp.controlint", "caci", DMAP_TYPE_CONTAINER},
{DMAP_CC_CAPS, MAKE_CONTENT_CODE ('c', 'a', 'p', 's'),
- "dacp.playstatus", "caci", DMAP_TYPE_BYTE},
+ "dacp.playstatus", "caps", DMAP_TYPE_BYTE},
{DMAP_CC_CASH, MAKE_CONTENT_CODE ('c', 'a', 's', 'h'),
- "dacp.shufflestate", "caci", DMAP_TYPE_BYTE},
+ "dacp.shufflestate", "cash", DMAP_TYPE_BYTE},
{DMAP_CC_CARP, MAKE_CONTENT_CODE ('c', 'a', 'r', 'p'),
- "dacp.repeatstate", "caci", DMAP_TYPE_BYTE},
+ "dacp.repeatstate", "carp", DMAP_TYPE_BYTE},
{DMAP_CC_CAAS, MAKE_CONTENT_CODE ('c', 'a', 'a', 's'),
"dacp.albumshuffle", "caas", DMAP_TYPE_INT},
{DMAP_CC_CAAR, MAKE_CONTENT_CODE ('c', 'a', 'a', 'r'),
- "dacp.albumrepeat", "caci", DMAP_TYPE_INT},
+ "dacp.albumrepeat", "caar", DMAP_TYPE_INT},
{DMAP_CC_CAIA, MAKE_CONTENT_CODE ('c', 'a', 'i', 'a'),
"dacp.isavailiable", "caia", DMAP_TYPE_BYTE},
{DMAP_CC_CANP, MAKE_CONTENT_CODE ('c', 'a', 'n', 'p'),
diff --git a/libdmapsharing/dmap.h b/libdmapsharing/dmap.h
index fdbba22..1475753 100644
--- a/libdmapsharing/dmap.h
+++ b/libdmapsharing/dmap.h
@@ -20,5 +20,6 @@
#include <libdmapsharing/dpap-share.h>
#include <libdmapsharing/dacp-share.h>
#include <libdmapsharing/dacp-player.h>
+#include <libdmapsharing/dacp-connection.h>
#endif /* __DMAP_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]