I'm trying to use TTM to display the total track length [hh:mm:ss] TrackTitle
when playback is stopped, and display playback time remaining (-hh:mm:ss) TrackTitle
once playback has resumed.
The above code fails to perform the multiplication of -1*PlaybackTimeRemaining, thus A≠B and TTM never returns the then statement when playback is stopped.
I always get the else statement regardless of playback state.
I'm not sure whether putting multiplication in an if statement is the causation or if Winamp simply isn't capable of multiplying a digit with a field.
I used to use the following code, which worked perfectly, but would rather display the time remaining instead of elapsed during playback.