INTERACT FORUM

More => Old Versions => Media Center 15 (Development Ended) => Topic started by: Peter Engrav on July 22, 2010, 09:32:42 am

Title: Creating a view that shows files in either of two directories
Post by: Peter Engrav on July 22, 2010, 09:32:42 am
Another "I feel stupid" moment.

I have two network shares full of music.  \\Files\Music\ and \\Files\Music-New\.  I would like my main MC view to show the union of stuff in those two folders. And yet I can't for the life of me figure out the syntax for the rule that will manage this.

Simply adding a list of ordinary rules

Filename   starts with   \\Files\Music\
Filename   starts with   \\Files\Music-New\

doesn't work - there seems to be an implict "AND" between the fields that I can't modify.

Custom   filename=[\\Files\Music\" or filename=[\\Files\Music-New\"

But that seems to do something odd where after dismissing the dialog it shows me only stuff in \\Files\Music. If I bring the dialog back up it's parsed into what looks like the same two non-custom rules above (although it's clearly behaving differently). And (even more odd) if I dismiss the dialog again (with no other changes) the view changes to show me only the stuff in \\Files\Music-New (that is, the other folder).

I've also tried a few versions of this

Filename   starts with   \\Files\Music\;\\Files\Music-New\"

to no avail.

Title: Re: Creating a view that shows files in either of two directories
Post by: fitbrit on July 22, 2010, 09:43:34 am
Try:


Filename   starts with   \\Files\Music\

Custom     OR

Filename   starts with   \\Files\Music-New\
Title: Re: Creating a view that shows files in either of two directories
Post by: Matt on July 22, 2010, 10:12:02 am
Try:


Filename   starts with   \\Files\Music\

Custom     OR

Filename   starts with   \\Files\Music-New\


Putting the two in one rule will be faster:
[Filename]=[\\Files\Music\",[\\Files\Music-New\"
Title: Re: Creating a view that shows files in either of two directories
Post by: Lasse_Lus on July 22, 2010, 10:12:08 am
http://yabb.jriver.com/interact/index.php?topic=46456.0
Title: Re: Creating a view that shows files in either of two directories
Post by: fitbrit on July 22, 2010, 10:41:16 am
http://yabb.jriver.com/interact/index.php?topic=46456.0

Haha! That's fantastic! I joined MC in version 12 before this was introduced. I guess I missed it. In fact I asked about how to do the same thing and the answer I posted was basically how I was taught to do it "back in the day".