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 25406 times)

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #100 on: July 18, 2023, 06:02:45 am »

Now you see the image paths

Along the way I read the year but not the title of the film
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #101 on: July 18, 2023, 06:12:51 am »

Barely  ;D But i see the problem. Your original title is different than mine. what is your field name for original title I assume in ZRatings? If you could check from zratings the same things as attached pictures. You don't have to change it like I have but I need to know how these are set for you so we can write correct path in the confguration. So that original title field and then the path for actors.

@FenceMan
current test version shouldn't show the image as i changes the img property to amg so i can see what is tried  :P
You can either find and replace from test template "amg src" ==> "img src" or try this template which doesn't have any testing on. Your pictures looks like it should work if that replace is done. if not then i'm lost what's going on (attached also my current template with fixes and no testing modifications. I feel that this should work for you...)
Logged

FenceMan

  • World Citizen
  • ***
  • Posts: 143
Re: Custom Tooltips/TheaterView Screens
« Reply #102 on: July 18, 2023, 06:28:54 am »

Barely  ;D But i see the problem. Your original title is different than mine. what is your field name for original title I assume in ZRatings? If you could check from zratings the same things as attached pictures. You don't have to change it like I have but I need to know how these are set for you so we can write correct path in the confguration. So that original title field and then the path for actors.

@FenceMan
current test version shouldn't show the image as i changes the img property to amg so i can see what is tried  :P
You can either find and replace from test template "amg src" ==> "img src" or try this template which doesn't have any testing on. Your pictures looks like it should work if that replace is done. if not then i'm lost what's going on (attached also my current template with fixes and no testing modifications. I feel that this should work for you...)

Actors are just blank with this.  I'm sorry this isn't working and I really appreciate your efforts.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #103 on: July 18, 2023, 06:33:11 am »

Also I still have issues with alignment but other than that and the actors it looks great.
You do have (preferably) Hack or some other monotype font configured? zeros doesn't look Hack anyway. Courier e.g doesn't break lines but horizontal aligment will still be off with the headers.


EDIT:
If you could still as last test to replace Main Cast expression with this to show isMissing function result
Code: [Select]
If([v_SHOW_ACTOR_MODULE,0],

    Save(ListMix(If(IsMissing([v_ACTOR_IMAGE_PATH]ListItem([L1],0,=).png),missing: [v_ACTOR_IMAGE_PATH]ListItem([L1],0,=).png,Replace([v_ACTOR_IMAGE_PATH],//,////)ListItem([L1],0,=).png__ListItem([L1],0,=)__RemoveRight(ListItem([L1],1,=),1)),8, Replace(Replace(Replace(ListLimit(If([v_ACTOR_ALT_ROLES,0],[Actors (alt)],[Actors]),8),//,\),/ /(,_-),/ /[,=)), v_ActorImages)/
[v_ActorImages]

    <font face="Segoe UI" [v_LSIZE_HEADER] [v_COLOR_BODY_LARGE] alpha="50">MAIN CAST<//font><br>/

    Repeat(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1"><img src="tooltip:Misc//Separator//dot" valign="bottom" size="190x2">,ListCount([v_ActorImages]))<br>/
    Replace(ListMix(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1"><img src="tooltip:Misc//Separator//dot" size="2x280"><img src="ListItem([L1],0,__)" size="186x280"><img src="tooltip:Misc//Separator//dot" size="2x280">,8,[v_ActorImages]),;,)<br>/
    Repeat(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1"><img src="tooltip:Misc//Separator//dot" valign="top" size="190x2">,ListCount([v_ActorImages]))/

    If([v_SHOW_TEXT_ACTORS,0],
        <font [v_MONO_FONT] size="55" valign="top"><br>/
            Replace(ListMix(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1">ListItem([L1],1,__)Repeat(/ ,Math(20 - Length(ListItem([L1],1,__)))),8,[v_ActorImages]),;,)/
        <//font>,
    )/
    If([v_SHOW_TEXT_ROLES,0],
        <font [v_MONO_FONT] color="#9295af" size="55" valign="top"><br>/
            Repeat(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1">as                  ,ListCount([v_ActorImages]))/
            <br>/
            Save(ListMix(ListItem(ListItem([L1],2,__),0,_-),8,[v_ActorImages]), v_Roles)/
            Replace(Replace(ListMix(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1">If(Compare(Length([L1]),>,20),Mid([L1],0,Find(Left([L1],20),/ ,,-1))Repeat(/ ,Math(20 - Find(Left([L1],20),/ ,,-1))),[L1]Repeat(/ ,Math(20 - Length([L1])))),8,[v_Roles]),;,),\,//)/
            <br>/
            Replace(ListMix(<img src="tooltip:Misc//Separator//1x1-transparent" size="30x1">If(Compare(Length([L1]),>,20),If(Compare(Length(Mid([L1],Math(Find(Left([L1],20),/ ,,-1) + 1),-1)),>,20),Mid([L1],Math(Find(Left([L1],20),/ ,,-1) + 1),18)..,Mid([L1],Math(Find(Left([L1],20),/ ,,-1) + 1),-1))Repeat(/ ,Math(20 - Length(Mid([L1],Find(Left([L1],20),/ ,,-1),-1)) + 1)),Repeat(/ ,20)),8,[v_Roles]),;,)/
        <//font>,
    )/

,)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #104 on: July 18, 2023, 09:16:34 am »

Barely  ;D But i see the problem. Your original title is different than mine. what is your field name for original title I assume in ZRatings? If you could check from zratings the same things as attached pictures. You don't have to change it like I have but I need to know how these are set for you so we can write correct path in the confguration. So that original title field and then the path for actors.


Attached
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #105 on: July 18, 2023, 09:20:49 am »

How does "Save actor/crew thumbnails to this folder" value continue. You can copy paste it as text. And could you please also give one real life example actor with full path and filename. Also check that you do have values in the original title field in the MC
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #106 on: July 18, 2023, 09:33:08 am »

And could you please also give one real life example actor with full path and filename.
C:\Program Files\J River\Media Center 31\Data\Tooltip\Actors\Bohemian Rhapsody (2018)
Rami Malek [Freddie Mercury].png

How does "Save actor/crew thumbnails to this folder" value continue. You can copy paste it as text
C:\Program Files\J River\Media Center 31\Data\Tooltip\Actors\$originaltitle ($Year)

Attached the tag
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #107 on: July 18, 2023, 09:35:36 am »

all right so there is a role name also in the filename. hopefully that is the last missing piece  :D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #108 on: July 18, 2023, 11:17:05 am »

Having column in the filename seems to be harder than expected as listmix doesn't like too much of brackets and expressions will become more and more longer and complex because of that. I may have to draw line somewhere how many different naming conventions other than mine I can support
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #109 on: July 18, 2023, 12:01:13 pm »

Can you lello replace your main cast expression with this. If this doesn't give positive results I need to give up for now and go out and have fun in the summer  :D
Code: [Select]
Replace(Replace(ListLimit(If([v_ACTOR_ALT_ROLES,0],Replace([Actors (alt)],/ /[,=),[Actors (alt)]),8),//,\),/ /(,_-))

Save(C:\Program Files\J River\Media Center 31\Data\Tooltip\Actors\[Original Title] /([Year]/)\, V_ACTOR_IMAGE_PATH)/
Save(1, v_ACTOR_ALT_ROLES)/
Save(1, v_SHOW_ACTOR_MODULE)/
[v_ACTOR_IMAGE_PATH]/

If([v_SHOW_ACTOR_MODULE,0],

    If(IsEqual(Right([v_ACTOR_IMAGE_PATH],3),A-Z),
        Save(Left(ListItem([L1],0,=),1), v_SubFolder)/
        Save(RemoveRight([v_ACTOR_IMAGE_PATH],3), v_ACTOR_IMAGE_PATH),
    )/
   
    Save(ListMix(If(IsMissing(Replace([v_ACTOR_IMAGE_PATH],//,////)If([v_ACTOR_ALT_ROLES,0],ListItem([L1],0,=),Replace([L1],=,/ /[)).png),MISSING FILE: Replace([v_ACTOR_IMAGE_PATH],//,////)If([v_ACTOR_ALT_ROLES,0],ListItem([L1],0,=),Replace([L1],=,/ /[)).png,Replace([v_ACTOR_IMAGE_PATH],//,////)If([v_ACTOR_ALT_ROLES,0],ListItem([L1],0,=),Replace([L1],=,/ /[)).png__ListItem(Replace([L1],/ /[,=),0,=)__RemoveRight(ListItem([L1],1,=),1)),8, Replace(Replace(Replace(ListLimit(If([v_ACTOR_ALT_ROLES,0],[Actors (alt)],[Actors]),8),//,\),/ /(,_-),/ /[,=)), v_ActorImages)
,)
[v_ActorImages]

ListMix(<img src="ListItem([L1],0,__)" size="60x90">,8,[v_ActorImages])

Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #110 on: July 18, 2023, 12:11:48 pm »

Save(0, v_ACTOR_ALT_ROLES)/ for you. fixed earlier post. Äh wait a minute. it is still wrong for you...

E: Now it should be right. Like said this is becoming really complicated...
E2: it still might be wrong... later..
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #111 on: July 18, 2023, 12:21:20 pm »

Attached
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #112 on: July 18, 2023, 12:26:37 pm »

hmm.. that image filename looks actually right  :) Can you confirm that image name is also in disk that way? did it print any images in the bottom of main cast?
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #113 on: July 18, 2023, 01:04:20 pm »

No images in the bottom of main cast.

After your second change, the role no longer appears.
I am attaching a screenshot of the actors folder
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #114 on: July 18, 2023, 01:54:32 pm »

Yep, thanks again for tests. At least there wasn't "is missing" text in your debug pic so that gives me promise that it will work. I already tested it using exactly same folder and file structure that you got and got images showing. I'll clean this up and publish version with these fixes and then hope for the best (for you  ;D mine is working just fine  8) ) and take a summer break of this.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #115 on: July 18, 2023, 02:10:07 pm »

Even if it doesn't work, take a summer break because you deserve it  ;D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #116 on: July 18, 2023, 03:37:54 pm »

Thanks, one more new feature: DEBUG_ON. if configured on will show variable data on bottom of the view. lello edition soon to be published. Hopefully it works for you. at least i can get the pictures when using config like yours
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #117 on: July 18, 2023, 03:51:46 pm »

Here is it. Fingers crossed. Configured for you, lello. You'd better review the config though... debug is set on. set it to 0 in configuration to disable it.
Save(0, v_ACTOR_ALT_ROLES) now means that [actors] is in format "Actor name [role name]" AND file name for image is in that same format
Save(1, v_ACTOR_ALT_ROLES) means like my config is that [actors (alt)] is list of "Actor name [role name]" but filename is just actor name
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #118 on: July 18, 2023, 04:39:10 pm »

Ok thanks, I'll try tomorrow :)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #119 on: July 18, 2023, 04:45:35 pm »

could you post me the picture of your field Actors? I might well have created it wrong
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #120 on: July 18, 2023, 04:56:53 pm »

we have different systems there, I have tried to adjust to your habits in the script
My actors have only actor names not role names
My actors (alt) have both actor name and role name.

I think your actors is like my actors (alt).

Then there is that filename difference. I use only actor name and only save same actor once and not per movie as anyway there is no role images available so I think it is kind of waste to save same actor image several times (even like this i've got about 50 000 images).

There's no right or wrong but of course it would help if everyone had the same system. Anyway I have tried to make it so that both systems work
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #121 on: July 18, 2023, 05:08:30 pm »

Updated to v1.3.2 https://yabb.jriver.com/interact/index.php/topic,135179.msg946024.html#msg946024
Thank you for all testing help on your envs and hopefully something works. I'm off!
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #122 on: July 19, 2023, 03:19:00 am »

Tried this morning, and finally you see the photos of the actors!  ;D
Thank you lepa!

Now there are a couple of small issues, but we'll talk about them when you return from vacation. In the meantime, I'll try to fix it
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #123 on: July 29, 2023, 02:02:43 pm »

Nice!
Updated to v1.3.3. Mainly just showing more debugging data as pictures show to help problem solving. Also added some info on video details section.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #124 on: July 30, 2023, 04:37:30 am »

Welcome back lepa!

I just tried the new v1.3.3, and these are the results.

As for the vlello.edition, I wanted to point out that in some cases the subtitles are not shown, even though the field is regularly populated.

Also, is it possible to reduce the size of the actor photos and increase the description lines? 2 are a bit few.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #125 on: July 30, 2023, 06:30:17 am »

Please don't use lello edition anymore as there has been lot's of fixes after that but download the newest one (attached newest here with your path settings i hope lello.txt) and I can't keep up what version is tested.
 
There should be max 3 lines of description. I dont know how you get that font in the description there as I force to to segoe ui (should come windows by default). Maybe your template is some old version. Do you have the font? What is your base font for Theaterview (options-->theaterview-->select font)?

Is your screen 2160p? theaterview zoom set to 100%?

debug images shows you that your path to images isn't right in your the configuration. Also please expand the item in MC to show the whole debug data. image is now missing most of the data.

I edited and attached configuration here for you with your path settings (by memory so might not be correct)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #126 on: July 30, 2023, 11:37:45 am »

I'm using the new v1.3.3 and now there are 3 lines of description, but sometimes, like this movie, it's not enough: can it be increased?

Having a 21:9 format screen, I set a custom resolution of 3840x1640 but even going back to 2160p, nothing changes for me. By 100% zoom do you mean Theater view>appearance>size? I set it to 70 but returning it to 100 I only get a very large and annoying font.

Thanks for the configuration changes. I corrected the address for the photos, copying it exactly from the previous template, but the photos of the actors are not visible

I'm attaching some screenshots hoping I did the debug ones right
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #127 on: July 30, 2023, 12:42:25 pm »

Argh! I had hard coded path override copied from Zelda testing. That's why actor images are still tried from e: drive....

to show complete contents of the element (like the debug) you need to enter it by pressing right arrow

Your other issues are because of extra wide screen. In TheaterView my means to draw elements to desired coordinates are very limited (I think I have kind of already stretched the limits of the engine quite a bit). I have to predict every element position by the length/size of elements drawn earlier (upper) (e.g length of the description so that lower elements are in their expected space i.e. director & actors are visible when you enter the screen and also are not too high in the screen for aesthetics reasons). In practice that means that I'd need to test & try calculate every image and every text drawn for every resolution some might use. That would be very time consuming and as I don't have such monitor I can't even test and try it. Don't know if some kind multiplier could be implemented. Right now I'm not too keen to spend time on that as it is very very cumbersome to do with current tools

I have 16/9 3840x2160 TV so my calculations (element locations) are based on that (and 100% scaling) and it looks good on that resolution. I can understand that it won't look right on your extra wide screen.

Generic v1.3.4 released here to fix the actorimage path. lello adjusted paths attached here. So now images should again show up.

EDIT: It doesn't look too bad on 3840x1640 with 100% to me, would have to calculate and remove some empty row above the poster though.
EDIT2: Also do you have show more values at a time... (see pic) enabled in the theaterview options?
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #128 on: July 31, 2023, 04:19:53 am »

Very good!!  ;D

Now you can also see the subtitles.

The only 2 little problems are the photos of the actors that are too big (the resolution of the photos is very low and it is noticeable on a large screen), and the description field which, as I said, can sometimes be insufficient.

Thank you lepa
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #129 on: July 31, 2023, 05:20:52 am »

Now the debugging part really show nicely and troubleshooting should be much more easier though your problems are almost solved already  8)

The Good news:
  • As you use all image actors meaning that also names and roles are images I can easily make setup where the image size is adjustable when only image is used. When using font the positioning is too cumbersome to support different sizes.
  • You can also configure ZRatings to fetch bigger images. Mine is set to large so there is not much pixelation
  • You can alter description font size and cutoff size (I have set it to max 440 chars) as well than other font sizes inside SMALL and LARGE VARIABLES sections and in Description section. Beware though that positioning of director/actor text row could go off if you do. Happy tinkering  :D
Logged

jespermart

  • Recent member
  • *
  • Posts: 18
Re: Custom Tooltips/TheaterView Screens
« Reply #130 on: July 31, 2023, 08:33:39 am »

Now the debugging part really show nicely and troubleshooting should be much more easier though your problems are almost solved already  8)

The Good news:
  • As you use all image actors meaning that also names and roles are images I can easily make setup where the image size is adjustable when only image is used. When using font the positioning is too cumbersome to support different sizes.
  • You can also configure ZRatings to fetch bigger images. Mine is set to large so there is not much pixelation
  • You can alter description font size and cutoff size (I have set it to max 440 chars) as well than other font sizes inside SMALL and LARGE VARIABLES sections and in Description section. Beware though that positioning of director/actor text row could go off if you do. Happy tinkering  :D

Is it possible to make the template work in 1080p desktop resolution
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #131 on: July 31, 2023, 09:30:03 am »

I'm using 200% Windows OS scaling so it should be exactly the same than 1920x1080 100%

EDIT: Might do re-positioning with 150% or some other smaller scaling at some point as this 200% is actually done by accident. 150% currently shows more but it isn't too bad, only ratings could be re-centered, 175 shows images cut
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #132 on: August 09, 2023, 12:27:43 am »

Happy tinkering  :D

Yesterday I had time to try to make some modifications based on my needs, limited however by my lack of knowledge on the subject.

I was able to expand the description field with satisfaction and to reduce the photos of the actors. However, I didn't like the result of the photos because the frames around them are not perfectly aligned so I went back to the original setting.

So I wanted to create the link to the film series,
Code: [Select]
If(IsEqual([Media Sub Type], Movie),Movies at Series Replace(ListSort(ListLimit([Series],2)),;,/ /// ),)
and I liked the result only that when the Series field is empty, the link refers me to all the films: how can I modify the expression so that when the Series field is empty the link doesn't work or does a message with the title "no series" appear?

The Actors link in my case obviously doesn't work because the field also includes the role: is it possible to change it so that it only reads the name of the actor?

Thank you lepa
Logged

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 826
Re: Custom Tooltips/TheaterView Screens
« Reply #133 on: August 10, 2023, 12:27:26 pm »

QQ before I jump down the rabbit hole and spend what I expect is a lot of time (anyone have time to donate?):

Is the initial post updated with various edits/tweaks in this thread such that I don't need to apply changes after the initial installation/customization?

Or do I have to install the various bits from the first post, then pour through multiple pages applying various fixes, etc?

thanks!
Logged

DigiBert

  • Recent member
  • *
  • Posts: 6
Re: Custom Tooltips/TheaterView Screens
« Reply #134 on: August 15, 2023, 04:42:51 am »

@lepa can you share the code to display the video details?
Love that presentation.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #135 on: August 15, 2023, 05:56:18 am »

Everything is shared. Start navigating from first post  :)
Logged

DigiBert

  • Recent member
  • *
  • Posts: 6
Re: Custom Tooltips/TheaterView Screens
« Reply #136 on: August 15, 2023, 04:14:07 pm »

Everything is shared. Start navigating from first post  :)

Sorry, great explanation. I got your theme up, looks great. Thanks for the detailed explanations.

It was @lello's nice theme that brings even more details in the video, audio, sub titles.
Is it possible to share that code too (with detail on the special fields).

My collection is focused on Music Blu-Rays / DVD's (ISO's most of the time because I want to keep the menus).
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #137 on: August 16, 2023, 01:12:15 am »

I don't think it's nice to offend lepa considering the excellent work he's doing for us, among other things for free.

And then he's right, you have to start reading the post from the beginning to understand how everything works: there's the template, it says how to create the fields and the software you need. Then you can ask specific questions

If I was able to do it as a retired employee, I think anyone can do it

Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #138 on: August 16, 2023, 10:41:45 am »

I don't see anything offending so all good  :)

@DigiBert
I believe everything shared in this thread comes probably from me. (Would welcome also others to share their stuff here!) So if something is not showing like in my pictures then something is different in your setup than mine. There are base rules for resolutions and scaling.

@lello
As I have more or less parameterized every element size now on my local template I could try to slowly create sizes more suitable for that wide view (no promises though). For that I would need precise settings for resolution and Windows OS scaling. I believe your used resolution was 3840x1640. Are you using 100% Windows OS scaling or what?

I'm aiming to use only 100% MC scaling as MC's scaling doesn't scale custom images at all so text and images will be out of sync if MC scale is changed

Upcoming changes:
 - parameterized every drawn element size so they can be changed from one place
 - updated cast images (not published yet) to only show images without borders if font based names are not used. So the image sizing is easier for those kind of actor images
 - new standard sized critic rating text and video details audio codec images to make aligning easier
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #139 on: August 16, 2023, 11:37:32 am »

I don't see anything offending so all good  :)


I apologize to DigiBert if I interpreted his tone as ironic (we Italians use ironic tones a lot ;D); obviously I was wrong.

The scaling in the Windows display settings, I set it to 225 because leaving it at 100% the characters are really very small.

I tried 200% and the MC situation improves but I'm starting to have a slight difficulty reading the characters.

P.S. I use the custom resolution 3840x1640

Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #140 on: August 16, 2023, 12:31:46 pm »

The scaling in the Windows display settings, I set it to 225 because leaving it at 100% the characters are really very small.

I tried 200% and the MC situation improves but I'm starting to have a slight difficulty reading the characters.

P.S. I use the custom resolution 3840x1640
Ok, that much scaling explains why everything is so large in your theaterview as there is quite small amount of vertical place. I need to think if I can figure out doing some template scaling logic to enlatge/shrinken some parts at one go and without breaking the theme look. I'll experiment with 3840x1640, OS 225%, MC 100% when i got some free time

EDIT: templates internal scaling value of 0.8 got me something like this for small screen 3840x1640 OS 225% MC 100%. Is this font still readable for you? Some compromises needed to make e.g. ending time is only shown in that inforow. Alos description char counter needs some work. In the Big screen the font can be bigger of course but adjusting sizes there is gonna be much bigger task than this
Logged

Drybonz

  • World Citizen
  • ***
  • Posts: 101
Re: Custom Tooltips/TheaterView Screens
« Reply #141 on: August 16, 2023, 02:06:21 pm »

The title mentions tooltips, but most of the screenshots I'm looking at look like they are for TheatreView.  I'd really like to get the Tvdb/Imdb/RT ratings on the tooltips in standard view.  Has anyone done one like this?  (The coding stuff to make these is mostly beyond me).  Thanks for the help.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #142 on: August 16, 2023, 02:25:45 pm »

Older thread have some tooltipping also (see first post for link). Anyone hasn't posted here about those yet. Mine is currently something like this but haven't done anything there for ages as it is quite useless info for me.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 561
Re: Custom Tooltips/TheaterView Screens
« Reply #143 on: August 17, 2023, 12:28:04 am »

Is this font still readable for you?

On my screen it reads perfectly
Logged

DigiBert

  • Recent member
  • *
  • Posts: 6
Re: Custom Tooltips/TheaterView Screens
« Reply #144 on: August 17, 2023, 06:58:07 am »

I apologize to DigiBert if I interpreted his tone as ironic (we Italians use ironic tones a lot ;D); obviously I was wrong.


No problem, you made me look again at the code and explanations. I did not see the video details in @lepa's code, it showed in your example.

I've got this activated now ;-)

The code does not see the difference in 1080i and 1080p so I make this editable for now and change it in 1080i where needed.

Still some little bugs in my version, will look into that furthe before questions.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #145 on: August 17, 2023, 08:03:38 am »

Still some little bugs in my version, will look into that furthe before questions.
This thing comes with tail light guarantee  ;D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Custom Tooltips/TheaterView Screens
« Reply #146 on: August 17, 2023, 11:22:56 am »

First part of the large screen with internal scaling factor for 3840x1640-225%-100%. I'm done for today.
Logged

altahometheatre

  • Recent member
  • *
  • Posts: 29
Re: Custom Tooltips/TheaterView Screens
« Reply #147 on: August 21, 2023, 06:18:00 pm »

I would like to send my thanks to all those who have contributed to this thread.  In particular to lepa, moe, and zybex.  Much of the work you have done should be incorporated directly into next version of MC.  The zratings app is amazing.  Thank you.

While I was never able to get the "No Poster" template to work properly for me, I did steal almost entirely from it to make my own template.  It is simplified (no actor pictures) but a huge improvement over the default.

To anyone new that is thinking about trying this I spent about a day to get it working.  Most of the time was reading through all the posts (both threads).  I would suggest following the steps in the first thread.  That will get your setup correct with all required Db fields and icons.  It helped me get comfortable with steps required as I had no idea of these capabilities.  My next step was to make a copy of the MC default Movie template.  From the copy I started modifying each section by taking bits from the templates posted by lepa.

Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Custom Tooltips/TheaterView Screens
« Reply #148 on: December 02, 2023, 08:39:47 am »

Greatday all of you,
Hoping someone could have a look at the following code.
Thisone was shared years ago with me, sorry can't remember the kind person who assisted me at the time  8)

The code is ment to display all alternative albums by the selected artist (Theater View).
I've been struggling with this code forever; for many artists one single album isn't lined up even the cover art is within the accessed folder.

I'm 100% sure it's my bad and I'm doing something wrong witch creates a conflict in order to keep one album cover missed each time calling the feature.

Thanks in advance for any hint or clue to look at :-)

Code: [Select]
<font size="80" color="#9496a3">if(isequal(ListCount(RemoveLeft(Load(vAlbumsByArtist[Album Artist (auto)]),Math(Find(Load(vAlbumsByArtist[Album Artist (auto)]),;)+2))),1),,Math((ListCount(RemoveLeft(Load(vAlbumsByArtist[Album Artist (auto)]),Math(Find(Load(vAlbumsByArtist[Album Artist (auto)]),;)+2))))-1)) if(isequal(ListCount(RemoveLeft(Load(vAlbumsByArtist[Album Artist (auto)]),Math(Find(Load(vAlbumsByArtist[Album Artist (auto)]),;)+2))),1),,if(isequal(ListCount(RemoveLeft(Load(vAlbumsByArtist[Album Artist (auto)]),Math(Find(Load(vAlbumsByArtist[Album Artist (auto)]),;)+2))),2),other album by [Album Artist (auto)]:,other albums by [Album Artist (auto)]:))
<img src="C:\JRiver Cover Art\Albums\[Album Artist (auto)] - Replace(Clean(ListClean(Replace(RemoveLeft(Load(vAlbumsByArtist[Album Artist (auto)]);,Math(Find(Load(vAlbumsByArtist[Album Artist (auto)]),;)+2));,[Album];,),1),3),;,.jpg" width="45" height="45">/ <img src="C:\JRiver Cover Art\Albums\[Album Artist (auto)] -/ ).jpg" width="45" height="45"><//font>
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Custom Tooltips/TheaterView Screens
« Reply #149 on: December 04, 2023, 09:52:43 am »

Here's the original post and discussion, maybe Lepa wants to tackle it again :)
https://yabb.jriver.com/interact/index.php/topic,124820.msg866640.html#msg866640

Doesn't Spotlight provide most of the info you want here?

... or try something like this (assuming the other parts of the code provided by Lepa are in place):
Code: [Select]
save(listsort(listclean(listclean(listclean(replace(;Load(vAlbumsByArtist[Album Artist (auto)]);, [Album];,,1), 1), 3), 4)), _albums)/
<font size="80" color="#9496a3">ifcase(ListCount([_albums]), 6, 2, ListCount([_albums]) other albums by, 1, 1 other album by, 0, No other albums by) [Album Artist (auto)]/
if([_albums], :
replace(listmix(/#<img src="C:\JRiver Cover Art\Albums\[Album Artist (auto)] - [L1].jpg" width="45" height="45">#/, 0, [_albums]),;,/ ),)<//font>
Logged
Pages: 1 2 [3] 4 5   Go Up