Kodi Community Forum
Constant that controls how long info stays on screen. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Constant that controls how long info stays on screen. (/showthread.php?tid=131385)



Constant that controls how long info stays on screen. - tjcinnamon - 2012-05-12

I'm trying to modify XBMC (in particular the Pandora Add-On), so that the song info stays up the whole time. It looks like the info on the pandora plugin (with time and album art) and the music player are the same. Therefore, I think this is an XBMC setting.

I'm sure there is a constant somewhere that controls how long that info stays on screen. Perhaps in one of the XBMC xml files?

Thanks,
JOe K.


RE: Constant that controls how long info stays on screen. - spiff - 2012-05-12

It's a toggle.. between timeout and always on.

Setting that controls the length of the timeout is in advancedsettings.


RE: Constant that controls how long info stays on screen. - tjcinnamon - 2012-05-12

Is that also where the always on is?
Also is this in %appdata%\xbmc (for windows)

because all I see in advancesettings.xml is

<i>
<advancedsettings>
<videoextensions>
<add>.html</add>
</videoextensions>
</advancedsettings></i>


RE: Constant that controls how long info stays on screen. - Montellese - 2012-05-12

You need to add it yourself. The advancedsettings.xml file basically does not even exist until a user decides to set some special values. Check the wiki article at http://wiki.xbmc.org/index.php?title=Advancedsettings.xml for more information.


RE: Constant that controls how long info stays on screen. - OopsAllBerrys - 2012-05-13

<songinfoduration>0</songinfoduration> in advancedsettings.xml


RE: Constant that controls how long info stays on screen. - spiff - 2012-05-14

seriously.

'i' in the gui toggles between always show and show on timeout. and yes, it is remembered. no need to change any xml tags.


RE: Constant that controls how long info stays on screen. - tjcinnamon - 2012-05-14

It would not remember in between songs in the pandora script. I changed the advancesettings.xml and added the song duration to 600 seconds (0 didn't work for some reason, with that script). Now it works perfectly.

Thanks for the direction!

JOe K.