INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Mac => Topic started by: WMarkT on October 26, 2022, 08:34:53 am

Title: Display Playlist Remaining Time in MM:SS?
Post by: WMarkT on October 26, 2022, 08:34:53 am
Is there a way to display Playlist Remaining Time with seconds? The existing display (e.g. 24 minutes) is good for an approximation, but sometimes and exact time is important (like starting music for timed fireworks).

Thanks for any guidance.
Title: Re: Display Playlist Remaining Time in MM:SS?
Post by: zybex on October 26, 2022, 12:50:07 pm
There's a function called PlayListTime() (https://wiki.jriver.com/index.php/Date_and_Time_Functions#PlaylistTime.28.E2.80.A6.29) but it doesn't seem to work on the status bar, and it doesn't update every second anyway.
It would make sense to be able to get the raw values in seconds that the user could then format with FormatDate() for display, perhaps like so:
[Playlist Remaining Time,0]
[Elapsed Time,0]
[Total Time,0]


Maybe @Matt can add that?
Title: Re: Display Playlist Remaining Time in MM:SS?
Post by: Matt on October 26, 2022, 02:36:07 pm
I added an expression column to Playing Now and just played around with showing the remaining number of seconds for each file:
Math((PlaylistTime(4,0)-PlaylistTime(0, 0))/1000)

Maybe you could build on that.
Title: Re: Display Playlist Remaining Time in MM:SS?
Post by: zybex on October 26, 2022, 04:08:49 pm
That works fine, but I believe we're talking about the Display bar on top which updates every second.
The default expression for that is:
[Elapsed Time] // [Total Time] - [Bitrate (labeled)]   [PN Position] of [PN Tracks]  [Zone] - [Playlist Remaining Time]

The [Playlist Remaining Time] prints "25 minutes", and OP wants something like "24:13" that updates every second, like [Elapsed Time] does.