xbmc/xbmc — pull request #5230 by Montellese (2014-08-17 10:19:25+00:00)
Title: smartplaylists: fix generated SQL query for multi-value rules with a negated parameter (fixes #15313)

This fixes the problem described in http://trac.xbmc.org/ticket/15313. When a user defines a smartplaylist rule with multiple values and uses a negated operator like "does not contain" or "does not equal" the resulting SQL query doesn't follow De Morgan's laws and produces something like
```
does not contain or does not contain
```
but it should be
```
does not contain and does not contain
```
i.e. it needs to use an "AND" operator instead of an "OR" operator.