fix daap query error for media kind 32

This commit is contained in:
chme 2015-04-26 07:37:14 +02:00
parent 46374276ad
commit 44b6a52669

View File

@ -261,8 +261,13 @@ expr returns [ pANTLR3_STRING result, int valid ]
|| strcmp((char *)field, "com.apple.itunes.extended-media-kind") == 0))
{
DPRINTF(E_DBG, L_DAAP, "Ignoring clause '\%s\%s\%c\%s'\n", field, (neg_op) ? "!" : "", op, val);
$valid = 0;
goto STR_result_valid_0;
if (neg_op)
$result->append8($result, "1 = 1");
else
$result->append8($result, "1 = 0");
goto STR_out;
}
}
/* String field: escape string, check for '*' */