INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to display time played of current track?  (Read 435 times)

8139david

  • Galactic Citizen
  • ****
  • Posts: 345
How to display time played of current track?
« on: October 17, 2022, 03:15:41 am »

When I play a given track, I would like to (be able to) see how much time of that track has already been played.
Eg. 57s out of 2mn17.
I would show this on the status bar at the bottom of jriver, or perhaps elsewhere.
For doing so, what expression could I use?
Logged

8139david

  • Galactic Citizen
  • ****
  • Posts: 345
Re: How to display time played of current track?
« Reply #1 on: October 17, 2022, 03:32:59 am »

After a lot of searching, I finally found it!
[Elapsed Time]
This doesn't work in the status bar, but it does work in the display on top.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: How to display time played of current track?
« Reply #2 on: October 17, 2022, 09:34:41 am »

There are quite a few things you can display in the top display.  It also understands the entire expression language so you can really do some neat things with it.  For fun I'll show you what I have in the two areas up top:

Title:
Code: [Select]
if(
  isequal([Media Type],Video),
    if(
      isequal([Media Sub Type],TV Show),
        [Name] - [Series] S[Season] EP[Episode],
        [Name]
     ), 
      [Name] <by> [Artist] <from> [Album] ([Year]/)
)

Status:
Code: [Select]
if(
  isequal([Media Type],Video),
    [Elapsed Time] // [Remaining Time] // [Total Time] [File Type] [Dimensions] regex([Compression],/#\(video: (.+), audio: (.+)\)#/,-1,0)[R1] [R2] [Channels]ch [Zone],
    [Elapsed Time] // [Remaining Time] // [Total Time] - [File Type] [Bit Depth]//[Sample Rate] kHz - [Channels] ch   [PN Position] of [PN Tracks]  ([Track #]//[Total Tracks]if(isempty([disc #]), , / D[disc #])/) [Zone]
)

That might give you some ideas for things to put in your customized display.

Take care,
Brian.
Logged
Pages: [1]   Go Up