INTERACT FORUM

Please login or register.

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

Author Topic: Showtime question  (Read 2003 times)

altahometheatre

  • Recent member
  • *
  • Posts: 27
Showtime question
« on: January 21, 2020, 05:10:08 pm »

I can figure out how to get random introductions to play but I cannot figure out how to get an intro to play based upon the movie that was selected.

For example, I have created a field called [Audio Codex] and have manually populated each movie with the codes (ie Atmos, DTS, etc).  When I pick a movie I would like the matching audio introduction to play.

Hope someone can help and that this makes sense.
Thanks
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 717
  • Hi
Re: Showtime question
« Reply #1 on: January 22, 2020, 12:42:32 pm »

I am pretty sure what you're asking isn't possible, see https://yabb.jriver.com/interact/index.php/topic,123134.0.html
Logged

altahometheatre

  • Recent member
  • *
  • Posts: 27
Re: Showtime question
« Reply #2 on: January 22, 2020, 05:54:48 pm »

Thanks Moe.  I was afraid of that.  I had previously read the post you linked and it was the reason that I upgraded to MC26.  I was hoping that with some sort of expression I could pick which audio intro to play based upon the movies audio.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: Showtime question
« Reply #3 on: January 22, 2020, 06:39:19 pm »

Give us a chance to look at a possible change here.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Showtime question
« Reply #4 on: January 22, 2020, 07:30:37 pm »

So right now you can do something like:
1:[Pre-Show]=[THX Intro]

But there's no way to make it evaluate a value from the current movie.

It's tricky because it's already an expression language so we couldn't just push the whole thing through an expression with the file because it would make a mess.

People suggested making something inside # be evaluated.  Maybe that could work?

We need some brain-storming.  Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Showtime question
« Reply #5 on: January 23, 2020, 07:28:24 am »

I got an idea we'll try for the next build.  I think we can evaluate everything after the equal as an expression for the current file.  Even if it's values like [THX Intro], they should pass through fine since that's not a field.

So give it a shake next build and let us know.  Thanks.
Logged
Matt Ashland, JRiver Media Center

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 717
  • Hi
Re: Showtime question
« Reply #6 on: January 23, 2020, 11:19:24 am »

Matt, can you throw up an example of what you're talking about, I want to make sure we are on the same page here.

Thanks!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Showtime question
« Reply #7 on: January 23, 2020, 11:26:15 am »

Sure.

I made two fields:
Audio Codex
Audio Codex Play

I set Audio Codex to something like DTS.  Then I found a movie to test Showtime on.  I set the Audio Codex Play to DTS as well.

I set the showtime rules to this:
1:[Audio Codex]=[[Audio Codex Play]]

This isn't out yet, but it seems to be working properly.  Thanks for all the help.
Logged
Matt Ashland, JRiver Media Center

altahometheatre

  • Recent member
  • *
  • Posts: 27
Re: Showtime question
« Reply #8 on: January 24, 2020, 11:11:44 am »

Matt,

If I understand that seems perfect.  Although the syntax seems different than I would expect.
As I understand, the custom field [Audio Codex] is on the movie that is originally selected to play.  On a second file you have a custom field called [Audio Codex Play].  The program will match codes from [Audio Codex] with those in [Audio Codex Play] and play an optional number of matches.  Correct?

The syntax I thought would be different is the fields would have been delimited opposite as you show.  Does this mean all Showtime fields are now double delimited?

Thanks for looking into this so quickly.  That was amazing!
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 717
  • Hi
Re: Showtime question
« Reply #9 on: January 24, 2020, 11:12:08 am »

I am not sure I follow along with what you did there, but I will play around with it when it gets released.  Thanks.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 717
  • Hi
Re: Showtime question
« Reply #10 on: January 28, 2020, 06:19:00 pm »

I got to play around with this today, working great.  Took a bit for me to wrap my head around the syntax, but it wasn't too bad.  I got it working so that a DTS trailer will show if a movie has a DTS track and will show a Dolby Digital trailer if it's got a Dolby track.  Thanks for making this a reality. 
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: Showtime question
« Reply #11 on: January 28, 2020, 06:58:20 pm »

Thanks.  Let us know if we can tune it.
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: Showtime question
« Reply #12 on: November 29, 2020, 12:00:43 pm »

I made the new AudioCodex field with an expression so I don't have to manually tag with "Dolby" or "DTS".

If(IsEqual([Compression],truehd,8),Dolby,If(IsEqual([Compression],AC3,8),AC3,If(IsEqual([Compression],dts,8),DTS,)))

Then the DTS trailers I tag the pre-show field with "DTS".
The Dolby trailers I tag with both "Dolby" and "AC3".
Logged
Pages: [1]   Go Up