xbmc/xbmc — pull request #3586 by Montellese (2013-11-06 20:25:03+00:00)
Title: "Now playling..." fix

This is an attempt at a fix for the "Now playing..." button only showing in the confluence sidebar when something is playing. As pointed out by @NedScott and others it should also show when nothing is playing but the playlist isn't empty.

Because it wasn't possible to access a specific playlist through the info manager I extended the Playlist.Foo info labels/bools to be able to take a parameter, e.g.
```
Playlist.Length(video)
```
where the parameter can either not be specified, or be "video" or "music". If nothing is specified the currently playling playlist is used. Otherwise the specified playlist is used.

Since this is my first time really hacking around in CGUIInfoManager I appreciate any feedback. Same goes for the skinning changes as the visibility conditions look pretty ugly now but I couldn't find another way to access that information.