jsmorley wrote: ↑October 22nd, 2019, 5:49 pm
This WILL work... Trust me.
Not needed to useless complicate things in my opinion. The [MeasureHoursRemaining], [MeasureMinutesRemaining] and [MeasureSecondsRemaining] measures might be replaced by one single measure, for instance the following one:
balala wrote: ↑October 22nd, 2019, 6:11 pm
Not needed to useless complicate things in my opinion. The [MeasureHoursRemaining], [MeasureMinutesRemaining] and [MeasureSecondsRemaining] measures might be replaced by one single measure, for instance the following one:
Sure, I was just trying to be thorough, and give the flexibility to have the various components of the time be in different meters or formatted differently or whatever was needed.
dvo wrote: ↑October 22nd, 2019, 6:06 pm
i'm getting nuts of it .... i got a mess and i see 1:30:00 doesn't count any more ....
post of JS is counting something not what it had to but it's counting i don't need uptime i need webnowplayer to count....
If you're talking about my code, this is normal, because that measure converts 90 minutes to an HH:MM:SS format, but this is all. You have to replace in the SecondsValue option 90 with the number of minutes which you want to convert to string format.
jsmorley wrote: ↑October 22nd, 2019, 6:12 pm
Sure, I was just trying to be thorough, and give the flexibility to have the various components of the time be in different meters or formatted differently or whatever was needed.
Ah, alright, in this case. Sorry if i tried to overcomplicate things.
The Uptime measure(s) ARE interacting with WebNowPlaying, and returning the number of seconds "remaining" in the song, formatted into Hours/Minutes/Seconds.
This DOES work with WebNowPlaying, and I assume that it is more or less what you are going for.
Understand, UpTime can do two distinct things. 1) If no SecondsValue is defined, then it measures the amount of time since your PC was rebooted. 2) if SecondsValue is defined, it uses that number of seconds, and can be used to format seconds into weeks/days/hours/minutes/seconds as desired.