INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: rpsweb on July 22, 2008, 02:24:04 pm

Title: view with two file paths
Post by: rpsweb on July 22, 2008, 02:24:04 pm
Hi there
I want to have a view scheme that includes two file paths
\\nas\films2 and \\nas\films3

How ever if I add both as a search rule it doesnt work.

Any ideas why?
Title: Re: view with two file paths
Post by: zirum on July 22, 2008, 03:08:17 pm
Hi,

If you want to include hits of several that fits either or the other, you must use OR as operator, since you want movies "on this path OR other path", if you get my drift  :)

E.g. this should work:
Code: [Select]
[Filename]="\\nas\films2" or [Filename]="\\nas\films3"
Title: Re: view with two file paths
Post by: Alex B on July 22, 2008, 03:13:03 pm
The folllowing rule should work:

([Filename (path)]="\\nas\films2" or [Filename (path)]="\\nas\films3")

You can press the Import / Export button in the "Edit Search" window for directly editing the rule string.

It is also possible to add operators with the editor. Basically you need to click the empty spaces before and after the dialog boxes for adding the AND, OR and grouping operators, but this is a bit difficult to explain in detail even though I think I understand how it is supposed to work. Unfortunately, I don't think MC's Help and Wiki pages have any instructions for this. (Does anyone know a forum link?)

Edit

zirum posted while I was writing my reply and checking if the rule works...
Title: Re: view with two file paths
Post by: marko on July 22, 2008, 04:15:21 pm
(Does anyone know a forum link?)
here (http://yabb.jriver.com/interact/index.php?topic=47265.0) and here (http://yabb.jriver.com/interact/index.php?topic=46456.msg318347#msg318347)

-marko
Title: Re: view with two file paths
Post by: rpsweb on July 22, 2008, 04:43:31 pm
thanks folks :D