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: 1128967" data-attributes="member: 145639"><p>As you can see in the screenshot above there are no infos about <strong>duration </strong>and <strong>year</strong>. It's the same situation for Titanium skin.</p><p>Below the simplified code (I removed grid and other stuff). Does anyone know, if duration and year can be extracted for videos and episodes from metadata?</p><p>If not at the moment, do you know if it will be possible after MIA update?</p><p></p><p>[html] </p><p><media:MediaAspectWrapper MediaItem="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}" ></p><p> <media:MediaAspectWrapper.Template></p><p> <ControlTemplate></p><p> <Label x:Name="Year" HorizontalAlignment="Left"</p><p> Content="{Binding Path=RecordingTime, Converter={StaticResource DateFormatConverter}, ConverterParameter=yyyy}" Color="{ThemeResource TextColor}"/></p><p> </ControlTemplate></p><p> </media:MediaAspectWrapper.Template></p><p> </media:MediaAspectWrapper></p><p>[/html]</p><p></p><p>[html] </p><p><media:SeriesAspectWrapper MediaItem="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}"></p><p> <media:SeriesAspectWrapper.Template></p><p> <ControlTemplate></p><p> <Label x:Name="Duration" Grid.Column="0" Grid.Row="2"</p><p> Content="{Binding Path=Runtime, Converter={StaticResource DurationConverter}, ConverterParameter=hh\:mm}" Color="{ThemeResource TextColor}"/></p><p> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Column="0" Grid.Row="3" Margin="0,6,0,5"></p><p> <StarRatingPanel x:Name="RatingReadOnly" IsReadOnly="True" StarReadOnlyTemplate="{StaticResource StarReadOnlyTemplate}"</p><p> Maximum="10"</p><p> Value="{Binding TotalRating}"></p><p> <StarRatingPanel.LayoutTransform></p><p> <TransformGroup></p><p> <ScaleTransform ScaleX="1.7" ScaleY="1.5"/></p><p> </TransformGroup></p><p> </StarRatingPanel.LayoutTransform></p><p> </StarRatingPanel></p><p> </StackPanel></p><p> </ControlTemplate></p><p> </media:SeriesAspectWrapper.Template></p><p> </media:SeriesAspectWrapper></p><p>[/html]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1128967, member: 145639"] As you can see in the screenshot above there are no infos about [B]duration [/B]and [B]year[/B]. It's the same situation for Titanium skin. Below the simplified code (I removed grid and other stuff). Does anyone know, if duration and year can be extracted for videos and episodes from metadata? If not at the moment, do you know if it will be possible after MIA update? [html] <media:MediaAspectWrapper MediaItem="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}" > <media:MediaAspectWrapper.Template> <ControlTemplate> <Label x:Name="Year" HorizontalAlignment="Left" Content="{Binding Path=RecordingTime, Converter={StaticResource DateFormatConverter}, ConverterParameter=yyyy}" Color="{ThemeResource TextColor}"/> </ControlTemplate> </media:MediaAspectWrapper.Template> </media:MediaAspectWrapper> [/html] [html] <media:SeriesAspectWrapper MediaItem="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}"> <media:SeriesAspectWrapper.Template> <ControlTemplate> <Label x:Name="Duration" Grid.Column="0" Grid.Row="2" Content="{Binding Path=Runtime, Converter={StaticResource DurationConverter}, ConverterParameter=hh\:mm}" Color="{ThemeResource TextColor}"/> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Column="0" Grid.Row="3" Margin="0,6,0,5"> <StarRatingPanel x:Name="RatingReadOnly" IsReadOnly="True" StarReadOnlyTemplate="{StaticResource StarReadOnlyTemplate}" Maximum="10" Value="{Binding TotalRating}"> <StarRatingPanel.LayoutTransform> <TransformGroup> <ScaleTransform ScaleX="1.7" ScaleY="1.5"/> </TransformGroup> </StarRatingPanel.LayoutTransform> </StarRatingPanel> </StackPanel> </ControlTemplate> </media:SeriesAspectWrapper.Template> </media:SeriesAspectWrapper> [/html] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom