diff options
author | Justin Maggard <jmaggard@users.sourceforce.net> | 2011-08-16 03:39:53 +0400 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforce.net> | 2011-08-16 03:39:53 +0400 |
commit | 588b33ec03dc53afbcce58cbded7b79a2cd084f5 (patch) | |
tree | 29e3e02095e84bb611549d6b45799a36db68a80b | |
parent | 4f11557f0970685474f2b1b4a0da101f83a72a7c (diff) |
* Only send Samsung bookmark info if it's a Samsung device. UPnP-Inspector can't handle it, so perhaps other devices will fail with it as well.
-rw-r--r-- | upnpsoap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -756,7 +756,7 @@ callback(void *args, int argc, char **argv, char **azColName) if( date && (passed_args->filter & FILTER_DC_DATE) ) { ret = strcatf(str, "<dc:date>%s</dc:date>", date); } - if( passed_args->filter & FILTER_SEC_CAPTION_INFO_EX) { + if( (passed_args->flags & FLAG_SAMSUNG) && (passed_args->filter & FILTER_SEC_CAPTION_INFO_EX) ) { /* Get bookmark */ ret = strcatf(str, "<sec:dcmInfo>CREATIONDATE=0,FOLDER=%s,BM=%d</sec:dcmInfo>", title, sql_get_int_field(db, "SELECT SEC from BOOKMARKS where ID = '%s'", detailID)); |