INTERACT FORUM

Please login or register.

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

Author Topic: Identifying stack files in DB smartlist  (Read 1256 times)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Identifying stack files in DB smartlist
« on: September 17, 2009, 06:09:08 pm »

Over in this thread:

http://yabb.jriver.com/interact/index.php?topic=29216.msg201842#msg201842

Marco and Alex B discuss and show their mechanisms to view the various DBs that MC maintains.  I use the same, but have noticed that with the introduction of Stacks, the Deleted smartlist no longer works correctly, as that smartlist essentially includes all files that are not specified in the other DB-restrictive smartlist.

I've modified my Deleted smartlist to exclude any file whose path begins with the path to my stack conversion cache.

My question: is there are better way to do this, such that I don't have to remember to update this playlist should the stack cache location change?  In other words, how do I say "not a cache file" in the smartlist?

Thanks in advance.
Logged
The opinions I express represent my own folly.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Identifying stack files in DB smartlist
« Reply #1 on: September 18, 2009, 01:37:32 am »

The following rule will exclude any file that is in a stack (including the 'top' file): [stack top]=-1
If you don't use stacks for anything else other than your handheld cache, the following rule will exclude all such cache files, but still list files held in regular stacks: -[stack tag]=[HH Cache]

Advanced Tip:
I've created a couple of really handy image view schemes using the reverse, -[stack top]=-1 that let me manage stacked files. One that lists version stacks of edited images, and another that lists stacks of similar images. If you go there, it will only make any real sense if you group by [stack top]. In order to get that as a grouping option, you need to create a new library field, using 'calculated data' using simply [stack top] in the template field.

In the 'files to show' (under advanced on the right in customise view) you need to use the modifier "Limit database to | All" in order to get the entire stack to show.
Bear in mind also that although you can see all of the stacked files in this view, as far as MC is concerned, they are still stacked. What this means to you is that any tagging you perform on the 'top' file will most likely be propogated down through every file in that stack, while tagging performed on the other stack members remain exclusive to the selected file. If you want to tag the 'top' file exclusively, remember to click on the stack icon to expand the stack first.

have fun :)

-marko.
Pages: [1]   Go Up