INTERACT FORUM

Please login or register.

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

Author Topic: Can I use an expression for Series name?  (Read 1163 times)

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Can I use an expression for Series name?
« 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?
Logged

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Can I use an expression for Series name?
« Reply #1 on: March 01, 2015, 04:18:02 pm »

anyone?
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Can I use an expression for Series name?
« Reply #2 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...
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2556
Re: Can I use an expression for Series name?
« Reply #3 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.
Logged
Pages: [1]   Go Up