home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Movie watched progress in videos/movies
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 999787" data-attributes="member: 52219"><p>Skin Debug Mode in advanced setting is your friend, it publishes all properties to log when you select a movie <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p> </p><p>The key skin properties needed for this are:</p><p>[CODE]</p><p>#MovingPictures.UserMovieSettings.resume_time [No. of seconds into the movie]</p><p>#MovingPictures.LocalMedia.duration [No. of milliseconds]</p><p>[/CODE]</p><p> </p><p>So to get the percentage watched, do something like this:</p><p>[CODE]</p><p>#(cint(div(mul(cflt(#MovingPictures.UserMovieSettings.resume_time),100000),cflt(#MovingPictures.LocalMedia.duration))))%</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="ltfearme, post: 999787, member: 52219"] Skin Debug Mode in advanced setting is your friend, it publishes all properties to log when you select a movie ;) The key skin properties needed for this are: [CODE] #MovingPictures.UserMovieSettings.resume_time [No. of seconds into the movie] #MovingPictures.LocalMedia.duration [No. of milliseconds] [/CODE] So to get the percentage watched, do something like this: [CODE] #(cint(div(mul(cflt(#MovingPictures.UserMovieSettings.resume_time),100000),cflt(#MovingPictures.LocalMedia.duration))))% [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Movie watched progress in videos/movies
Contact us
RSS
Top
Bottom