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="ge2301" data-source="post: 1130025" data-attributes="member: 145639"><p>I checked the code for "LatestMedia" and understood, that the last 5 items, that were added are shown according to the attribute ATTR_LAST_IMPORT_DATE from ImportAspect. Took some time to find this, because I thought the ImportAspect would be in the same folder with the other Aspects <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>The Latest Media are shown by following:</p><p>[html] <ControlTemplate x:Key="Client_Template"></p><p> <Grid DataContext="{Binding Source={Model 11193401-D85D-4D50-9825-E9EB34D87062}}"></p><p> <ListView x:Name="MasterList" ItemsSource="{Binding AllItems}" Style="{ThemeResource NestedMediaListViewStyle}"/></p><p> </Grid></p><p> </ControlTemplate>[/html]</p><p></p><p>[USER=48495]@morpheus_xx[/USER]</p><p>1) Is there a chance to replace"AllItems" with "Movies" or "Series" only for example? This could be helpful when creating the home screen.</p><p>2) And I have to ask my second question again <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> Can I based on LatestMediaModel.cs place a boolean check in xaml, if an item belongs to latest media list and flag it? If not like this, is there another possibility or does it require new code to access this in xaml?</p></blockquote><p></p>
[QUOTE="ge2301, post: 1130025, member: 145639"] I checked the code for "LatestMedia" and understood, that the last 5 items, that were added are shown according to the attribute ATTR_LAST_IMPORT_DATE from ImportAspect. Took some time to find this, because I thought the ImportAspect would be in the same folder with the other Aspects :) The Latest Media are shown by following: [html] <ControlTemplate x:Key="Client_Template"> <Grid DataContext="{Binding Source={Model 11193401-D85D-4D50-9825-E9EB34D87062}}"> <ListView x:Name="MasterList" ItemsSource="{Binding AllItems}" Style="{ThemeResource NestedMediaListViewStyle}"/> </Grid> </ControlTemplate>[/html] [USER=48495]@morpheus_xx[/USER] 1) Is there a chance to replace"AllItems" with "Movies" or "Series" only for example? This could be helpful when creating the home screen. 2) And I have to ask my second question again ;) Can I based on LatestMediaModel.cs place a boolean check in xaml, if an item belongs to latest media list and flag it? If not like this, is there another possibility or does it require new code to access this in xaml? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom