Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[confluence] Show user rating in info #7955

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/resource.language.en_gb/resources/strings.po
Expand Up @@ -17584,6 +17584,7 @@ msgid "Region A - Americas, East Asia and Southeast Asia. Region B - Africa, Mid

#. Used for the viewstate selection
#: xbmc/video/GUIViewStateVideo.xml
#: skin.confluence
msgctxt "#38018"
msgid "User rating"
msgstr ""
Expand Down
24 changes: 24 additions & 0 deletions addons/skin.confluence/720p/DialogVideoInfo.xml
Expand Up @@ -297,6 +297,12 @@
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.RatingAndVotes)</visible>
</item>
<item>
<label>$LOCALIZE[38018]:</label>
<label2>$INFO[ListItem.UserRating]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.UserRating)</visible>
</item>
<item>
<label>$LOCALIZE[202]:</label>
<label2>$INFO[ListItem.TagLine]</label2>
Expand Down Expand Up @@ -459,6 +465,12 @@
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.RatingAndVotes)</visible>
</item>
<item>
<label>$LOCALIZE[38018]:</label>
<label2>$INFO[ListItem.UserRating]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.UserRating)</visible>
</item>
<item>
<label>$LOCALIZE[15311]</label>
<label2>$INFO[ListItem.FilenameAndPath]</label2>
Expand Down Expand Up @@ -634,6 +646,12 @@
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.RatingAndVotes)</visible>
</item>
<item>
<label>$LOCALIZE[38018]:</label>
<label2>$INFO[ListItem.UserRating]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.UserRating)</visible>
</item>
<item>
<label>$LOCALIZE[15311]</label>
<label2>$INFO[ListItem.FilenameAndPath]</label2>
Expand Down Expand Up @@ -787,6 +805,12 @@
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.Duration)</visible>
</item>
<item>
<label>$LOCALIZE[38018]:</label>
<label2>$INFO[ListItem.UserRating]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.UserRating)</visible>
</item>
<item>
<label>$LOCALIZE[15311]</label>
<label2>$INFO[ListItem.FilenameAndPath]</label2>
Expand Down
1 change: 0 additions & 1 deletion xbmc/video/VideoInfoTag.h
Expand Up @@ -124,7 +124,6 @@ class CVideoInfoTag : public IArchivable, public ISerializable, public ISortable
void SetAlbum(std::string album);
void SetShowLink(std::vector<std::string> showLink);
void SetUniqueId(std::string uniqueId);
void SetUserRating(int userrating);


std::string m_basePath; // the base path of the video, for folder-based lookups
Expand Down