xbmc/xbmc — pull request #665 by Montellese (2012-01-27 09:04:25+00:00)
Title: fix movies being part of multiple 1-movie-set being listed multiple times

These commits take a different (better) approach to the same problem described in PR #653 by reverting the commit that caused the problem to appear in the first place. Furthermore it also cleans up some fields in the SmartPlaylist implementation which appeared as sorting options in the Smartplaylist Editor even though XBMC doesn't support sorting by those fields.

It also reverts sorting by sets as IMO this does not make any sense at all. IMO sorting by a many-to-one relation never does make any sense furthermore not every movie is part of a set so sorting by sets can result in very odd listings. There's a (closed) ticket for this problem at http://trac.xbmc.org/ticket/12251 but we didn't get any response so far on why the ticket owner would really want this.