Kodi Community Forum
System.Progressbar - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: System.Progressbar (/showthread.php?tid=48731)



System.Progressbar - Jeroen - 2009-04-11

Is this infolabel supposed to work in other places besides DialogProgress.xml?
I'm trying to use this in DialogMusicScan.xml and DialogVideoScan.xml, but I can't seem to make it work


- jmarshall - 2009-04-11

It's only used in the progressbar dialog, yes.

The progressbar(s) in the scan dialogs work based on id only.


- Jeroen - 2009-04-11

Hm too bad. Do you think it would be feasible to make this possible somewhere in the future?
Maybe by pointing the label to the progressbar's id?

something like <label>$INFO[System.Progressbar(304)]</label>

If so, I'll create a ticket for it. Thanks


- jmarshall - 2009-04-12

What for exactly - to get the % complete?

Just out of interest, would Control.GetLabel or whatever it is work?


- Jeroen - 2009-04-12

Yep to get the % complete.

Not sure what you mean. Control.GetLabel would work to get the value from an other label right?

if:
<label>$INFO[Control.GetLabel(403)]</label>

is what you mean, I didn't get that to work no.

thanks Smile


- jmarshall - 2009-04-13

ok, well let me see whether that's doable or not.


- Jeroen - 2009-04-13

Great, much appreciated Smile


- jmarshall - 2009-04-14

r19458 should do the trick.

Cheers,
Jonathan


- Jeroen - 2009-04-14

Wow, that´s fast. I thought of this as something for 9.10 Laugh
I´ll check it out tonight, thanks a bunch Jonathan Wink