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 2
Skins and Design
BlueVision
Blue Vision
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="MJGraf" data-source="post: 1128972" data-attributes="member: 17886"><p>The holy grail for these kinds of questions is a look into our default MIAs:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/DefaultItemAspects" target="_blank">https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/DefaultItemAspects</a></p><p>(no fear - there are more human readable comments than code and even the "code" should be self explanatory)</p><p>If you have a look into the VideoAspect, you see the ATTR_DURATION (which is duration in seconds)</p><p>The SeriesAspect gives you ATTR_FIRSTAIRED</p><p>But don't ask me how to access them in xaml <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p>Hope that helps at least a bit...</p></blockquote><p></p>
[QUOTE="MJGraf, post: 1128972, member: 17886"] The holy grail for these kinds of questions is a look into our default MIAs: [url]https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/DefaultItemAspects[/url] (no fear - there are more human readable comments than code and even the "code" should be self explanatory) If you have a look into the VideoAspect, you see the ATTR_DURATION (which is duration in seconds) The SeriesAspect gives you ATTR_FIRSTAIRED But don't ask me how to access them in xaml :D Hope that helps at least a bit... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom