From 31448a071d47db939bd73c1846732e4378df7c55 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Fri, 16 Oct 2015 10:16:14 +0200 Subject: [confluence] Add user rating item to list and add a button for setting the user rating of this item --- addons/skin.confluence/720p/DialogSongInfo.xml | 82 +++++-------------------- addons/skin.confluence/720p/DialogVideoInfo.xml | 39 ++++++++++-- 2 files changed, 51 insertions(+), 70 deletions(-) diff --git a/addons/skin.confluence/720p/DialogSongInfo.xml b/addons/skin.confluence/720p/DialogSongInfo.xml index 58eb6e7533..9800c84b7b 100644 --- a/addons/skin.confluence/720p/DialogSongInfo.xml +++ b/addons/skin.confluence/720p/DialogSongInfo.xml @@ -1,6 +1,6 @@ - 10 + 12 185 105 @@ -201,34 +201,6 @@ keep LeftRating/$INFO[ListItem.StarRating] - - Decrease Rating - 160 - 5 - 33 - 22 - DecreaseRating - scroll-down-2.png - scroll-down-focus-2.png - 15 - 15 - 9000 - 9000 - - - Increase Rating - 193 - 5 - 33 - 22 - IncreaseRating - scroll-up-2.png - scroll-up-focus-2.png - 14 - 14 - 9000 - 9000 - Comment Title @@ -254,63 +226,43 @@ - 40 + 140 445 - - Ok button + + Album Info button 0 0 200 40 - + font12_title center - 13 - 11 - 14 - 14 + 7 + 13 - - Cancel button + + Get Thumb button 210 0 200 40 - + font12_title center - 10 - 12 - 14 - 14 + 12 + 7 - - Album Info button + + Set my rating 420 0 200 40 - - font12_title - center - 11 - 13 - 14 - 14 - - - Get Thumb button - 630 - 0 - 200 - 40 - + font12_title center - 12 - 10 - 14 - 14 + 13 + 12 diff --git a/addons/skin.confluence/720p/DialogVideoInfo.xml b/addons/skin.confluence/720p/DialogVideoInfo.xml index 5bd442860f..b0a6b75557 100644 --- a/addons/skin.confluence/720p/DialogVideoInfo.xml +++ b/addons/skin.confluence/720p/DialogVideoInfo.xml @@ -178,9 +178,9 @@ 290 - 20 + -4 740 - 330 + 390 49 49 9000 @@ -291,6 +291,12 @@ noop !IsEmpty(ListItem.Duration) + + + $INFO[ListItem.Userrating] + noop + !IsEmpty(ListItem.Userrating) + $INFO[ListItem.RatingAndVotes] @@ -325,7 +331,7 @@ 290 - 370 + 382 740 4 stretch @@ -453,6 +459,12 @@ noop !IsEmpty(ListItem.Year) + + + $INFO[ListItem.Userrating] + noop + !IsEmpty(ListItem.Userrating) + $INFO[ListItem.RatingAndVotes] @@ -503,9 +515,9 @@ 390 - 20 + 0 640 - 330 + 360 49 49 9000 @@ -628,6 +640,12 @@ noop !IsEmpty(ListItem.Duration) + + + $INFO[ListItem.Userrating] + noop + !IsEmpty(ListItem.Userrating) + $INFO[ListItem.RatingAndVotes] @@ -787,6 +805,12 @@ noop !IsEmpty(ListItem.Duration) + + + $INFO[ListItem.Userrating] + noop + !IsEmpty(ListItem.Userrating) + $INFO[ListItem.FilenameAndPath] @@ -983,6 +1007,11 @@ PlayMedia($INFO[ListItem.Trailer],1) !IsEmpty(ListItem.Trailer) + Skin.HasSetting(WindowedTrailer) + + Set my rating + ButtonInfoDialogsCommonValues + + Fetch TvTunes stuff ButtonInfoDialogsCommonValues -- cgit v1.2.3