]> git.sesse.net Git - vlc/commit
skins2: improve $N text variable
authorErwan Tulou <erwan10@videolan.org>
Sat, 30 Mar 2013 18:38:32 +0000 (19:38 +0100)
committerErwan Tulou <erwan10@videolan.org>
Sat, 30 Mar 2013 19:15:01 +0000 (20:15 +0100)
commit0097e7385d2966815a35ddd6d22e54897e9cc6c7
tree227b36d2858a7f95b3529c271285231c2aa85e8d
parentba9161b4f19e06b3b12534f6006b2fadeb8be7db
skins2: improve $N text variable

Instead of hardcoding what we think the name of the current item is, make it
configurable via the --input-title-format parameter.

This change makes skins2 more consistent with qt4 that already uses this
means to set the title of the main window.

Default display will now be "artist + title" instead of just "title".
Users who would still prefer the previous behaviour can get it with
--input-title-format '$t'

This fixes a request described at http://forum.videolan.org/viewtopic.php?f=15&t=108976
modules/gui/skins2/src/vlcproc.cpp