xbmc/xbmc — pull request #1751 by Montellese (2012-11-08 08:03:26+00:00)
Title: recentlyadded: make sure to show the same list independent of the entry point

Right now there are two ways to get a list of recently added items.
* Through a videodb:// URL (e.g. videodb://4/ for movies) and ultimately through CVideoDatabase::GetRecentlyAddedFoo() which is just an SQL query with an ORDER BY and a LIMIT clause.
* Through Videos -> Library -> Recently Added Foo which depends on the custom videolibrary nodes available as xml files in system/library/video*/recentlyaddedfoo.xml. Currently these are implemented as smartplaylists with a limit and a sort rule.

The problem is that depending on whether "Group movies into sets" is enabled or not, these two approaches result in different resulting lists (the videodb:// URL entry point doesn't group into sets whereas the smartplaylist does depending on the GUI setting). To make the behaviour of Recently Added listings the same independent of the entry point we need to revert part of 3fc04bc4a273b9acf05fa8e6f6e4fc001fd1f8c8 (to get the "recentlyaddeditems" advancedsetting back) and f9cc7405138191075f267b100c27082f5efe7480.

This makes #1692 obsolete for now as it becomes a pure new feature and not a fix for the current inconsistency.