Kodi Community Forum

Full Version: How to exclude a path with $INFO[Window.Property(LatestMovie.1.Path)])
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to exclude some files with the fileextension *.strm

I'm using:
!IsEmpty($INFO[Window.Property(LatestMovie.1.Path)]*.strm)

But it doesn't work Oo

Can someone help me out?
Use !substring($INFO[Window.Property(LatestMovie.1.Path)],.strm) if you wan't to exclude the movie if it has the extension strm.
`Black Wrote:Use !substring($INFO[Window.Property(LatestMovie.1.Path)],.strm) if you wan't to exclude the movie if it has the extension strm.

Thank you for your quick replay!

I've tried it, but with no luck...

I've tested it by removing the "!" before the substring but the movie doesn't show, the movie is een streaming file.

<item id="1">
<icon>$INFO[Window.Property(LatestMovie.1.Thumb)]</icon>
<label>$INFO[Window.Property(LatestMovie.1.title)]</label>
<onclick>$INFO[Window.Property(LatestMovie.1.Path),PlayMedia(,)]</onclick>
<visible>!Skin.HasSetting(HomeRandom) + !IsEmpty(Window.Property(LatestMovie.1.Title)) + !substring($INFO[Window.Property(LatestMovie.1.Path)],.strm)</visible>
</item>
Try

Code:
!substring(Window.Property(LatestMovie.1.Path),.strm)
`Black Wrote:Try

Code:
!substring(Window.Property(LatestMovie.1.Path),.strm)

Thank you very much `Black!
Now it's working perfectly! Laugh