2019-02-09, 01:44
(2019-02-09, 00:05)nspboarderdude Wrote: @jurialmunkey or anyone that can assist,
I am trying to make a few modifications in Aura, however I am getting stuck on one detail. My intention is to replace genre with star ratings in Episode List view. I have placed the following
Quote:<control type="group">
<top>105</top>
<aligny>center</aligny>
<align>left</align>
<include content="Object_StarRating">
<param name="align" value="left" />
<param name="visible" value="Container.Content(episodes)" />
<param name="rating_prop" value="$PARAM[rating]" />
</include>
</control>
in Includes_View_Posters.xml under the episode_list section, for both highlighted and un-highlighted episodes. The issue is that the ratings for the un-highlighted episodes are displaying the same as the highlighted episode. In this example, my rating for episode 7 is actually three stars, but it is showing the same rating as episode 8.
Any ideas? What changes would I need in the un-highlighted section?
Change $PARAM[rating] to the appropriate ListItem ratings property. I'm assuming you're wanting to use library ratings, which is ListItem.Rating
Code:
<param name="rating_prop" value="ListItem.Rating" />
If you look at the include definition in <include name="Object_StarRating"> you will see how the include use the different params.