Custom edits to Estuary for music ratings - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263) +--- Thread: Custom edits to Estuary for music ratings (/showthread.php?tid=311651) |
Custom edits to Estuary for music ratings - docwra - 2017-04-07 Currently the default skin Estuary only shows the user track rating I'd love it to show the overallrating(rating DB field) and the userrating(userrating db field) Any skinners here know what I should be looking at? Seems like a trivial change to bring it up to par with how video works. RE: Estuary ratings request - docwra - 2017-04-07 OK worked it out.... On line 127 of C:\Program Files (x86)\Kodi\addons\skin.estuary\xml\Variables.xml Code: <value condition="String.IsEqual(listitem.dbtype,song)">$INFO[ListItem.Genre,[COLOR button_focus]$LOCALIZE[515]: [/COLOR],[CR]]$INFO[ListItem.Duration,[COLOR button_focus]$LOCALIZE[180]: [/COLOR],[CR]]$INFO[ListItem.Playcount,[COLOR button_focus]$LOCALIZE[567]: [/COLOR],[CR]]</value> Change to: Code: <value condition="String.IsEqual(listitem.dbtype,song)">$INFO[ListItem.Genre,[COLOR button_focus]$LOCALIZE[515]: [/COLOR],[CR]]$INFO[ListItem.Duration,[COLOR button_focus]$LOCALIZE[180]: [/COLOR],[CR]]$INFO[ListItem.rating,[COLOR button_focus]Average Rating: [/COLOR],[CR]]$INFO[ListItem.Playcount,[COLOR button_focus]$LOCALIZE[567]: [/COLOR],[CR]]</value> RE: Estuary ratings request - DaveBlake - 2017-04-07 There are lots of little changes like this that would improve how Estuary presents music. It could be usefully raised as a PR (for the skinners to approve of course). RE: Estuary ratings request - docwra - 2017-04-07 Yep thats the plan, i'm a bit confused about the translation system though but i'm sure I will work it out. A little more progress I have managed to show the userrating next to the track length. Add this after line 141 of the focucused container in C:\Program Files (x86)\Kodi\addons\skin.estuary\xml\View_55_Widelist.xml Code: <control type="label"> And then add this after line 171 to the unfocused container Code: <control type="label"> Then you can remove the star rating from the album picture by deleting line 174-178 from view_50_list.xml Code: <control type="group"> Now to work out how to turn that into graphical stars RE: Estuary ratings request - docwra - 2017-04-07 Ok last one today as i'm off to the pub I couldn't quite work out how to show 5 horizontal stars with half ones for the rating, but I think its possible. I will settle for this for now: Add this after Line 110 of includes.xml Code: <!-- User rating circle custom --> Then replace the 2 edits from post 4 with this instead: Code: <control type="group"> RE: Custom edits to Estuary for music ratings - docwra - 2017-11-09 I updated it a bit to show the star ratings properly |