INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Creating a view that shows files in either of two directories  (Read 1264 times)

Peter Engrav

  • Regular Member
  • Recent member
  • *
  • Posts: 35
  • nothing more to say...

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.

Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Creating a view that shows files in either of two directories
« Reply #1 on: July 22, 2010, 09:43:34 am »

Try:


Filename   starts with   \\Files\Music\

Custom     OR

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

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Creating a view that shows files in either of two directories
« Reply #2 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\"
Logged
Matt Ashland, JRiver Media Center

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Logged
MT5FR

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4877
Re: Creating a view that shows files in either of two directories
« Reply #4 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".
Logged
Pages: [1]   Go Up