INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: muzicman0 on February 27, 2015, 04:18:14 pm

Title: Can I use an expression for Series name?
Post by: muzicman0 on February 27, 2015, 04:18:14 pm
What I would like to do is create an expression that if the Media Sub Type is 'Movie', and if it is on the D: drive (my recorded TV drive), then the Series name will be "Recorded Movies", otherwise, it will not change it at all...and I want it to happen automatically...is this possible?

What I am trying to accomplish is that any movie that is recorded via TV get's auto tagged to "Recorded Movies", which in the view I created has it's own series cover art, etc in theater view.  My wife tends to record a lot of movies, and they clutter up my view.

Any ideas?
Title: Re: Can I use an expression for Series name?
Post by: muzicman0 on March 01, 2015, 04:18:02 pm
anyone?
Title: Re: Can I use an expression for Series name?
Post by: ferday on March 04, 2015, 09:46:41 am
I can't see why not....you can use an expression in the series tag.  it would be a tricky expression though I think.  it would be easiest to start with a very specific location

isequal([filename (path)],8,d:/recorded shows)

Then work into an if/else expression

Ifelse(isequal([media sub type],1,movie),Recorded TV show)

I haven't actually tested those, just a place to start...

I would probably end up using a smartlist myself to only show the files of interest, then just do a select-all tag-all operation as I don't ever use automatic tagging...
Title: Re: Can I use an expression for Series name?
Post by: BryanC on March 04, 2015, 10:10:24 am
Code: [Select]
If(isequal([media sub type],1,movie),If(isequal([filename (path)],d:/recorded,8),Recorded Movie,[Series]),[Series])
But I'd highly recommend you not do it this way. Instead, make a new calculated field and display that in Theater View. Don't mess with the default fields.

You've got an issue with Movie:[Name] versus TV Show:[Series] as it stands.