Solved Hide property for unwatched videos
#1
Hi,

I am trying to customize a bit my Nebula skin by hiding the rating for movies and episodes I didn't watch yet.
After some research, I got the DialogVideoInfo.xml file, which seems to offer what I want.

I Ctrl+F every occurrence of "Rating" and found it in 3 controls which have respectively:

Code:
<visible>![container.content(tvshows) | container.content(episodes) | Substring(Container.FolderPath ... </visible>

Code:
<visible>Container.Content(TVShows)</visible>

Code:
<visible>container.content(episodes)</visible>

My first question is: which one concerns movies and TV episodes?

My second question is: I tried to replace
Code:
<item>
<label>$LOCALIZE[563]:</label>
<label2>$INFO[ListItem.Rating]</label2>
<onclick>noop</onclick>
<visible>IntegerGreaterThan(ListItem.Rating, 0)</visible>
</item>
by:
Code:
<item>
<label>$LOCALIZE[563]:</label>
<label2>$INFO[ListItem.Rating]</label2>
<onclick>noop</onclick>
<visible>IntegerGreaterThan(ListItem.Rating, 0) + !StringCompare(ListItem.Overlay,Overlay/Unwatched.png)</visible>
</item>

in all of them but it had absolutely no effect. I mean it didn't hide rating for wateched or for unwatched content at my next Kodi booting, so I suppose it was simply ignored.

Am I on the right way to do it? Do you figure why it didn't do anything?

Thank you Smile
Reply
#2
Hi,

Tv Episodes -> container.content(episodes)

Instead:

Code:
<visible>IntegerGreaterThan(ListItem.Rating, 0) + !StringCompare(ListItem.Overlay,Overlay/Unwatched.png)</visible>

is not going to work but this will:

Code:
<visible>IntegerGreaterThan(ListItem.Rating, 0) + !StringCompare(ListItem.Overlay,OverlayWatched.png)</visible>

Tgx
Reply
#3
I tried it on the three controls, but I did'nt see any difference at all. Is there some cache to clear?

EDIT: when putting <visible>false</visible>, nothing changes...
Reply
#4
I begin to think I don't update the right file (DialogVideoInfo.xml).

My point is I want to hide this rating :

Image

I keep searching for the solution, but if you have an idea... Smile
Reply
#5
The correct file is "View_57_58_59_Showcase.xml" at line 355.

Tgx
Reply
#6
Fantastic, it works!

Thank you for your help!
Reply
#7
Strange request Nicovideo Smile
I though that the rating matters before you see the movie and maybe hide it afterwards or something
Image
Reply
#8
Well, actually, I download a lot of movies and series by curiosity, and I generally don't want my judgement to be influenced by IMDb rating.

Then, when I saw a movie, I like to know what the world thought about it Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Hide property for unwatched videos0