INTERACT FORUM

Please login or register.

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

Author Topic: Idea/Feature Request: New flag types for custom fields  (Read 708 times)

locust

  • Citizen of the Universe
  • *****
  • Posts: 699
Idea/Feature Request: New flag types for custom fields
« on: October 12, 2021, 11:32:56 am »

Hello there, I have an idea for a feature request & I can only hope you see the possible use of it like I do.

I rely heavily upon expressions. I am not the best at constructing them nor making them streamlined, but I'm always looking for ways to make my library more efficient. It was the Rename, move & copy files dialogue box that got me thinking about this, and the fact you can specify flags in the making of custom fields, for example, you can make a custom field where the contained expression only evaluates upon image files, video files, etc., or a mixture of them by ticking checkboxes.

I use many expressions in the Rename, Move & Copy Files dialogue box. I store these expressions in custom fields. Which isn't the best way to do it, I imagine. I only do it to try and keep complexity down, rather than having mammoth expressions entered into the Rename move & copy files, dialogue boxes. It's slowing my library down as I believe these fields contained expressions are being evaluated upon every refresh of a view scheme or upon entering a view scheme. Their purpose has infrequent use. So they are continually being processed when not needed, which is highly inefficient for their purpose.

My idea and I can think of one other area of application, is that we coud possibly, in the making of custom fields, have a second flag type? A flag type that specifies which areas of Media Center itself in which and when the contained expressions of the fields are to be evaluated, like only when the Rename, move & copy dialogue box is open?

One other area, perhaps this could be useful in, is the media network. Expressions contained in fields to only be evaluated if and when there is an active connection to MCWS? Perhaps you can see more areas of Media Center in which flags like these could be used?

Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618
Re: Idea/Feature Request: New flag types for custom fields
« Reply #1 on: October 12, 2021, 03:56:16 pm »

This is probably not needed. Field expressions as only evaluated if the field is visible or used in a View, otherwise it has no impact. If field A has an expression that refers to field B or C, then when using field A it will also evaluate all referenced fields to get to a result. But if field A is not visible and has no references in a View, then it is not called/evaluated at all when displaying that view.
Logged

locust

  • Citizen of the Universe
  • *****
  • Posts: 699
Re: Idea/Feature Request: New flag types for custom fields
« Reply #2 on: October 13, 2021, 02:37:40 am »

Ah I was not aware, I've got a bit of fuzzy logic when it concerning the true inner workings on MC and assume sometimes thanks
Logged
Pages: [1]   Go Up