INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: jgreen on July 24, 2006, 09:28:25 am

Title: Calling All Smart People (Expressions)
Post by: jgreen on July 24, 2006, 09:28:25 am
Currently, the audio library on my laptop is always going to be 50% missing files, and the exact files will change as I swap firewire drives.  My approach is to create a library with all files included, and then just navigate to the existing ones. 

Question:  isn't there a way to create a custom field based on an expression that will test whether a file exists?  My hope is to put such a pane in my main audio view:  "Connected? /<Yes> <No>".
Title: Re: Calling All Smart People (Expressions)
Post by: marko on July 24, 2006, 03:52:50 pm
right click audio, edit view scheme, add, advanced expression, call it connected?, this is the expression: if(IsMissing([Filename]),no,yes)

it may or may not slow down the viewscheme. mileage may vary.
Title: Re: Calling All Smart People (Expressions)
Post by: jgreen on July 24, 2006, 04:38:23 pm
H'ray!

Thanks, Marko, I knew you'd come through.
Title: Re: Calling All Smart People (Expressions)
Post by: REL on October 05, 2006, 03:46:19 pm
I used the same expression to create a new field "FileExists" under Tools,Options,Library , and then added to the "Audio" view scheme  at the bottom [FileExists]=[yes]

so it always only shows me the files currently available