How to exclude a path with $INFO[Window.Property(LatestMovie.1.Path)])
#1
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?
Reply
#2
Use !substring($INFO[Window.Property(LatestMovie.1.Path)],.strm) if you wan't to exclude the movie if it has the extension strm.
Image
Reply
#3
Thumbs Up 
`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>
Reply
#4
Try

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

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

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

Logout Mark Read Team Forum Stats Members Help
How to exclude a path with $INFO[Window.Property(LatestMovie.1.Path)])0