INTERACT FORUM

Please login or register.

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

Author Topic: Custom Tooltips/TheaterView Screens  (Read 21915 times)

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #200 on: February 21, 2024, 01:37:03 pm »

New tighter spacing allows us to slice images more and it is possible to build something like this (quick demo). Hint... 3 text rows beside 1 (actually 4) image
Logged

SkGe

  • Galactic Citizen
  • ****
  • Posts: 428
Re: Custom Tooltips/TheaterView Screens
« Reply #201 on: February 25, 2024, 03:55:21 am »

@Lepa. How did you manage to have those text on the right side of image? Can you share that?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #202 on: March 03, 2024, 02:38:57 pm »

@Lepa. How did you manage to have those text on the right side of image? Can you share that?
Sliced album art image to three different images. Before this tightening change only two images tower was possible

Moving on...
Worked a little with my Series templates. Shows progress using delimiter bar between header data and description. bar is gray if there is no progress and completely blue when completed and something between while ongoing
Logged

Smack

  • World Citizen
  • ***
  • Posts: 119
Re: Custom Tooltips/TheaterView Screens
« Reply #203 on: March 05, 2024, 07:51:56 am »

Hello guys,

i got the newest JRiver (V32) installed. Now i want to change the theater view screen but i have no clue how to do that. Is there a tutorial how to change the screen?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #204 on: March 15, 2024, 07:59:23 am »

There are some instructions in the first post but it isn't just simple mouse click most of the times and at least my public templates are broken currently as MC's theater view changes are is still under development so I don't want to spend my time fixing my stuff many times
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #205 on: March 15, 2024, 08:04:25 am »

Thanks for the help. I added that into a new blank expression and nothing shows up. Tried adding to an existing expression like the 'header' and still got nothing.
Ah, haven't used MC's stock poster fetching for ages as it can only save poster next to file so you probably need something like this:
<img src="[Filename (path)]Filename(,0).jpg"  height="200">
Logged

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2220
Re: Custom Tooltips/TheaterView Screens
« Reply #206 on: March 15, 2024, 10:43:47 am »

That did it, thanks!
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

antenna

  • Galactic Citizen
  • ****
  • Posts: 423
Re: Custom Tooltips/TheaterView Screens
« Reply #207 on: April 28, 2024, 07:49:09 pm »

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.


Yeah, this is not a success-oriented approach for the long term.

Unless, of course, JR is now taking Apple's approach of dictating to users.

The new templates are interesting to me in some scenarios.

But mostly, meh.

I'd prefer my prior data-focused templates instead of the new image-focused templates.

I'm not saying ~dump the image focused templates~

All I am saying is to support the more textual templates without having to jump through the backup/restore hoops.

Why can't the more textual, less image-oriented, templates be an option in the Theater View options area?

I did an upgrade of MC this afternoon (to 32.0.44 on Windows 10), and I lost the templates I had enabled.

I had to play the restore dance.

Really?  A software provider making users jump through hoops?

Is this what MC has come to, forcibly overriding user-set options?



imo, this is not a good path to go down....

 


 
Logged
=========
Vinyl: Shure V15VxMR, Shure VN5MR stylus, VPI Scout turntable
Shellac: Shure M91, Shure N75-3 stylus,  Dual 1218 turntable

Apt Holman preamp (updated), Benchmark Media ADC-1, Benchmark Media DAC-1, Carver TFM-45 power amp (updated), Original Acoustic Research AR-9 speakers (LF surrounds replaced), Sennheiser HD590 headphones

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72163
  • Where did I put my teeth?
Re: Custom Tooltips/TheaterView Screens
« Reply #208 on: April 29, 2024, 07:13:43 am »

We're not trying to force anything on anyone.  The problem exists because users modified a standard part of MC. 
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4082
Re: Custom Tooltips/TheaterView Screens
« Reply #209 on: April 29, 2024, 07:27:46 am »

We're not trying to force anything on anyone.  The problem exists because users modified a standard part of MC.
Isn't it because something that could/should be configurable/pluggable can only be configured in this way? ie the actual problem is a gap in MC not users doing it wrong
Logged

murray

  • Citizen of the Universe
  • *****
  • Posts: 567
Re: Custom Tooltips/TheaterView Screens
« Reply #210 on: April 29, 2024, 04:10:55 pm »

Isn't it because something that could/should be configurable/pluggable can only be configured in this way? ie the actual problem is a gap in MC not users doing it wrong
I must admit I was surprised a couple of weeks ago when I did an update my Theatre View had changed. I went hunting for the tools to put all the missing info back as I had it with the old view, but discovered I was stuck with what had been supplied which was much less than I had. To be honest I really dont care about images of the stars and related movies that seem to be completly unrelated to the film on view.

Is all this info pulled from IMDb or some other place?

If one wants to how can one go back to the old view and select the info from the list we used to have?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #211 on: June 17, 2024, 05:03:37 am »

Movies Classic v1.0.0
A new template for text only guys using only MC scraping abilities. So no need for new fields or using 3rd party scraping software.

Copy text to clipboard and paste it with "add template from clipboard" (See first post installation and config.jpg for reference guide). make sure new template is on top of the list as it will be the priority order for templates. No configuration needed here as this only uses MC stock things

Edits:
17.6.2024: v1.0.1 added more decimal point for handling of monetary values (2)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 559
Re: Custom Tooltips/TheaterView Screens
« Reply #212 on: June 17, 2024, 07:31:19 am »

I'll try it later, thanks :)
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #213 on: June 17, 2024, 08:42:41 am »

Have also been updating (No)Poster template (v2.0) so it can use either Spotlight data or 3rd party scraped data for actors and recommendations. Also added scaling factor to configuration which could make it easier to adjust sizes to different resolutions and scalings. Also other fixes/additions. It is not published but works for me and to my setup
Logged

Negasonic

  • World Citizen
  • ***
  • Posts: 118
Re: Custom Tooltips/TheaterView Screens
« Reply #214 on: August 11, 2024, 11:09:53 am »

Recently upgraded to MC 32/33 from 31 and noticed that in 32 all images in my custom movie tooltip popup have shrunk to minimum sizes. I am no coder expert, all has been done with trial and error, so not sure what needs to be fixed.

I have been using <font size="###"> tag to set image sizes

Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #215 on: August 11, 2024, 11:56:55 am »

hard to say without seeing the script but you could play with image attributes like <img src="image.png" height="xx">
Logged

Negasonic

  • World Citizen
  • ***
  • Posts: 118
Re: Custom Tooltips/TheaterView Screens
« Reply #216 on: August 11, 2024, 02:32:05 pm »

Thank you, lepa

I used <font size="xxx"><img src="image.png"><//font> and that no longer seem to affect image size in MC 32, if I switch back to 31 it still works. Is that working as intended?

With <img src="image.png" height="xx"> I can now manipulate the size. Unfortunately all the height numbers needs to be reconfigured as well. May need to re-slice some of the images to make it work.


Logged

Negasonic

  • World Citizen
  • ***
  • Posts: 118
Re: Custom Tooltips/TheaterView Screens
« Reply #217 on: August 13, 2024, 09:28:27 am »

Is there a way to change the tooltip popup background color?

Using 'Modern Cards: Dark skin' the background will be a solid black color. Can I tweak this color by editing some part of the skin? If so, which one?
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1366
Re: Custom Tooltips/TheaterView Screens
« Reply #218 on: August 15, 2024, 09:23:48 am »

Still looking for help on these for TV SHOWS...
1. How can I remove the "Director" area completely?
2. How can I reduce or eliminate the large space where the red question mark is?
3. In the smaller red box: I want to remove "NR" and "Documentary" and "Ends at 7:39am". I want to add the "channel name" (ie CNN, or ABC, or KCRA). I want to add "record time start" and "record time end".

Any help on this?
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #219 on: August 15, 2024, 12:28:32 pm »

1-2 elaborate?
3. If you can paste the template you are using and fields which contains the channel name & recording times I can cook something up. I don't use MC's tv recording so don't know the fields
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1366
Re: Custom Tooltips/TheaterView Screens
« Reply #220 on: August 15, 2024, 12:58:01 pm »

Sorry, when I quoted myself from the other thread, the screen shots did not carry over here. So I have added them...
1. How can I remove the "Director" area completely? See screenshot #1
2. How can I reduce or eliminate the large space where the red question mark is? See screenshot #1
3. Screenshot #1 small red box, ideally just want to have: Channel name | Duration | Time and Date Recorded. Same for screenshot #2 red box, just want to have: Channel name | Duration | Time and Date Recorded.

...fields which contains the channel name & recording times I can cook something up. I don't use MC's tv recording so don't know the fields...
Where can I get them from?


I'm just using the default TV Show template:
Code: [Select]
<Template>
<Name>TV Show</Name>
<Search>[Media Sub Type]=[TV Show]</Search>
<Style>2</Style>
<Caption>If([AllSameSeries], &lt;font alpha="50"&gt;Delimit(TVInfo(SeasonEpisode))&lt;//font&gt;[Name]Delimit(Watched(2), , / ), TVInfo(NameDisplay)Delimit(Watched(2), , / )) &lt;font alpha="50"&gt;TVInfo(DateNoTime)&lt;//font&gt;</Caption>
<CaptionExpanded/>
<Fields>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">GENERAL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(TVInfo(SeasonEpisode) [Name],v_TITLE)/
Save(face="Segoe UI", v_MAIN_FONT)/
Save(face="Theater", v_THEATER_FONT)/
Save(ShortTime, v_TIME_FORMAT)/
Save(ShortDate, v_DATE_FORMAT)/
Save(width="30", v_STAR_WIDTH)/
Save(1, v_MAX_AUDIO_CODECS)/

Save(size="50", v_CAPTION_FONTSIZE)/
Save(9, v_NUM_ACTORS)/
Save(width="140", v_ACTOR_WIDTH)/
Save(spacing="3", v_ACTOR_SPACING)/
Save(9, v_NUM_SIMILAR)/
Save(width="140", v_SIMILAR_WIDTH)/
Save(spacing="3", v_SIMILAR_SPACING)/

Save(1, v_SHOW_DIRECTOR)/
Save(1, v_SHOW_REC_TITLE)/

Save(
IfElse(
Or( Compare([Width],&gt;=,3840), Compare([Height],&gt;=,2160) ) ,4K,
Or( Compare([Width],&gt;=,1920), Compare([Height],&gt;=,1080) ) ,1080p,
Or( Compare([Width],&gt;=,1280), Compare([Height],&gt;=,720) ) ,720p,
And( Compare([Width],&gt;=,720), Compare([Height],&gt;=,576) ) ,576p,
Or( Compare([Width],&gt;=,720), Compare([Height],&gt;=,480) ) ,480p
),
v_VIDEO_DEF)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">COLOR VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">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)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">SMALL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="70", v_SSIZE_BODY)/
Save(size="80", v_SSIZE_DESCR)/
Save(height="45", v_SHEIGHT_RATINGS)/
Save(
    If(
        Compare(Length([Description]),&lt;=,400),
            [Description]/
                &lt;font alpha="0"&gt;/
                    Repeat(_,Math(Frac((400 - Length([Description])) // 4) * 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                &lt;//font&gt;,
            Left([Description],390)...),
v_SMALL_DESC)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">LARGE VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="If(Compare(Length([v_TITLE]),&gt;,49), 100, 120)", v_LSIZE_TITLE)/
  Save(size="70", v_LSIZE_INFOROW)/
  Save(size="90", v_LSIZE_HEADER)/
  Save(height="35", v_LHEIGHT_TECH_ICON)/
  Save(Repeat(/ ,3),v_LDELIM_ICON)/

  Save([Description],v_DESCRIPTION)/

  Save( [Critic Rating], v_CRITIC_RATING)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== SMALL ===</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
        [V_TITLE] If([Rating,0],/[ Repeat(&lt;img src="tooltip:Misc//star-2" [v_STAR_WIDTH] valign="middle"&gt;,[Rating]) /],)/
    &lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    FirstNotEmpty([Access Rating],NR)/ | /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min | /
    Replace(ListLimit([Genre],3),;,/,/ )/
    &lt;br&gt;/
 FormatDate([Date,0],[v_DATE_FORMAT])/ | /
    [Critic Rating]/
   
&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_SSIZE_DESCR] [v_COLOR_BODY]&gt;/
    [v_SMALL_DESC]/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Personnel</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">If([v_SHOW_DIRECTOR],&lt;font [v_THEATER_FONT] alpha="70" [v_SSIZE_BODY]&gt;/
    &lt;font [v_COLOR_HEADER2]&gt;/
        DIRECTOR:  /
    &lt;//font&gt;/
    &lt;font [v_COLOR_BODY]&gt;/
        ListFormat([Director],2)/
    /    &lt;//font&gt;,)/

    If([Actors,0],
        &lt;font [v_COLOR_HEADER2]&gt;/
            STARS:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat(ListLimit([Actors],6),2)/
        &lt;//font&gt;,
    )/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Icons</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">0</Item>
<Item Name="Name">  End Time</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_HEADER2] alpha="40"&gt;/
    Repeat(–,45)/
&lt;//font&gt;&lt;br&gt;/

Repeat(/ ,25)/
&lt;font [v_MAIN_FONT] [v_COLOR_TITLE] alpha="70" valign="Top"&gt;/
    ENDS AT FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),[v_TIME_FORMAT])/

If(IsEmpty(TVInfo(WatchedDisplay)),,&lt;br&gt;Repeat(/ ,25)/
    Watched TVInfo(WatchedDisplay))/

&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== LARGE ===</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
        [V_TITLE] If([Rating,0],/[ Repeat(&lt;img src="tooltip:Misc//star-2" [v_STAR_WIDTH] valign="middle"&gt;,[Rating]) /],)/
    &lt;//font&gt;&lt;//b&gt;/

&lt;br&gt;/

&lt;b&gt;&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    FirstNotEmpty([Access Rating],NR)/ | /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min/ | /
    Replace(ListLimit([Genre],3),;,/,/ )/
    If([v_Critic_Rating,0],/ &lt;b&gt;|&lt;//b&gt; [v_Critic_Rating],)/ | /
    FormatDate([Date,0],[v_DATE_FORMAT])/ | /
    Ends at FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),[v_TIME_FORMAT])/
 If(IsEmpty(TVInfo(WatchedDisplay)),,/ | Watched TVInfo(WatchedDisplay))/
&lt;//font&gt;&lt;//b&gt;/

&lt;font size="15"&gt;&lt;br&gt;/ &lt;br&gt;&lt;//font&gt;/

[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_BODY] If(Compare(Length([v_DESCRIPTION]),&gt;,420),size="109",size="110")&gt;[v_DESCRIPTION]&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Cast&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT] alpha="70"&gt;&lt;hthumbs images="spotlight_list(TVShow//Cast//Person,Image,[v_NUM_ACTORS],1)" captions="ListMix([L1]\n/-[L2], 2, spotlight_list(TVShow//Cast//Person,Name,[v_NUM_ACTORS]), spotlight_list(TVShow//Cast//Person,Role,[v_NUM_ACTORS]))" [v_ACTOR_WIDTH] [v_ACTOR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">If([v_SHOW_REC_TITLE],&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Recommended&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT]&gt;&lt;hthumbs images="spotlight_list(TVShow//SimilarSeries//Series,Poster,[v_NUM_SIMILAR],1)"  [v_SIMILAR_WIDTH] [v_SIMILAR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">Series</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression">spotlight_value(TVShow//Overview)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name"/>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
</Fields>
</Template>
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #221 on: August 15, 2024, 01:09:10 pm »

Where can I get them from?
I don't know as I don't use MC for recording. Don't know if such information is saved at all by mc.

You can try look at the action window's tag panel using "All Fields" node. If channel name is saved to some field then I can add it to your template and also do the other stuff. If recording times are not saved then I can perhaps calculate start from some date field and end by adding duration to that.

E: ah no end time was required just the recording date with time
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #222 on: August 15, 2024, 01:44:44 pm »

Guessed that artist field have the channel information... if it is empty unknown channel is displayed. Date Imported is used for recording time.
Code: [Select]
<Template>
<Name>TV Show (tzr916)</Name>
<Search>[Media Sub Type]=[TV Show]</Search>
<Style>2</Style>
<Caption>If([AllSameSeries], &lt;font alpha="50"&gt;Delimit(TVInfo(SeasonEpisode))&lt;//font&gt;[Name]Delimit(Watched(2), , / ), TVInfo(NameDisplay)Delimit(Watched(2), , / )) &lt;font alpha="50"&gt;TVInfo(DateNoTime)&lt;//font&gt;</Caption>
<CaptionExpanded/>
<Fields>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">GENERAL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(TVInfo(SeasonEpisode) [Name],v_TITLE)/
Save(face="Segoe UI", v_MAIN_FONT)/
Save(face="Theater", v_THEATER_FONT)/
Save(ShortTime, v_TIME_FORMAT)/
Save(ShortDate, v_DATE_FORMAT)/
Save(width="30", v_STAR_WIDTH)/
Save(1, v_MAX_AUDIO_CODECS)/

Save(size="50", v_CAPTION_FONTSIZE)/
Save(9, v_NUM_ACTORS)/
Save(width="140", v_ACTOR_WIDTH)/
Save(spacing="3", v_ACTOR_SPACING)/
Save(9, v_NUM_SIMILAR)/
Save(width="140", v_SIMILAR_WIDTH)/
Save(spacing="3", v_SIMILAR_SPACING)/

Save(0, v_SHOW_DIRECTOR)/
Save(1, v_SHOW_REC_TITLE)/

Save(
IfElse(
    Or(Compare([Width],&gt;=,3840), Compare([Height],&gt;=,2160)),
        4K,
    Or(Compare([Width],&gt;=,1920), Compare([Height],&gt;=,1080)),
        1080p,
    Or(Compare([Width],&gt;=,1280), Compare([Height],&gt;=,720)),
        720p,
    And(Compare([Width],&gt;=,720), Compare([Height],&gt;=,576)),
        576p,
    Or(Compare([Width],&gt;=,720), Compare([Height],&gt;=,480)),
        480p
),v_VIDEO_DEF)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">COLOR VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">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)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">SMALL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="70", v_SSIZE_BODY)/
Save(size="80", v_SSIZE_DESCR)/
Save(height="45", v_SHEIGHT_RATINGS)/
Save(
    If(
        Compare(Length([Description]),&lt;=,400),
            [Description]/
                &lt;font alpha="0"&gt;/
                    Repeat(_,Math(Frac((400 - Length([Description])) // 4) * 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                &lt;//font&gt;,
            Left([Description],390)...),
v_SMALL_DESC)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">LARGE VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="If(Compare(Length([v_TITLE]),&gt;,49), 100, 120)", v_LSIZE_TITLE)/
  Save(size="70", v_LSIZE_INFOROW)/
  Save(size="90", v_LSIZE_HEADER)/
  Save(height="35", v_LHEIGHT_TECH_ICON)/
  Save(Repeat(/ ,3),v_LDELIM_ICON)/

  Save([Description],v_DESCRIPTION)/

  Save( [Critic Rating], v_CRITIC_RATING)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== SMALL ===</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE]/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">[description]
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Personnel</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] alpha="70" [v_SSIZE_BODY]&gt;/
    If([v_SHOW_DIRECTOR],/
        &lt;font [v_COLOR_HEADER2]&gt;/
            DIRECTOR:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat([Director],2)/    /
        &lt;//font&gt;,
    )/
    If([Actors,0],
        &lt;font [v_COLOR_HEADER2]&gt;/
            STARS:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat(ListLimit([Actors],6),2)/
        &lt;//font&gt;,
    )/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Icons</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">
[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">0</Item>
<Item Name="Name">  End Time</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_HEADER2] alpha="40"&gt;/
    Repeat(–,45)/
&lt;//font&gt;&lt;br&gt;/

Repeat(/ ,25)/
&lt;font [v_MAIN_FONT] [v_COLOR_TITLE] alpha="70" valign="Top"&gt;/
    ENDS AT FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),[v_TIME_FORMAT])/

If(IsEmpty(TVInfo(WatchedDisplay)),,&lt;br&gt;Repeat(/ ,25)/
    Watched TVInfo(WatchedDisplay))/

&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== LARGE ===</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE] If([Rating,0],/[ Repeat(&lt;img src="tooltip:Misc//star-2" [v_STAR_WIDTH] valign="middle"&gt;,[Rating]) /],)/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min/ | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
&lt;//font&gt;/

&lt;font size="15"&gt;&lt;br&gt;/ &lt;br&gt;&lt;//font&gt;/

[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_BODY]&gt;/
    [Description]/
&lt;//font&gt;
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Cast&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT] alpha="70"&gt;&lt;hthumbs images="spotlight_list(TVShow//Cast//Person,Image,[v_NUM_ACTORS],1)" captions="ListMix([L1]\n/-[L2], 2, spotlight_list(TVShow//Cast//Person,Name,[v_NUM_ACTORS]), spotlight_list(TVShow//Cast//Person,Role,[v_NUM_ACTORS]))" [v_ACTOR_WIDTH] [v_ACTOR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">If([v_SHOW_REC_TITLE],&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Recommended&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT]&gt;&lt;hthumbs images="spotlight_list(TVShow//SimilarSeries//Series,Poster,[v_NUM_SIMILAR],1)"  [v_SIMILAR_WIDTH] [v_SIMILAR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">Series</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression">spotlight_value(TVShow//Overview)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name"/>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
</Fields>
</Template>
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1366
Re: Custom Tooltips/TheaterView Screens
« Reply #223 on: August 15, 2024, 02:08:07 pm »

Guessed that artist field have the channel information... if it is empty unknown channel is displayed. Date Imported is used for recording time.

Looks nice... Many thanks you for your time  :)
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1366
Re: Custom Tooltips/TheaterView Screens
« Reply #224 on: August 17, 2024, 11:16:47 am »

Guessed that artist field have the channel information... if it is empty unknown channel is displayed. Date Imported is used for recording time.
Code: [Select]
<Template>
<Name>TV Show (tzr916)</Name>
<Search>[Media Sub Type]=[TV Show]</Search>
<Style>2</Style>
<Caption>If([AllSameSeries], &lt;font alpha="50"&gt;Delimit(TVInfo(SeasonEpisode))&lt;//font&gt;[Name]Delimit(Watched(2), , / ), TVInfo(NameDisplay)Delimit(Watched(2), , / )) &lt;font alpha="50"&gt;TVInfo(DateNoTime)&lt;//font&gt;</Caption>
<CaptionExpanded/>
<Fields>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">GENERAL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(TVInfo(SeasonEpisode) [Name],v_TITLE)/
Save(face="Segoe UI", v_MAIN_FONT)/
Save(face="Theater", v_THEATER_FONT)/
Save(ShortTime, v_TIME_FORMAT)/
Save(ShortDate, v_DATE_FORMAT)/
Save(width="30", v_STAR_WIDTH)/
Save(1, v_MAX_AUDIO_CODECS)/

Save(size="50", v_CAPTION_FONTSIZE)/
Save(9, v_NUM_ACTORS)/
Save(width="140", v_ACTOR_WIDTH)/
Save(spacing="3", v_ACTOR_SPACING)/
Save(9, v_NUM_SIMILAR)/
Save(width="140", v_SIMILAR_WIDTH)/
Save(spacing="3", v_SIMILAR_SPACING)/

Save(0, v_SHOW_DIRECTOR)/
Save(1, v_SHOW_REC_TITLE)/

Save(
IfElse(
    Or(Compare([Width],&gt;=,3840), Compare([Height],&gt;=,2160)),
        4K,
    Or(Compare([Width],&gt;=,1920), Compare([Height],&gt;=,1080)),
        1080p,
    Or(Compare([Width],&gt;=,1280), Compare([Height],&gt;=,720)),
        720p,
    And(Compare([Width],&gt;=,720), Compare([Height],&gt;=,576)),
        576p,
    Or(Compare([Width],&gt;=,720), Compare([Height],&gt;=,480)),
        480p
),v_VIDEO_DEF)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">COLOR VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">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)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">SMALL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="70", v_SSIZE_BODY)/
Save(size="80", v_SSIZE_DESCR)/
Save(height="45", v_SHEIGHT_RATINGS)/
Save(
    If(
        Compare(Length([Description]),&lt;=,400),
            [Description]/
                &lt;font alpha="0"&gt;/
                    Repeat(_,Math(Frac((400 - Length([Description])) // 4) * 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                &lt;//font&gt;,
            Left([Description],390)...),
v_SMALL_DESC)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">LARGE VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="If(Compare(Length([v_TITLE]),&gt;,49), 100, 120)", v_LSIZE_TITLE)/
  Save(size="70", v_LSIZE_INFOROW)/
  Save(size="90", v_LSIZE_HEADER)/
  Save(height="35", v_LHEIGHT_TECH_ICON)/
  Save(Repeat(/ ,3),v_LDELIM_ICON)/

  Save([Description],v_DESCRIPTION)/

  Save( [Critic Rating], v_CRITIC_RATING)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== SMALL ===</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE]/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">[description]
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Personnel</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] alpha="70" [v_SSIZE_BODY]&gt;/
    If([v_SHOW_DIRECTOR],/
        &lt;font [v_COLOR_HEADER2]&gt;/
            DIRECTOR:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat([Director],2)/    /
        &lt;//font&gt;,
    )/
    If([Actors,0],
        &lt;font [v_COLOR_HEADER2]&gt;/
            STARS:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat(ListLimit([Actors],6),2)/
        &lt;//font&gt;,
    )/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Icons</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">
[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">0</Item>
<Item Name="Name">  End Time</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_HEADER2] alpha="40"&gt;/
    Repeat(–,45)/
&lt;//font&gt;&lt;br&gt;/

Repeat(/ ,25)/
&lt;font [v_MAIN_FONT] [v_COLOR_TITLE] alpha="70" valign="Top"&gt;/
    ENDS AT FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),[v_TIME_FORMAT])/

If(IsEmpty(TVInfo(WatchedDisplay)),,&lt;br&gt;Repeat(/ ,25)/
    Watched TVInfo(WatchedDisplay))/

&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== LARGE ===</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE] If([Rating,0],/[ Repeat(&lt;img src="tooltip:Misc//star-2" [v_STAR_WIDTH] valign="middle"&gt;,[Rating]) /],)/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min/ | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
&lt;//font&gt;/

&lt;font size="15"&gt;&lt;br&gt;/ &lt;br&gt;&lt;//font&gt;/

[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_BODY]&gt;/
    [Description]/
&lt;//font&gt;
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Cast&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT] alpha="70"&gt;&lt;hthumbs images="spotlight_list(TVShow//Cast//Person,Image,[v_NUM_ACTORS],1)" captions="ListMix([L1]\n/-[L2], 2, spotlight_list(TVShow//Cast//Person,Name,[v_NUM_ACTORS]), spotlight_list(TVShow//Cast//Person,Role,[v_NUM_ACTORS]))" [v_ACTOR_WIDTH] [v_ACTOR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">If([v_SHOW_REC_TITLE],&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Recommended&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT]&gt;&lt;hthumbs images="spotlight_list(TVShow//SimilarSeries//Series,Poster,[v_NUM_SIMILAR],1)"  [v_SIMILAR_WIDTH] [v_SIMILAR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">Series</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression">spotlight_value(TVShow//Overview)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name"/>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
</Fields>
</Template>

Oh shoot, I missed one thing! I forgot that I still want to see "watched percent". Could you please add it back into the new template that you made for me?

Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2021
Re: Custom Tooltips/TheaterView Screens
« Reply #225 on: August 18, 2024, 02:17:38 am »

There you go  :)
Code: [Select]
<Template>
<Name>TV Show (tzr916)</Name>
<Search>[Media Sub Type]=[TV Show]</Search>
<Style>2</Style>
<Caption>If([AllSameSeries], &lt;font alpha="50"&gt;Delimit(TVInfo(SeasonEpisode))&lt;//font&gt;[Name]Delimit(Watched(2), , / ), TVInfo(NameDisplay)Delimit(Watched(2), , / )) &lt;font alpha="50"&gt;TVInfo(DateNoTime)&lt;//font&gt;</Caption>
<CaptionExpanded/>
<Fields>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">GENERAL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(TVInfo(SeasonEpisode) [Name],v_TITLE)/
Save(face="Segoe UI", v_MAIN_FONT)/
Save(face="Theater", v_THEATER_FONT)/
Save(ShortTime, v_TIME_FORMAT)/
Save(ShortDate, v_DATE_FORMAT)/
Save(width="30", v_STAR_WIDTH)/
Save(1, v_MAX_AUDIO_CODECS)/

Save(size="50", v_CAPTION_FONTSIZE)/
Save(9, v_NUM_ACTORS)/
Save(width="140", v_ACTOR_WIDTH)/
Save(spacing="3", v_ACTOR_SPACING)/
Save(9, v_NUM_SIMILAR)/
Save(width="140", v_SIMILAR_WIDTH)/
Save(spacing="3", v_SIMILAR_SPACING)/

Save(0, v_SHOW_DIRECTOR)/
Save(1, v_SHOW_REC_TITLE)/

Save(
IfElse(
    Or(Compare([Width],&gt;=,3840), Compare([Height],&gt;=,2160)),
        4K,
    Or(Compare([Width],&gt;=,1920), Compare([Height],&gt;=,1080)),
        1080p,
    Or(Compare([Width],&gt;=,1280), Compare([Height],&gt;=,720)),
        720p,
    And(Compare([Width],&gt;=,720), Compare([Height],&gt;=,576)),
        576p,
    Or(Compare([Width],&gt;=,720), Compare([Height],&gt;=,480)),
        480p
),v_VIDEO_DEF)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">COLOR VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">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)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">SMALL VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="70", v_SSIZE_BODY)/
Save(size="80", v_SSIZE_DESCR)/
Save(height="45", v_SHEIGHT_RATINGS)/
Save(
    If(
        Compare(Length([Description]),&lt;=,400),
            [Description]/
                &lt;font alpha="0"&gt;/
                    Repeat(_,Math(Frac((400 - Length([Description])) // 4) * 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                    Repeat(_,Math((400 - Length([Description])) // 4))/
                &lt;//font&gt;,
            Left([Description],390)...),
v_SMALL_DESC)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">LARGE VARIABLES</Item>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">Save(size="If(Compare(Length([v_TITLE]),&gt;,49), 100, 120)", v_LSIZE_TITLE)/
  Save(size="70", v_LSIZE_INFOROW)/
  Save(size="90", v_LSIZE_HEADER)/
  Save(height="35", v_LHEIGHT_TECH_ICON)/
  Save(Repeat(/ ,3),v_LDELIM_ICON)/

  Save([Description],v_DESCRIPTION)/

  Save( [Critic Rating], v_CRITIC_RATING)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== SMALL ===</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE]/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
If(IsEmpty(TVInfo(WatchedDisplay)),,/ | Watched TVInfo(WatchedDisplay))/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">[description]
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Personnel</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] alpha="70" [v_SSIZE_BODY]&gt;/
    If([v_SHOW_DIRECTOR],/
        &lt;font [v_COLOR_HEADER2]&gt;/
            DIRECTOR:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat([Director],2)/    /
        &lt;//font&gt;,
    )/
    If([Actors,0],
        &lt;font [v_COLOR_HEADER2]&gt;/
            STARS:  /
        &lt;//font&gt;/
        &lt;font [v_COLOR_BODY]&gt;/
            ListFormat(ListLimit([Actors],6),2)/
        &lt;//font&gt;,
    )/
&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Icons</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">
[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">0</Item>
<Item Name="Name">  End Time</Item>
<Item Name="ShowMode">2</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_HEADER2] alpha="40"&gt;/
    Repeat(–,45)/
&lt;//font&gt;&lt;br&gt;/

Repeat(/ ,25)/
&lt;font [v_MAIN_FONT] [v_COLOR_TITLE] alpha="70" valign="Top"&gt;/
    ENDS AT FormatDate(Math(Decimal(Now()) + (Decimal([Duration,0]) / 86400)),[v_TIME_FORMAT])/

If(IsEmpty(TVInfo(WatchedDisplay)),,&lt;br&gt;Repeat(/ ,25)/
    Watched TVInfo(WatchedDisplay))/

&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">=== LARGE ===</Item>
<Item Name="ShowMode">3</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Header</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] [v_LSIZE_TITLE] [v_COLOR_TITLE] valign="bottom"&gt;/
    [V_TITLE] If([Rating,0],/[ Repeat(&lt;img src="tooltip:Misc//star-2" [v_STAR_WIDTH] valign="middle"&gt;,[Rating]) /],)/
&lt;//font&gt;/

&lt;br&gt;/

&lt;font [v_THEATER_FONT] [v_COLOR_INFOROW] [v_LSIZE_INFOROW] valign="bottom"&gt;/
    If([Artist,0],[Artist],Unknown Channel)/ |/ /
    FormatNumber(Math(Decimal([Duration,0]) / 60)) min/ | /
    FormatDate([Date imported,0],ShortDate ShortTime)/
    If(IsEmpty(TVInfo(WatchedDisplay)),,/ | / Watched TVInfo(WatchedDisplay))/
&lt;//font&gt;/

&lt;font size="15"&gt;&lt;br&gt;/ &lt;br&gt;&lt;//font&gt;/

[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//[v_VIDEO_DEF]If([HDR Format,0],/-hdr,)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If(Find([HDR Format],Dolby),,[v_LDELIM_ICON]&lt;img src="tooltip:Video//Definition//Dolby Vision" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;)/

[v_LDELIM_ICON]&lt;img src="tooltip:Container//[File Type]" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;/

If([Aspect Ratio,0],[v_LDELIM_ICON]&lt;img src="tooltip:Video//AspectRatio//Replace([Aspect Ratio],/,,.)" RemoveRight([v_LHEIGHT_TECH_ICON],3)Math(Number([v_LHEIGHT_TECH_ICON]) + 2)" valign="middle"&gt;,)/

If([FPS],[v_LDELIM_ICON]&lt;img src="tooltip:Video//FPS//Replace([FPS],/,,.)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)/

If([Audio Codec,0],
    Save([v_LDELIM_ICON]&lt;img [v_LHEIGHT_TECH_ICON] valign="middle" src="tooltip:Audio//Codec, v_CodecPath)/
    Replace(ListMix([v_CodecPath]//[L1]"&gt;IfElse(IsEqual([L1],TrueHD Atmos),[v_CodecPath]//TrueHD"&gt;,IsEqual([L1],E-AC3 Atmos),[v_CodecPath]//E-AC3"&gt;),8,Clean(ListLimit(ListClean([Audio Codec],1),[v_MAX_AUDIO_CODECS]),3)),;,),
)/

If([Audio Channels,0],[v_LDELIM_ICON]&lt;img src="tooltip:Audio//Channels//ListItem([Audio Channels],0)" [v_LHEIGHT_TECH_ICON] valign="middle"&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Description</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_MAIN_FONT] [v_COLOR_BODY]&gt;/
    [Description]/
&lt;//font&gt;
</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Cast&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Cast List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT] alpha="70"&gt;&lt;hthumbs images="spotlight_list(TVShow//Cast//Person,Image,[v_NUM_ACTORS],1)" captions="ListMix([L1]\n/-[L2], 2, spotlight_list(TVShow//Cast//Person,Name,[v_NUM_ACTORS]), spotlight_list(TVShow//Cast//Person,Role,[v_NUM_ACTORS]))" [v_ACTOR_WIDTH] [v_ACTOR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended Title</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">If([v_SHOW_REC_TITLE],&lt;font [v_THEATER_FONT] size="75" alpha="50"&gt;Recommended&lt;//font&gt;&lt;font [v_THEATER_FONT] size="50" alpha="50"&gt;  /(TMDB/)&lt;//font&gt;,)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">  Recommended List - Spotlight</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">2</Item>
<Item Name="Expression">&lt;b&gt;&lt;font [v_CAPTION_FONTSIZE] [v_MAIN_FONT]&gt;&lt;hthumbs images="spotlight_list(TVShow//SimilarSeries//Series,Poster,[v_NUM_SIMILAR],1)"  [v_SIMILAR_WIDTH] [v_SIMILAR_SPACING] //&gt;&lt;//font&gt;&lt;//b&gt;</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name">Series</Item>
<Item Name="ShowMode">1</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression">spotlight_value(TVShow//Overview)</Item>
<Item Name="Expanded">1</Item>
</Field>
<Field>
<Item Name="HideWhenEmpty">1</Item>
<Item Name="Name"/>
<Item Name="ShowMode">0</Item>
<Item Name="Type">1</Item>
<Item Name="Style">0</Item>
<Item Name="Expression"/>
<Item Name="Expanded">1</Item>
</Field>
</Fields>
</Template>
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1366
Re: Custom Tooltips/TheaterView Screens
« Reply #226 on: August 18, 2024, 08:58:54 am »

Nice!
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2220
Re: Custom Tooltips/TheaterView Screens
« Reply #227 on: August 31, 2024, 12:48:44 pm »

Sliced album art image to three different images. Before this tightening change only two images tower was possible

Hi Lepa, Is there anyway to do this with the built in cover art? It seems it wouldn't be possible to split the cover art images sine they are embedded in the file. Is there any other way to have two rows of text justified next to a file's embedded cover art image? thx
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball
Pages: 1 2 3 4 [5]   Go Up