xbmc/xbmc — pull request #1813 by Montellese (2012-11-19 14:03:35+00:00)
Title: smartplaylists: make "title" field browseable (again)

This makes the "title" field in a smartplaylist browseable again (was brought up in the forum). I probably accidentally removed that functionality in my GSoC work. IMO this makes perfect sense for movies, tvshows and musicvideos. Whether it makes sense for episodes and songs is disputable but I went with the "consistent" approach and implemented it for all of them. For episodes I had to add a workaround because the videodb returns episode items with a "x " label which obviously won't match anything in the database when directly used. Therefore I have to replace all the episode labels with the title from the video info tag.

The only not-so-nice effect is that if there are e.g. multiple episodes called "Pilot" they appear multiple times in the browseable list.

If requested I don't have any objections to remove browseable support for songs and episodes.