INTERACT FORUM
More => Old Versions => Media Center 15 (Development Ended) => Topic started by: marko 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?
-
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".
-
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.
-
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
-
It's beautiful! I've been following your relentless progress. Thanks a lot, Marko!
-
It's beautiful! I've been following your relentless progress. Thanks a lot, Marko!
It really is. I just found it (http://wiki.jriver.com/index.php/Media_Center_expression_language-NEW) (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.