INTERACT FORUM

Please login or register.

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

Author Topic: NEW: Active Templates for Theater View  (Read 10224 times)

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
NEW: Active Templates for Theater View
« on: February 01, 2024, 01:09:48 pm »

Description
The new file info templates in Theater View for Movies and TV Shows are capable of retrieving and displaying rich metadata on-the-fly.  We owe user lepa and others many thanks for their creative work that we've built on.

The new templates use Spotlight's aggregation capabilities to find and display the data. 

Instructions
Back up!  It's under File > Menu in MC.

Make sure you have done "Library Tools > Analyze Video" for all your movies so the necessary metadata exists for the new template.

Your current templates will be backed up before they are overwritten/upgraded with the new default templates.  To restore your templates, select Tools > Options > Theater View > Customize file info panel > Manage > Import All Templates.  Select the xml backup in {Library Directory}/Backup which should be the default directory opened in the dialog.  You can see the {Library Directory} when you hover over the library in the left-side tree.
Example:  C:\Users\jimh\AppData\Roaming\J River\Media Center 32\Library\Backup

You may also want to back up on your own before upgrading.  If you don't want your templates to be overwritten, then after you restore, manually edit the version in your current templates file (with a text file editor) to be Version="100.0" or some high number.  The templates file path is "C:\Users\USERNAME\AppData\Roaming\J River\Media Center 32\Library\theater view file info templates.xml" in Windows for a local library.  For a library server client, this has to be done on the server.  Note that if you do any editing of the templates in the MC dialog, it will revert to the current version when saved.

Build 44 and greater now allows you to select a custom templates file in Theater View Options.  You can select any file you place in {Library Directory}\Templates.  The pre-MC32 templates file (text-based) is placed there automatically for selection.  This means no more re-importing your backup when there are changes to the default (if you select a different file in Options).
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: NEW: Active Movie Templates
« Reply #1 on: February 01, 2024, 02:21:13 pm »

Firstly, looks good!  Like the icons showing the audio formats and layouts as well as the bit that says when it is going to end.

Just had a browse around my Video collection and found the following oddities:
- No differentiation in regard to video info like resolution etc, eg can't see any difference in my UHD-BD vs BD / SD vs HD vs UHD
- Not sure where the additional "Recommended" videos come from but many of them don't seem related.  Eg I looked at "12 Strong" and would expect to see other war movies, but it seemed to like other movies also with "12" in their titles and other weird ones.  None of these recommendations were in my library (if that was the goal).  Is it just done on similar "Names", eg Bond movies recommends other Bond movies exclusively.  Some titles did not get any recommendations (eg Alita: Battle Angel).  There is also plenty of empty room in the Grid View where you could put these recommendations (see pic 1).
- Sometimes the Cast or Recommended is not visible unless you got down to that section (well at least for the 1st time)
- When using the "roller" instead of "grid" and go into an item, the coverart zooms right in on one spot.  When going in the item for the first time it does a double flash and stays at the roller level after entering the detail level for only a second.
 Looks like it is a drawing issue with this type of view.  Also MC crashed once in this view (but I've not repeated the issue).
- Looks like the changes are only for "Movies" not "TV Shows" etc?

Thanks
Nathan




Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: NEW: Active Movie Templates
« Reply #2 on: February 01, 2024, 02:40:49 pm »

The other thing that I thought would be good is the ability to select a "Recommended" (if it is in your library) and jump to that.
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Movie Templates
« Reply #3 on: February 01, 2024, 02:46:15 pm »

for a small screen i have been using small poster to fill some space but not making it too crowdy.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #4 on: February 02, 2024, 02:49:29 am »

Quote
- Not sure where the additional "Recommended" videos come from but many of them don't seem related.  Eg I looked at "12 Strong" and would expect to see other war movies, but it seemed to like other movies also with "12" in their titles and other weird ones. 
I think that "recommendation" field of tmdb is showing much more similar movies than actual "similar" field so I have been using recommendations to show similar  ;D
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #5 on: February 02, 2024, 09:07:36 am »

Firstly, looks good!  Like the icons showing the audio formats and layouts as well as the bit that says when it is going to end.

We can thank lepa for that.

Just had a browse around my Video collection and found the following oddities:
- No differentiation in regard to video info like resolution etc, eg can't see any difference in my UHD-BD vs BD / SD vs HD vs UHD
This just has not been added yet.

- Not sure where the additional "Recommended" videos come from but many of them don't seem related.  Eg I looked at "12 Strong" and would expect to see other war movies, but it seemed to like other movies also with "12" in their titles and other weird ones.  None of these recommendations were in my library (if that was the goal).  Is it just done on similar "Names", eg Bond movies recommends other Bond movies exclusively.  Some titles did not get any recommendations (eg Alita: Battle Angel).  There is also plenty of empty room in the Grid View where you could put these recommendations (see pic 1).
These are from TMDB.  We can try a different list as lepa suggests.
None of the Spotlight data is available from the Grid view because that causes Spotlight data to be generated from the Internet if it hasn't already.  It probably would not be a good idea to have this happen when you just highlight a movie in the grid.


- Sometimes the Cast or Recommended is not visible unless you got down to that section (well at least for the 1st time)
This is due to the Spotlight data being generated/downloaded if it does not exist.  We will try to improve this.

- When using the "roller" instead of "grid" and go into an item, the coverart zooms right in on one spot.  When going in the item for the first time it does a double flash and stays at the roller level after entering the detail level for only a second.
 Looks like it is a drawing issue with this type of view.  Also MC crashed once in this view (but I've not repeated the issue).
We will look into this.

- Looks like the changes are only for "Movies" not "TV Shows" etc?
Correct
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3966
Re: NEW: Active Theater View Templates
« Reply #6 on: February 03, 2024, 04:14:49 am »

what does the icon on the far right mean? no of channels in the audio track perhaps?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10721
Re: NEW: Active Theater View Templates
« Reply #7 on: February 03, 2024, 04:32:59 am »

Its a 5.1 channel layout depiction.
Logged
~ nevcairiel
~ Author of LAV Filters

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: NEW: Active Theater View Templates
« Reply #8 on: February 04, 2024, 02:32:17 am »

I think mattkan was referring to the 3 dots.

By downloading v12, I naturally lost the old template created by lepa.
The new one is a good step forward compared to the default template, but with the limitations already mentioned above by jmone and obviously still not up to the superb template I had previously. I then tried to add it again among the available templates, but it didn't load the photos of the actors even using zratings.
Luckily I had made a backup of the partition but when restoring it the computer crashed.

As soon as I have time, I will try to restore the PC, but I would like to be able to choose between the new template and the previous ones, as I did in the past
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: NEW: Active Theater View Templates
« Reply #9 on: February 04, 2024, 02:46:52 am »

The old template was backed up when MC was installed.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: NEW: Active Theater View Templates
« Reply #10 on: February 04, 2024, 03:13:49 am »

Sorry JimH but I don't understand what you mean :'(: can you explain better? Thank you
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: NEW: Active Theater View Templates
« Reply #11 on: February 04, 2024, 03:23:11 am »

From the first post in this thread:

Quote
Your current templates will be backed up before they are overwritten/upgraded with the new default templates.  The backup will be in {Library Directory}/Backup.
Example:
C:\Users\jimh\AppData\Roaming\J River\Media Center 32\Library\Templates
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 379
Re: NEW: Active Theater View Templates
« Reply #12 on: February 04, 2024, 08:31:20 am »


Make sure you have done "Library Tools > Analyze Video" for all your movies so the necessary metadata exists for the new template.


Do you mean Analyze Audio ?
I canīt find Analyze Video under Library Tools.
- Is analyze Video a new feature that I do not see as I'm not on version 32?

Q: What metadata is collected when analyzing a movie file?
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71427
  • Where did I put my teeth?
Re: NEW: Active Theater View Templates
« Reply #13 on: February 04, 2024, 08:43:24 am »

Try selecting a few videos and right click.  Analyze Video should be there.
Logged

Purecut

  • World Citizen
  • ***
  • Posts: 106
Re: NEW: Active Theater View Templates
« Reply #14 on: February 06, 2024, 06:45:40 am »

I don't have this directory either. Is it only created when you create and import your own templates, or is it already created when you install the program?
Using build 08.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #15 on: February 06, 2024, 09:08:50 am »

Do you mean Analyze Audio ?
I canīt find Analyze Video under Library Tools.
- Is analyze Video a new feature that I do not see as I'm not on version 32?

Q: What metadata is collected when analyzing a movie file?

I think Analyze Video was introduced in v 31.  It fills in a number of mostly technical data fields including Audio Codecs, Video Codecs, etc.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #16 on: February 06, 2024, 09:16:38 am »

I'm sorry, but this folder isn't on my PC.

This was renamed to "Backup" in build 12.  To restore your templates, just select "Import All Templates" in the Templates dialog and then navigate to and select the xml backup in {Library Directory}/Backup.  You can see the {Library Directory} when you hover over the library in the left-side tree.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 545
  • It's not easy being me, but it sure is fun!
Re: NEW: Active Theater View Templates
« Reply #17 on: February 06, 2024, 10:13:58 am »

I think Analyze Video was introduced in v 31.  It fills in a number of mostly technical data fields including Audio Codecs, Video Codecs, etc.
My results in 32.0.8 vary. Only Blu-Ray movies appear to get updated, not DVDs. If I select a Blu-Ray and a DVD together and try to analyze video, neither get updated. MKV rips work, too, but not when selected along with a DVD.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #18 on: February 07, 2024, 09:23:03 am »

My results in 32.0.8 vary. Only Blu-Ray movies appear to get updated, not DVDs.

Are you talking about IFO files?  I'm not sure if analyze works for those.  Maybe Hendrik can chime in.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #19 on: February 07, 2024, 09:25:04 am »

Build 13 includes support for a high version of the templates file to prevent it from being overwritten with upgrades.  See the first post.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 545
  • It's not easy being me, but it sure is fun!
Re: NEW: Active Theater View Templates
« Reply #20 on: February 08, 2024, 06:48:20 am »

Are you talking about IFO files?  I'm not sure if analyze works for those.  Maybe Hendrik can chime in.
Correct. My ripped DVDs are IFO files.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #21 on: February 08, 2024, 09:07:33 am »

Correct. My ripped DVDs are IFO files.

Hendrik confirmed that Analyze Video does not work on IFO files.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: NEW: Active Theater View Templates
« Reply #22 on: February 08, 2024, 03:34:08 pm »

Update looks good.  Can I suggest a couple more tweaks:
- Can you still put up the icon for resolution even if it is Dolby Vision (as HDR and resolution are different)
- Add an icon for 3D (eg FileType of "bdmv3d" is both BD and 3d)

Keep up the good work!  It will also be great when it spreads over the other Media Sub Types.
Logged
JRiver CEO Elect

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 785
Re: NEW: Active Theater View Templates
« Reply #23 on: February 08, 2024, 05:21:08 pm »

I may have missed it but should all the badges appear under the movie title?  There's often one that appears at the end of the title and then the rest below the title.

--

Logged
TV: LG OLED C1 83"
3D: LG OLED C6 65" (two) - madVR MVC->SBS
3D: Valve Index (using Media Center+MadVR) + Virtual Home Theater (Steam)
HTPC: Core i7, Win11, nVidia 3090RTX
Storage: 500TB Snapraid via SMB to Ubuntu 18 LTS server
Audio: exaSound e68 Multichannel USB DAC, Sonus Faber Speakers, REL Subx2
Video: HDMI 2.1/4K@120Hz, JRVR (2D), MadVR (3D), 7.1 Channel Audio into AMPs: Conrad Johnson 2/5 Channel Amps, Marantz av8805A PreAmp
Cables: Shotgun Interconnects, AudioQuest Cinnamon 48GB HDMI cables

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14267
  • I won! I won!
Re: NEW: Active Theater View Templates
« Reply #24 on: February 08, 2024, 06:06:52 pm »

I see that as well, and agree they all should be on the 2nd line.
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #25 on: February 09, 2024, 09:21:18 am »

As MC doesn't get all the critic ratings like the third party solutions maybe move technical icons to lower part and display tmdb rating in the inforow
Logged

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 545
  • It's not easy being me, but it sure is fun!
Re: NEW: Active Theater View Templates
« Reply #26 on: February 09, 2024, 11:53:00 am »

As MC doesn't get all the critic ratings like the third party solutions maybe move technical icons to lower part and display tmdb rating in the inforow
Lepa, what font are you using in that display?
Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 651
Re: NEW: Active Theater View Templates
« Reply #27 on: February 09, 2024, 12:31:19 pm »

I'm not a fan of TMDB recommendations (honestly any pre-baked movie recommendations available are iffy)
They generally are unrelated or just 'popular'. One approach I had (that doesn't rely on more complex metrics) was merging the recommendations from all data sources, filtering OUT popular films and then slotting in selections from 3 top billed cast members and the director / writer. I also use keywords to try and filter things out. Keywords are sourced from highly curated lists, a metadata source and ML, the keywords that seem to exist in the commonly used non commercial metadata sources are TERRIBLE.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #28 on: February 09, 2024, 12:49:27 pm »

Lepa, what font are you using in that display?
Description is just plain "Segoe UI" and rest is "Theater"
Logged

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 785
Re: NEW: Active Theater View Templates
« Reply #29 on: February 10, 2024, 08:03:53 am »

As MC doesn't get all the critic ratings like the third party solutions maybe move technical icons to lower part and display tmdb rating in the info row
Is that screenshot from the work you did or from the new work in MC32?  Just curious :)
Logged
TV: LG OLED C1 83"
3D: LG OLED C6 65" (two) - madVR MVC->SBS
3D: Valve Index (using Media Center+MadVR) + Virtual Home Theater (Steam)
HTPC: Core i7, Win11, nVidia 3090RTX
Storage: 500TB Snapraid via SMB to Ubuntu 18 LTS server
Audio: exaSound e68 Multichannel USB DAC, Sonus Faber Speakers, REL Subx2
Video: HDMI 2.1/4K@120Hz, JRVR (2D), MadVR (3D), 7.1 Channel Audio into AMPs: Conrad Johnson 2/5 Channel Amps, Marantz av8805A PreAmp
Cables: Shotgun Interconnects, AudioQuest Cinnamon 48GB HDMI cables

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #30 on: February 10, 2024, 08:52:52 am »

It is mine. If it gives some inspiration for JRiver folks then thats fine if not that's fine also ;D As I don't want hijack the thread so prefer discussion about the user created custom thingys here but reply to question it is earlier template adjusted to MC32
 - Size scaling variable added to possibly help with different resolutions
 - Ratings row replaced by tech icons as a showcase when there is no multiple rating values available

zeldafied preview for small:
Code: [Select]
#### CONFIG ####/
Save(Finnish, v_PRIMARY_LANG)/
Save(English, v_SECONDARY_LANG)/
Save(face="Segoe UI", v_BODY_FONT)/
Save(face="Theater", v_TITLE_FONT)/
Save(face="Hack", v_MONO_FONT)/
Save(1, v_USE_RECOMMENDATIONS_IMAGES)/
Save(0, v_RECOMMENDATIONS_IMAGES_ZSTATS)/
Save(30, v_RECOMMENDATIONS_SCRAPE_EXPIRY)/
Save(e://.MC Images//Actors//A-Z, V_ACTOR_IMAGE_PATH)/
Save(d://audio//MC31//Data//Tooltip//, V_TOOLTIP_PATH)/
Save(e://.MC Images//Movies//Replace([Name],:,/ ) /([Year]/) /[[imdb id]/]//Logos//logo.png, v_LOGO_FILEPATH)/
Save(1, v_ACTOR_ALT_ROLES)/
Save(1, v_SHOW_TEXT_ROLES)/
Save(1, v_SHOW_TEXT_ACTORS)/
Save(1, v_SHOW_POSTER)/
Save(0, v_LOGO)/
Save(1, v_SHOW_ACTOR_MODULE)/
Save(1, v_SHOW_RECOMMENDATIONS_MODULE)/
Save(1, v_SHOW_VIDEO_DETAILS_MODULE)/
Save(1, v_SHOW_RATINGS_MODULE)/
Save(0, v_SHOW_RATINS_SMALL_MODULE)/
Save(1, v_DEBUG_ON)/
Save(1, v_SCALE)

#### COLOUR VARIABLES ####/
Save(color="#f2edf4", v_COLOR_BODY)/
Save(color="#5b799b", v_COLOR_HEADER)/
Save(color="#75889F", v_COLOR_HEADER2)/
Save(color="#f69838", v_COLOR_STARS)/
Save(color="#dce4ea", v_COLOR_TITLE)/
Save(color="#5e5e63", v_COLOR_INFOROW)/
Save(color="#808084", v_COLOR_INFOROW_SMALL)/
Save(color="#569AF0", v_COLOR_BODY_LARGE)

##### SMALL VARIABLES ######/
Save(size="Math(Round(100 * [v_SCALE]))", v_SF_SIZE_TITLE)/
Save(size="Math(Round(70 * [v_SCALE]))", v_SF_SIZE_BODY)/
Save(size="Math(Round(85 * [v_SCALE]))", v_SF_SIZE_DESCR)/
Save(size="Math(Round(90 * [v_SCALE] * [v_SCALE]))", v_SF_SIZE_RATINGS)/

Save(If(Compare([v_SCALE],<,1),1,85), v_SVER_SPACER)/
Save(<img src="tooltip:Misc\separator\1x1-transparent" size="Math([v_SCALE] * 12)x1">,v_SICON_DELIM)

Save(Math(Round(140 * [v_SCALE])), v_SPOSTER_W)/
Save(Math(Round(210 * [v_SCALE])), v_SPOSTER_H)/

Save(48, v_STITLE_MAX_LEN)/

Save(Math(Round(25 * [v_SCALE])), v_SSTAR_SZ)/
Save(Math(Round(15 * [v_SCALE])), v_SSSTAR_SZ)/

Save(Math(Round(45 * [v_SCALE] * [v_SCALE])), v_SHEIGHT_RATINGS)/
Save(height="Math(Round(45 * [v_SCALE] * [v_SCALE]))", v_SHEIGHT_ICON)/

Save(Math(Round(38 * [v_SCALE])), v_INDENT_ENDING)/

Save(Math(Round(400 * [v_SCALE])), v_SSMAX_DESC)/

Save(
    [Name]/
    If([Rating,0],
        If(Compare(Length([Name]),<,45),
            /  /[ Repeat(<img src="tooltip:Misc//star-2" size="[v_SSTAR_SZ]x[v_SSTAR_SZ]" valign="top">,[Rating])/ /],
        ),
    ),
v_SMALL_TITLE)/

Save(Length(FirstNotEmpty([MPAA Rating], NR)),v_InfoRowLength)/
SaveAdd(v_InfoRowLength, Length(FormatNumber(Math(Decimal([Duration,0]) / 60)) min))/
SaveAdd(v_InfoRowLength, Length(Replace(ListLimit([Genre],2),;,/ /// )))/
SaveAdd(v_InfoRowLength, Length([Year]))/
SaveAdd(v_InfoRowLength, Length(Replace(Replace(Replace(ListLimit([Country],2),United States of America, USA,1),United Kingdom,UK,1),;,/,/ )))/
SaveAdd(v_InfoRowLength, Length(If([HDR Format,0],HDR,)))/
SaveAdd(v_InfoRowLength, Length(FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),HH:mm)))/
SaveAdd(v_InfoRowLength, Math(5 + 5 + 5 + 1 + 5If([HDR Format,0], + 5,)))/

Save(
    IfElse(
        Compare(Length([Description]),<=,[v_SSMAX_DESC]),
            [Description]/
                <font alpha="0">/
                    Repeat(_,Math(Frac(([v_SSMAX_DESC] - Length([Description])) // 4) * 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([Description])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([Description])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([Description])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([Description])) // 4))/
                <//font>,
        Or(IsEmpty([IMDb Description (short)]),Compare(Length([IMDb Description (short)]),>,[v_SMAX_SIZE_DESC])),
            Left([Description],Math([v_SSMAX_DESC] -10))...,
        1,
            [IMDb Description (short)]/
                <font alpha="0">/
                    Repeat(/ ,Math(Frac(([v_SSMAX_DESC] - Length([IMDb Description (short)])) // 4) * 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([IMDb Description (short)])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([IMDb Description (short)])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([IMDb Description (short)])) // 4))/
                    Repeat(_,Math(([v_SSMAX_DESC] - Length([IMDb Description (short)])) // 4))/
                <//font>
        ),
v_SMALL_DESC)

#### HEADER #####/
If(Compare([v_SCALE],<,1),,
    <img src="tooltip://Misc//Separator//1x1-transparent" size="1x[v_SVER_SPACER]">
)/
<img src="tooltip:Misc//Separator//dot" size="Math([v_SPOSTER_W] + 2)x1" valign="bottom"><br>/
<img src="tooltip:Misc//Separator//dot" size="1x[v_SPOSTER_H]"valign="bottom">/
<img src="/
    If(Or(IsEqual([Image File],//,8),IsEqual([Image File],\,8)),
        [Image File],
        Mid([Filename],0,Find([Filename],.,,2)).jpg
    )" size="[v_SPOSTER_W]x[v_SPOSTER_H]" valign="bottom">/
<img src="tooltip:Misc//Separator//dot" size="1x[v_SPOSTER_H]" valign="bottom">
<img src="tooltip:Misc//Separator//dot" size="Math([v_SPOSTER_W] + 2)x1" valign="top">/
<img src="tooltip:Misc//Separator//1x1-transparent" size="1x20"><br>/

<font [v_TITLE_FONT] [v_SF_SIZE_TITLE] [v_COLOR_TITLE]>/
    [v_SMALL_TITLE]/

    <br>/

    <font [v_SF_SIZE_BODY] [v_COLOR_INFOROW_SMALL]>/
        FirstNotEmpty([MPAA Rating], NR)  <b>|<//b>  /
        FormatNumber(Math(Decimal([Duration,0]) / 60)) min  <b>|<//b>  /
        Replace(ListLimit([Genre],2),;,/ /// )  <b>|<//b>  /
        [Year] /
        (Replace(Replace(Replace(ListLimit([Country],2),United States of America, USA,1),United Kingdom,UK,1),;,/,/ ))/
        /  |  IMDb [IMDb Rating]/
    <//font>/
<//font>

#### DESCRIPTION ####/
<font [v_BODY_FONT] [v_SF_SIZE_DESCR] [v_COLOR_BODY]>/
    [v_SMALL_DESC]/
<//font>

#### PERSONNEL ####/
<font [v_TITLE_FONT] alpha="70" [v_SF_SIZE_BODY]>/
    <font [v_COLOR_HEADER2]>/
        DIRECTOR:  /
    <//font>/
    <font [v_COLOR_BODY]>/
        ListFormat([Director],2)/
    <//font>/

    If([Actors,0],
        <font [v_COLOR_HEADER2]>    /
            STARS:  /
        <//font>/
        <font [v_COLOR_BODY]>/
            ListFormat(ListLimit([Actors],6),2)/
        <//font>,
    )/
<//font>

#### ICONS ####
If([v_SHOW_RATINS_SMALL_MODULE],,/

If(Compare([v_SCALE],<,1),,<br>)/
    IfElse(
        IsEqual([File Type],bdmv),
            [v_SICON_DELIM]<img src="tooltip:container//bdmv" [v_SHEIGHT_ICON] valign="middle">,
        IsEqual([File Type],ifo),
            [v_SICON_DELIM]<img src="tooltip:container//ifo" [v_SHEIGHT_ICON] valign="middle">,
        1,
    )/

    If([HDR Format,0],
        Replace(ListMix([v_SICON_DELIM]<img src="tooltip:Video//Definition//[L1]" [v_SHEIGHT_ICON] valign="middle">,8,[Video Format (pretty)]),;,),
        [v_SICON_DELIM]<img src="tooltip:Video//Definition//[Definition]" [v_SHEIGHT_ICON] valign="middle">/
    )/

    If([Audio Codec,0],
        Save([v_SICON_DELIM]<img [v_SHEIGHT_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
        Replace(ListMix([v_CodecPath]//[L1]">IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD">,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3">),8,Clean(ListClean([Audio Codec],1),3)),;,),
    )/

    If([Audio Channels,0],[v_SICON_DELIM]<img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_SHEIGHT_ICON] valign="middle">,)/

    If([Aspect Ratio (pretty),0],[v_SICON_DELIM]<img src="tooltip:Video//AspectRatio//[Aspect Ratio (pretty)]" [v_SHEIGHT_ICON] valign="middle">,)/

    If([v_DistributorImage,0],
        [v_SICON_DELIM]<img src="tooltip:Distributor//ListItem([Distributor],0)" [v_SHEIGHT_ICON] valign="middle">,
    )/


    If(Not(Or(IsEqual([Publisher],[Distributor]),And(IsEqual([Distributor], Universal Pictures),IsEqual([Publisher],Universal Studios)))),
        If([Publisher,0],
            Save(If(IsMissing(D:\audio\MC31\Data\Tooltip\Publisher\[Publisher].png),0,1), v_PublisherImage)/
        ,)/
        If([v_PublisherImage],
            [v_SICON_DELIM]<img src="tooltip:Publisher//ListItem([Publisher],0)" [v_SHEIGHT_ICON] valign="middle">,
        ),
    )/

    [v_SICON_DELIM]/
    <img src="tooltip:Language///
        FirstNotEmpty(
            ListFind([Audio Language],[v_PRIMARY_LANG],,0),
            ListFind([Subtitle Language],[v_PRIMARY_LANG],,0),
            ListFind([Subtitle Language (external)],[v_PRIMARY_LANG],,0),
            ListFind([Subtitle Language (external)],[v_SECONDARY_LANG],,0),
            ListFind([Subtitle Language],[v_SECONDARY_LANG],,0)
        )" /
        [v_SHEIGHT_ICON]/
        valign="middle"/
    >/
    Save(0, v_DistributorImage)/
    Save(0, v_PublisherImage)/
If(Compare([v_SCALE],<,1),,
    <font [v_BODY_FONT] [v_COLOR_HEADER2] alpha="40">/
        <br>/
        Repeat(–,50)/
    <//font>/
)/

)
#### CRITIC RATING ####
If([v_SHOW_RATINS_SMALL_MODULE],

If(Compare([v_SCALE],<,1),,<br>)/
<font [v_MONO_FONT] [v_COLOR_BODY] [v_SF_SIZE_RATINGS] alpha="70"><b>/
    IfElse(
        Compare([TMDb Rating],>,0),
            <img src="tooltip:CriticRating//tmdb-square" height="[v_SHEIGHT_RATINGS]" valign="middle"> /
            Math(int(Decimal([TMDb Rating])))<font [v_BODY_FONT]>.<//font>If(Compare(Math(frac(Decimal([TMDb Rating]))),=,0),O,Mid(Math(frac(Decimal([TMDb Rating]))),2))  ,
        Compare([Critic Rating],>,0),
            <img src="tooltip:CriticRating//tmdb-square" height="[v_SHEIGHT_RATINGS]" valign="middle"> /
            Math(int(Number([Critic Rating])))<font [v_BODY_FONT]>.<//font>If(Compare(Math(frac(Number([Critic Rating]))),=,0),O,Mid(Math(frac(Number([Critic Rating]))),2))  ,
    )/

    If([IMDb Rating,0],
        <img src="tooltip:CriticRating//imdb-square" height="[v_SHEIGHT_RATINGS]" valign="middle"> /
        Math(int(Decimal([IMDb Rating])))<font [v_BODY_FONT]>.<//font>If(Compare(Math(frac(Decimal([IMDb Rating]))),=,0),O,Mid(Math(frac(Decimal([IMDb Rating]))),2))  ,
    )/

    If([Rotten Tomatoes,0],
        <img src="tooltip:CriticRating//rt-If(Compare([Rotten Tomatoes],>=,60),fresh,splat)" height="[v_SHEIGHT_RATINGS]" valign="middle"> /
        Replace([Rotten Tomatoes],0,O)%  ,
    )/

    If(IsEqual([Awards],Oscar,8),
        <img src="tooltip:Award//oscar-If(IsEqual([Awards],Won,8),won-figure,nominated-figure)" height="[v_SHEIGHT_RATINGS]" valign="middle">/  ,
    )/

    If([Watched,0],
        <img src="tooltip:Misc//Watched-1" valign="middle" height="[v_SHEIGHT_RATINGS]">,
    )/
<b><//font>/

If(Compare([v_SCALE],<,1),,
    <font [v_BODY_FONT] [v_COLOR_HEADER2] alpha="40">/
        <br>/
        Repeat(–,50)/
    <//font>/
)/

,)
#### END TIME ####
If(Compare([v_SCALE],<,1),,
    <font [v_BODY_FONT] [v_COLOR_TITLE] [v_SF_SIZE_BODY] alpha="70"><b>/
        Repeat(/ ,[v_INDENT_ENDING])/
        ENDS AT  FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),HH:mm)/
    <//b><//font>/
)
Logged

Manfred

  • Citizen of the Universe
  • *****
  • Posts: 1023
Re: NEW: Active Theater View Templates
« Reply #31 on: February 11, 2024, 10:15:05 am »

Tried MC build 16 and the new Theater View Template today.

It seems to work for movies (after 30min of using it and looking around) and I really like it.

1. Remark: In the navigation menu you can go "back" or use "select". What is the difference?

2. Will there a future version including Series (TV Shows) and Music Concerts?
Logged
WS (AMD Ryzen 7 5700G, 32 GB DDR4-3200, 2x2 TB SDD, LG 34UC98-W)-USB|ADI-2 DAC FS|Canton AM5 - File Server (i3-3.9 GHz, 16GB ECC DDR4-2400, 46 TB disk space) - Media Renderer (i3-3.8 GHz, 8GB DDR4-2133, GTX 960)-USB|Devialet D220 Pro|Audeze LCD 2|B&W 804S|LG 4K OLED )

elprice7345

  • World Citizen
  • ***
  • Posts: 237
Re: NEW: Active Theater View Templates
« Reply #32 on: February 13, 2024, 01:08:26 am »

Great work!

I, also, would love to see similar information/formatting for TV Shows!

Question: As best I can tell, it looks like MC should be displaying the following badges:
  • Resolution/HDR Type?
  • File Type
  • Aspect Ratio
  • Audio Codec
  • Channel Layout
Is this list correct?

I reran "Analyze Video" and still see some fields (Resolution and Aspect Ratio in this case) missing in Theater View for some, but not all movies (see image).

MediaInfo says the aspect ratio for this file is 2.39:1 and the resolution is 1920x808.
Logged

Ashfall

  • World Citizen
  • ***
  • Posts: 179
Re: NEW: Active Theater View Templates
« Reply #33 on: February 13, 2024, 09:15:17 am »

Would also like to see fps info.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #34 on: February 13, 2024, 10:00:44 am »

Description is just plain "Segoe UI" and rest is "Theater"

Is Theater a custom font that needs to be manually installed?
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #35 on: February 13, 2024, 10:05:25 am »

Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #36 on: February 13, 2024, 10:47:56 am »

Question: As best I can tell, it looks like MC should be displaying the following badges:
  • Resolution/HDR Type?
  • File Type
  • Aspect Ratio
  • Audio Codec
  • Channel Layout
Is this list correct?

I reran "Analyze Video" and still see some fields (Resolution and Aspect Ratio in this case) missing in Theater View for some, but not all movies (see image).

MediaInfo says the aspect ratio for this file is 2.39:1 and the resolution is 1920x808.

Yes, the list is correct.  It is not showing the resolution or aspect ratio icons because that seems to be a non-standard resolution.  Check the Aspect Ratio tag in MC, it probably will be something like 2.38.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #37 on: February 13, 2024, 12:40:55 pm »

Yes
https://www.1001fonts.com/theater-font.html#font-categories

Thanks.  The template will use the Theater font if the user installs it.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: NEW: Active Theater View Templates
« Reply #38 on: February 14, 2024, 01:38:29 am »

It is not showing the resolution or aspect ratio icons because that seems to be a non-standard resolution.  Check the Aspect Ratio tag in MC, it probably will be something like 2.38.

Even in my case, the aspect ratio never appears even in the presence of standard resolutions (2:30, 1:85 etc.).

Furthermore, the description field should be increased: I managed to modify it, but I think it should be modified by default.

What I wasn't able to change, however, is the name of the actor and character whose characters are really small. I have good eyesight, but I can read them with difficulty.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #39 on: February 14, 2024, 09:08:08 am »

Even in my case, the aspect ratio never appears even in the presence of standard resolutions (2:30, 1:85 etc.).

Furthermore, the description field should be increased: I managed to modify it, but I think it should be modified by default.

What I wasn't able to change, however, is the name of the actor and character whose characters are really small. I have good eyesight, but I can read them with difficulty.

There is currently no icon for aspect ratio 2.30.  We could probably add one if it is common.  1.85 should work.  Can you check the Aspect Ratio tag for one that is not working?

Description field in the file details or file list?

We would have to decrease the number of actors shown to increase the font size.  I will try to make these variables so you can tweak them as you wish.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: NEW: Active Theater View Templates
« Reply #40 on: February 14, 2024, 03:25:02 pm »

Sorry, my fault, I typed 2:30 instead of 2:39. Unfortunately, no aspect ratio works, not even the most common ones (2:39, 1:85, 1.78),

By description field I mean the short introductory plot of the film, which appears before the photos of the actors.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #41 on: February 14, 2024, 06:52:02 pm »

Sorry, my fault, I typed 2:30 instead of 2:39. Unfortunately, no aspect ratio works, not even the most common ones (2:39, 1:85, 1.78),

By description field I mean the short introductory plot of the film, which appears before the photos of the actors.

If it is really 2:39 instead of 2.39 that would be the problem.

The description field is the right size for 1080p because it allows the cast and recommended lists to display fully without any scrolling necessary.  You might have to modify this for a 4k display.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

elprice7345

  • World Citizen
  • ***
  • Posts: 237
Re: NEW: Active Theater View Templates
« Reply #42 on: February 15, 2024, 02:44:03 am »

Yes, the list is correct.  It is not showing the resolution or aspect ratio icons because that seems to be a non-standard resolution.  Check the Aspect Ratio tag in MC, it probably will be something like 2.38.

The Aspect Ratio in MC is 240:101.

The Aspect Ratio in MediaInfo is 2.39:1.

So, Aspect Ratio and Resolution icons will only show if they're common?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3966
Re: NEW: Active Theater View Templates
« Reply #43 on: February 15, 2024, 03:35:08 am »

this is a nice improvement overall, a couple of comments/questions

1) what determines whether the 4k icon is shown? e.g. attached shows a 4k rip which looks like it has all relevant info available but no 4k icon
2) currently the icons are less useful than they could be because they appear to show everything that is available rather than the main track, i.e. if there are a multiple audio streams of different types then all the icons are shown, is there any way to limit that to the main track only?
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: NEW: Active Theater View Templates
« Reply #44 on: February 15, 2024, 08:18:34 am »


The description field is the right size for 1080p because it allows the cast and recommended lists to display fully without any scrolling necessary.  You might have to modify this for a 4k display.

In reality, the photo I attached in the previous post was of my notebook and therefore 1080p resolution.

With the 4k projector, it's worse
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #45 on: February 15, 2024, 08:33:52 am »

So, Aspect Ratio and Resolution icons will only show if they're common?

Correct.  At the moment, there are only icons for the standard set of these.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10721
Re: NEW: Active Theater View Templates
« Reply #46 on: February 15, 2024, 08:35:14 am »

The Aspect Ratio in MC is 240:101.

The Aspect Ratio in MediaInfo is 2.39:1.

So, Aspect Ratio and Resolution icons will only show if they're common?

We unified the aspect ratio reporting to the 2.39 format when we overhauled the analysis. If files still show the old format, maybe you need to re-analyze them.
Unless its a DVD IFO, those are not supported in analysis right now.
Logged
~ nevcairiel
~ Author of LAV Filters

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2924
Re: NEW: Active Theater View Templates
« Reply #47 on: February 15, 2024, 08:38:17 am »

1) what determines whether the 4k icon is shown? e.g. attached shows a 4k rip which looks like it has all relevant info available but no 4k icon
2) currently the icons are less useful than they could be because they appear to show everything that is available rather than the main track, i.e. if there are a multiple audio streams of different types then all the icons are shown, is there any way to limit that to the main track only?

1) This is fixed in the next update.  It was not showing the 4K icon when Dolby Vision is present.
2) This can be changed but you can field any complaints about all the available tracks not being shown :).
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10721
Re: NEW: Active Theater View Templates
« Reply #48 on: February 15, 2024, 08:44:39 am »

All the tracks showing has two sides .. showing all is similar to a style of something like Blu-ray case where all the badges are being shown for advertising reasons. But at the end of the day you only play one of them. But is it good to know that they are there? Maybe?

Personally I would probably favor the main track only, as that directly has an information benefit.
Logged
~ nevcairiel
~ Author of LAV Filters

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1971
Re: NEW: Active Theater View Templates
« Reply #49 on: February 15, 2024, 10:07:58 am »

My philosophy has been that small view shows generics and large view can then show specifics like what all those audio tracks keeps inside. Of course some of it depends on what user has inserted as track names.
Logged
Pages: [1] 2 3 4   Go Up