2011-10-19, 17:58
Thanks for those.
I'm working on the "Now Playing" box atm. Got it going but it really needs to be changed from using InfoLabels (which will be removed sometime). I'm almost there. Having a bit of trouble with the time and duration so any help would be nice. From the info labels you get say:
But with the Player.GetProperties you get hour, mins, secs, millisecs as separate fields. I tried:
I've found that you can't start a var (I guess string type) with a number, so I get an error. Any ideas? /me in no way a coder
I converted to seconds and then used the formatTime function MKay had already put in. Next is seek and then I think the currently playing box should be done.
I'm working on the "Now Playing" box atm. Got it going but it really needs to be changed from using InfoLabels (which will be removed sometime). I'm almost there. Having a bit of trouble with the time and duration so any help would be nice. From the info labels you get say:
Code:
28:02
Code:
time = hours + ':' + mins + ':' + secs;
I've found that you can't start a var (I guess string type) with a number, so I get an error. Any ideas? /me in no way a coder
I converted to seconds and then used the formatTime function MKay had already put in. Next is seek and then I think the currently playing box should be done.