Hello,
I am trying to build a plugin to mark commercial starting and ending position using comskip just for training and entertainment.
After running comskip I need to store the output into the Bookmark database in order to allow the user skiping them.
My problem is that bookmark database stores the position as percentage and comskip output is in frames so I need to get the total duration of the dvr-ms file.
I've tried to use MediaPortal Player object to get this property, but it seems that the movie must be running in order to get this property.
I want to know if anyone knows how to get total duration of a recorded dvr-ms file.
Thanks to all in advance.
I am trying to build a plugin to mark commercial starting and ending position using comskip just for training and entertainment.
After running comskip I need to store the output into the Bookmark database in order to allow the user skiping them.
My problem is that bookmark database stores the position as percentage and comskip output is in frames so I need to get the total duration of the dvr-ms file.
I've tried to use MediaPortal Player object to get this property, but it seems that the movie must be running in order to get this property.
I want to know if anyone knows how to get total duration of a recorded dvr-ms file.
Thanks to all in advance.