- Thread starter
- Admin
- #251
"New" icons (star shape) for mediaitems added recently
Question here: What shall be the criteria? 1) E.g. last 20 additions 2) all items added within last 2 weeks; both criterias have pros and contras
@morpheus, is there already a "added date" tag or something that could be used in xaml to bind the icon to mediaitems?
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>
@morpheus_xx
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
Germany