xbmc/xbmc — pull request #660 by jmarshallnz (2012-01-26 01:41:43+00:00)
Title: Cleanup the behaviour of assigning library data to file listings

Before, metadata was assigned regardless of any settings, but items were stacked down and renamed based on whether stacking was available and enabled. This precluded tvshows (in particular, folder-based episodes) from being stacked down, and also meant that the UI-setting "Use metadata for files" was both inaccurately named, and also only applicable if stacking was also enabled.

Now, we split off the two controversial changes so they can be controlled separately:

1. The stacking of folders to library based items is purely dependent on whether stacking is enabled, with the tvshow content check removed.

2. The replacing of labels with the library label is purely dependent on the setting "Replace filenames with library titles" which replaces the incorrectly titlted "Use metadata for files".

This should (hopefully) keep a larger proportion of people happy.

Particularly keen on testing by elupus and arnova regarding #11783.