|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Imported Video Runtime/Duration
What is the correct method to get the runtime or duration of imported videos? I have tried various combinations GetFileDuration, DurationForSegment, GetFileDuration, GetMediaDuration. All seem to return 1 - and the videos are not 1 millisecond long :-)
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
#2
|
||||
|
||||
What kind of video is it?
If this is just for display in the UI, try checking both GetShowDuration() and GetAiringDuration(), then display whichever one is > 1000. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
|||
|
|||
It is an MKV. Here is the output I log for each query using the various methods:
File Duration: 1 Show Duration: 0 Airing Duration: 1 I will note that when I am using the default STV and I look at the detailed info - there is no runtime info listed - for any of the imported videos.
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
#4
|
|||
|
|||
Not sure exactly how this is related.. But when I was testing, I was accessing my NAS via a VPN. Once I was within the local network, I deleted all videos and reimported them. After that, runtime information was available using the normal methods...
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram Guest: Ubuntu 16.04 with Sage v9 in Docker Tuners: 2 HDHR (OTA); Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case. |
#5
|
|||
|
|||
I would guess that it couldn't parse the information or read the properties files correctly or they didn't exist on the first import.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BMT Movie Runtime On SMW | viperdiablo | SageTV Customizations | 3 | 03-03-2010 11:35 AM |
Java Runtime Environment | RandyJohnson | SageTV Software | 1 | 02-10-2009 12:41 PM |
Runtime error | BlueH2O | SageTV Software | 6 | 07-13-2006 12:58 PM |
Audio Decoder - Runtime identification | antplugger | SageTV Software | 0 | 04-01-2006 04:09 AM |
Imported Video Files -- 0 minutes duration | dragon | SageTV Software | 4 | 06-22-2004 07:23 AM |