INTERACT FORUM

Please login or register.

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

Author Topic: Complete Theater View Caption Example  (Read 15739 times)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Complete Theater View Caption - Example
« Reply #50 on: October 01, 2012, 09:26:09 pm »

Here's an update, with some simplifications by using more customer User fields.

IfElse(isequal(IsRemovable():IsMissing(), 1:1), <font color="FF0000">◙ <//font>)IfElse(!isempty([Web Media Info]), [Name], IsEqual([Media Sub Type], Movie), IfElse(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ <font color="888888">, <font color="FF6E6E">! <//font> ) ) [Name] [Critic Rating Stars], IsEqual([Media Sub Type], TV Show), if(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ [SeasonEpisode], <font color="FF6E6E">! [SeasonEpisode] <//font>), [SeasonEpisode]<//font>/ ) [Name] [Critic Rating Stars], IsEqual([Media Sub Type], Music Video), [Name] [Rating Stars], IsEqual([Media Sub Type], Trailer), IfElse(!isempty([Number plays]), <font color="C3FFB3">√ <font color="888888">)[Name], IsEqual([Media Type], Audio), [Name]<font color="888888"> by <//font>[Artist] [Rating Stars], 1, [Name] )<//font>

Broken out, it looks like this:

IfElse(isequal(IsRemovable():IsMissing(), 1:1), <font color="FF0000">◙ <//font>)
IfElse(
   !isempty([Web Media Info]),
        [Name],
   IsEqual([Media Sub Type], Movie),
        IfElse(!isempty([Number Plays]),
           if([Watched],
               <font color="C3FFB3">√ <font color="888888">,
               <font color="FF6E6E">! <//font>
             )
        ) [Name] [Critic Rating Stars],
   IsEqual([Media Sub Type], TV Show),
       if(!isempty([Number Plays]),
           if([Watched],
              <font color="C3FFB3">√ [SeasonEpisode],
              <font color="FF6E6E">! [SeasonEpisode] <//font>),
           [SeasonEpisode]<//font>/
         ) [Name] [Critic Rating Stars],
   IsEqual([Media Sub Type], Music Video),
          [Name] [Rating Stars],
   IsEqual([Media Sub Type], Trailer),
      IfElse(!isempty([Number plays]), <font color="C3FFB3">√ <font color="888888">)[Name],
   IsEqual([Media Type], Audio),
       [Name] <font color="888888">by<//font> [Artist] [Rating Stars],
   1,
      [Name]
)<//font>

The new User fields are:

Watched:                  Math(!formatnumber([Bookmark]) | above(formatnumber([Bookmark]) / [Duration,0], 900))
SeasonEpisode:         <font color="888888">S[Season]EPadNumber([Episode], 2)
Rating Stars:             <font color="C3FFB3">right(★★★★★, [rating])
Critic Rating Stars:   <font color="C3FFB3">ifelse( isrange([Critic Rating],0.0-2.9),☆, isrange([Critic Rating],3.0-4.9),★, isrange([Critic Rating],5.0-5.9),★☆, isrange([Critic Rating],6.0-6.9),★★, isrange([Critic Rating],7.0-7.4),★★☆, isrange([Critic Rating],7.5-7.9),★★★, isrange([Critic Rating],8.0-8.4),★★★☆, isrange([Critic Rating],8.5-8.9),★★★★, isrange([Critic Rating],9.0-9.4),★★★★☆, isrange([Critic Rating],9.5-10),★★★★★ )

The red portion of the expression shows missing media, as per brian0001's request.  Change the symbol as desired (it is not showing up correctly here in the forum, but will paste as an inverse white circle, unicode 25D9).
Logged
The opinions I express represent my own folly.

locust

  • Citizen of the Universe
  • *****
  • Posts: 699
Re: Complete Theater View Caption - Example
« Reply #51 on: October 02, 2012, 09:15:21 am »

Hey MrC

The isremovable() expression isn't finding any values of 1 in my collection even though I have several external drives, I've tried making a view just with the [Removable] to see and the only output it shows is unassigned.

It isn't a MC18 thing because it's the same in my MC17 library.

Any ideas what I have done wrong? Is there any way to force an update for the [Removable] field?

Thanks
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Complete Theater View Caption - Example
« Reply #52 on: October 02, 2012, 11:44:33 am »

I'm not sure.  I know there were some changes in MC17 to what MC considered removable.

In scanning all of my MC database, the only entries with Removable set are CD entries.  I just tested files on a USB Flash drive, and the also do not have the Removable flag set.
Logged
The opinions I express represent my own folly.

locust

  • Citizen of the Universe
  • *****
  • Posts: 699
Re: Complete Theater View Caption - Example
« Reply #53 on: October 02, 2012, 12:21:00 pm »

Do you think it is a bug?

Maybe I should open a request thread to allow assignment of removable media to specific drive letters in Configure Auto Import, what do you think?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Complete Theater View Caption - Example
« Reply #54 on: October 02, 2012, 12:50:05 pm »

Do you think it is a bug?

Maybe I should open a request thread to allow assignment of removable media to specific drive letters in Configure Auto Import, what do you think?

It certainly seems like it is.  A USB flash drive should be considered removable media, so probably a quite note in the MC18 area would be good.

I'm not aware of MC's technical issues, and Matt/Glynor had a long conversation about dealing with removable media.  My quick feel was that each drive / path included in Auto-import should have a Removable media setting which users cold set.  Since removable media has not been restricted to USB and optical media for a long time now, it seems that an auto-detection scheme will miss cases for ESATA and other hot-plug systems.  Drive letters and paths are insufficient as detection mechanisms, so a unique per-media sentinel must be used instead (I recall jgreen also suggesting, via Haiku, this technique).
Logged
The opinions I express represent my own folly.

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Complete Theater View Caption - Example
« Reply #55 on: October 03, 2012, 10:21:28 am »

Oh. So, there is a hidden custom caption for recorded video, that we can not alter. Either need to remove the Recorded Date or just settle with it then. That's a shame. Luckily I never record, so I don't have this problem :P
I must still be missing something...I tried removing the recorded date, but it still didn't work for recorded TV...is there any other info you can provide?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Complete Theater View Caption - Example
« Reply #56 on: October 03, 2012, 10:52:28 am »

The field that triggers the internal caption code is a non-empty Recording Rule ID.
Logged
The opinions I express represent my own folly.

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Complete Theater View Caption - Example
« Reply #57 on: October 03, 2012, 01:51:05 pm »

thanks!
Logged

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Complete Theater View Caption - Example
« Reply #58 on: October 04, 2012, 10:38:22 am »

hmmm....I manually edited out the 'Recording Rule ID' from the xml, but it still didn't work.  weird.
Logged

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Complete Theater View Caption Example
« Reply #59 on: October 07, 2012, 05:04:55 pm »

I made a change to add the series name to the caption.  it is:

IfElse(isequal(IsRemovable():IsMissing(), 1:1), <font color="FF0000">◙ <//font>)IfElse(!isempty([Web Media Info]), [Name], IsEqual([Media Sub Type], Movie), IfElse(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ <font color="888888">, <font color="FF6E6E">! <//font> ) ) [Name] [Critic Rating Stars], IsEqual([Media Sub Type], TV Show), if(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ [SeasonEpisode]: [Series], <font color="FF6E6E">! [SeasonEpisode]: [Series] <//font>), [SeasonEpisode]: [Series]<//font>/ ) - [Name] [Critic Rating Stars], IsEqual([Media Sub Type], Music Video), - [Name] [Rating Stars], IsEqual([Media Sub Type], Trailer), IfElse(!isempty([Number plays]), <font color="C3FFB3">√ <font color="888888">) - [Name], IsEqual([Media Type], Audio), - [Name]<font color="888888"> by <//font>[Artist] [Rating Stars], 1, - [Name] )<//font>

If anyone wants it. 
Logged

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: Complete Theater View Caption Example
« Reply #60 on: October 08, 2012, 01:21:45 am »

I believe I had [name] everywhere in my example. Did I miss one, or was it just missing in your own caption?
Logged
- I may not always believe what I'm saying

muzicman0

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1239
Re: Complete Theater View Caption Example
« Reply #61 on: October 08, 2012, 09:17:51 am »

I believe I had [name] everywhere in my example. Did I miss one, or was it just missing in your own caption?
For me, [name] rendered out only the episode name, so it would look something like this:

S2E2 Bad Code

So I added [Series] and a few other little things, which made it render something like this:

S2E2: Person of Interest - Bad Code

mm0
Logged

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: Complete Theater View Caption Example
« Reply #62 on: October 09, 2012, 01:53:14 am »

Right. I just dropped that, because it looked messed up with so much text in for example the thumbnail view. It would be nice to have in certain views like recently imported though...
Logged
- I may not always believe what I'm saying

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: Complete Theater View Caption Example
« Reply #63 on: January 10, 2013, 06:15:27 pm »

I made a change to add the series name to the caption.  it is:

IfElse(isequal(IsRemovable():IsMissing(), 1:1), <font color="FF0000">◙ <//font>)IfElse(!isempty([Web Media Info]), [Name], IsEqual([Media Sub Type], Movie), IfElse(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ <font color="888888">, <font color="FF6E6E">! <//font> ) ) [Name] [Critic Rating Stars], IsEqual([Media Sub Type], TV Show), if(!isempty([Number Plays]), if([Watched], <font color="C3FFB3">√ [SeasonEpisode]: [Series], <font color="FF6E6E">! [SeasonEpisode]: [Series] <//font>), [SeasonEpisode]: [Series]<//font>/ ) - [Name] [Critic Rating Stars], IsEqual([Media Sub Type], Music Video), - [Name] [Rating Stars], IsEqual([Media Sub Type], Trailer), IfElse(!isempty([Number plays]), <font color="C3FFB3">√ <font color="888888">) - [Name], IsEqual([Media Type], Audio), - [Name]<font color="888888"> by <//font>[Artist] [Rating Stars], 1, - [Name] )<//font>

If anyone wants it. 


Greetings all:

I am trying to get to the root of this Expressions and where to paste them:

I was able to create the Critic Rating Stars and was successful pasting or putting the code in there.
Later almost at the end of the thread or some where in another thread, Theater view -Advanced- File Caption  screen, I am unable to locate a page or screen . I see the "Advanced" screen, then  listings like "Tag menu- audio, tag menu-video, tag menu image.
Where do I need to past the expression quoted above?.

Screen images will help.

I wish Matt and company will include,(soon) examples for Standard view  all types to include DLNA gizmo and Standard view for Video, Tvs etc and also,Theater view sample and expressions for new users  to clone or modify.
We need sample views in all areas and all types. I have different appliances for CD, DVD, and BD changers. My system is disc based, I will like to create views at the standard view level and also theater view to include Tvs
I am lost in these areas.

Thanks .
Ekpen
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Complete Theater View Caption Example
« Reply #64 on: January 10, 2013, 07:57:29 pm »

I am trying to get to the root of this Expressions and where to paste them:

There is a new caption edit area, which is now per-media type.  Access this in Tools > Options > Theater View > Appearance > Customize file info panel...  and select one of the templates from the Templates pulldown (i.e Movie, Video, etc.).  See attached screenshot.

The expression posted was created prior to this new caption system - edit it to only include the portion necessary for the given media type/sub type.  Also, the new stock captions incorporate some of this already (e.g. Watched checkmark).  So you'll probably want to modify the existing caption expression per-media type rather than replace it entirely with what is here.

If you need help, ask.
Logged
The opinions I express represent my own folly.

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: Complete Theater View Caption Example
« Reply #65 on: January 10, 2013, 08:11:24 pm »

Thanks.
Ekpen.
Logged
Pages: 1 [2]   Go Up