INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: blgentry on August 19, 2015, 10:46:57 pm

Title: Excluding Directories from Views
Post by: blgentry on August 19, 2015, 10:46:57 pm
There was a feature request recently here:

http://yabb.jriver.com/interact/index.php?topic=99538.msg689354#msg689354

It's essentially how to exclude a directory name from being displayed in a view.  But this directory might appear dozens or hundreds of times in the directories that MC knows about, so a simple directory exclusion rule in auto import won't do it.

Luckily there's an easy way to do it through the Views system directly.  Steps:

1.  Find the view you are interested in modifying and select Customize View.
2.  Settings > Included Files > Set rules for file display
3.  Add a rule with Filename (path).  Then select "does not contain".  Finally, in the next box, type the name of the directory family you want to exclude.  In the case of this example, the Original Poster wants to exclude directories named "old".  But don't just type "old".  Because that would exclude any directory with the string "old" in it.  Like "Hold Your Fire" or "My Old Loves".  Instead, type in "\old\" .  That way it only excludes directories named OLD with nothing before or after.  If you wanted to achieve different results you could use "\old" or "old\".
4.  Click OK on each window until you are back to the view.
5.  Verify that it worked.  Adjust your rule if it needs it.

Let me know if you need any help getting this working or adjusting it.

Brian.
Title: Re: Excluding Directories from Views
Post by: glynor on August 20, 2015, 09:20:55 am
Yes. This works well.  I use it in quite a few places. If you want to limit it to a particular directory, you can also specify the entire path (eg "C:\blah\blah\blah\folder\").
Title: Re: Excluding Directories from Views
Post by: ferday on August 20, 2015, 11:03:51 am
If it's one off this works great!   

If it's a more long term thing I prefer to assign a keyword to exclude and/or auto import options to assign said keyword.  Excluding based on tags is more flexible than path but of course it depends on exact requirements

Once again, what a rich piece of software!
Title: Re: Excluding Directories from Views
Post by: glynor on August 20, 2015, 12:36:51 pm
Yep. I usually do it by assigning a tag on import:
http://wiki.jriver.com/index.php/Tag_on_Import