Skip to content

Commit

Permalink
* Only send Samsung bookmark info if it's a Samsung device. UPnP-Insp…
Browse files Browse the repository at this point in the history
…ector can't handle it, so perhaps other devices will fail with it as well.
  • Loading branch information
Justin Maggard committed Aug 15, 2011
1 parent 4f11557 commit 588b33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upnpsoap.c
Expand Up @@ -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));
Expand Down

0 comments on commit 588b33e

Please sign in to comment.