INTERACT FORUM

Please login or register.

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

Author Topic: Anyone using TVInfo() expressions?  (Read 1546 times)

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Anyone using TVInfo() expressions?
« on: October 02, 2010, 09:17:16 am »

Could someone shed a little light on what information: tvinfo(timedisplay) and tvinfo(timedisplaynoonnow) should return?

I tested these on a 30 second video clip and both came back with "03:59" and for the life of me, I cannot suss out why!!

Some information regarding "... special handling for programs on now" would be appreciated too.

Anyone?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Anyone using TVInfo() expressions?
« Reply #1 on: October 02, 2010, 02:23:53 pm »

I'll post the details of this once I look in the code Monday.

Basically we use these internally to show something like "30 minutes" instead of "30:00".
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Anyone using TVInfo() expressions?
« Reply #2 on: October 04, 2010, 02:51:55 pm »

TVInfo(TimeDisplay)

Shows the start time of a program using the system time format, but uses "Showing" if the program is on now.

TVInfo(TimeDisplayNoOnNow)

Shows the start time of a program using the system time format.


TV programs use the field "Date Recorded" to store the program time.  The "Date" field is the original air / production date.
Logged
Matt Ashland, JRiver Media Center

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Anyone using TVInfo() expressions?
« Reply #3 on: October 04, 2010, 03:05:02 pm »

Thanks Matt, that helps.

That'll be all 44 functions written up. Hard to believe, but the re-write looks like it could be ready by the end of the week!

-marko

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Anyone using TVInfo() expressions?
« Reply #4 on: October 04, 2010, 03:39:26 pm »

It's beautiful!  I've been following your relentless progress.  Thanks a lot, Marko!
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Anyone using TVInfo() expressions?
« Reply #5 on: October 04, 2010, 07:07:12 pm »

Quote
It's beautiful!  I've been following your relentless progress.  Thanks a lot, Marko!

It really is. I just found it (I trust appropriate links will be added to the Wiki when it's done). Nice work, Marko! I really appreciate that examples not only show the proper syntax, but offer interesting illustrations of how they might be used.
Logged
Pages: [1]   Go Up