INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 11 12 13 14 [15] 16 17 18   Go Down

Author Topic: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos  (Read 143651 times)

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #700 on: December 02, 2020, 06:06:49 pm »

Don't look for the pictures. Look for the name of the font. Browse to the folder in windows explorer, or look at a directory listing from a command prompt.

If you successfully installed it, it's there.  Look harder.
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #701 on: December 02, 2020, 06:29:27 pm »

Yes, I figured I was thinking of it wrongly, as I was indeed looking for the pictures. I just found it: it was under the file name of the ttf. Duh! I guess I was thinking the individual fonts/pics would be parsed out. Don't know why I thought that (well, maybe because of the "install" part), but I did.

Thanks again!
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #702 on: December 03, 2020, 06:15:36 am »

IMHO you should forget about using logo-font and use images instead. It is so much easier to read the expressions when you can actually see from filename what it is supposed to do. Font can be convenient and maybe faster(?) but most of the it is just easier to use images. Also it is easier to experiment with images

If(!IsEmpty([TMDb Rating]),<img src="tooltip:tmdb-logo"> [TMDb Rating],)
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #703 on: December 03, 2020, 07:25:08 am »

lepa, would you mind parsing this bit of the expression, or pointing me to where on the wiki or Interact it resides?

<img src="tooltip.tmdb-logo">

I saw this in some of the expressions in this thread but couldn't seem to find anything about <img src=> on the html part of the Expression wiki. Is this a pointer for some folder where the images are stored?

Thanks for any help on this!
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #704 on: December 03, 2020, 07:49:44 am »

src means "source" i'd guess. So <img src="filepath"> tell where image to be displayed is found. It can be absolute file location or you can use prefix "tooltip:" which is alias for MC's installation's subfolder "Data\Tooltip". if one is using "tooltip:" prefix then you don't need use filetype for png files

<img src="tooltip:TMDb logo">
aka e.g
<img src="c:\Program Files\Media Center 27\Data\Tooltip\TMDb logo.png">

You can also create subfoldes under Tooltip folder so:
<img src="tooltip:Logos\TMDb logo">
aka e.g.
<img src="c:\Program Files\Media Center 27\Data\Tooltip\Logos\TMDb logo.png">

other properties for img are at least
valign="bottom", "middle" or "top"
height=""
width=""

Also: MC caches images for better performance so if you replace image on disk which has been already used by MC (cached) you need to restart MC so the cache will be refreshed and image changes to new one
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #705 on: December 03, 2020, 07:56:55 am »

Got it. Thanks so much!
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #706 on: December 03, 2020, 07:58:18 am »

Actually, one last question: is there a good site where you all get most of these images or do you just go to IMDb, say, if you want that logo?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #707 on: December 03, 2020, 08:00:47 am »

Actually, one last question: is there a good site where you all get most of these images or do you just go to IMDb, say, if you want that logo?
I can zip some of my general logos etc. when I got better time. Generally have just been doing search on internet. Also reminder that these are logos mainly so image size doesn't need to be big (performance issues)
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #708 on: December 03, 2020, 08:12:17 am »

Yes, that would be great. Thanks!
Logged

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #709 on: December 04, 2020, 10:52:21 pm »

Thanks so much, lepa! Really appreciate it!
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #710 on: December 05, 2020, 03:09:28 am »

Hi all,
Here are some more icons that I have created and collected.
They are all in this thread but I repost them for convenience.

Have a great weekend.

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

timwtheov

  • Galactic Citizen
  • ****
  • Posts: 354
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #711 on: December 05, 2020, 02:49:45 pm »

Thanks for these, too, arcspin!
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #712 on: December 12, 2020, 10:56:03 am »

I'm trying to get an expression to display the words STAR RATING and then a MC.png and the actual star ratings if there is a rating > 0

This is what I put together and I can't get it working.  The output keeps displaying the image even if there are no stars - any help would be appreciated

If([Rating]>0,Song Rating <img src="F:\JRiver Data\Images\AV\MC.png" height="35"><font color="#f69838">RatingStars(),)

Thanks
Matt
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #713 on: December 12, 2020, 12:30:35 pm »

Because [Rating]>0 isn't valid comparison syntax in the MC Expression Language.

You need to use Math(), IsEqual(), or Compare().   Look them up.
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #714 on: December 13, 2020, 01:16:09 pm »

Because [Rating]>0 isn't valid comparison syntax in the MC Expression Language.

You need to use Math(), IsEqual(), or Compare().   Look them up.

Thanks I used IsEqual and got it work.  For others that may be interested:

if(isequal([rating],1, 6),<font Color="284C2B">  |  Song Rating  <//b> <img src="F:\JRiver Data\Images\AV\MC.png" height="35"><//font>  <font color="#f69838"> RatingStars(),)<//font>

Thanks
!
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #715 on: December 17, 2020, 11:24:00 am »

I'm having another challenge in theater view trying to have those albums that are AMG Album Picks displayed when I pick an artist. The first image shows the expression that I created in the Theater under Audio and Albums.

 I can get it all to work (2nd upload)  but only when I pick an AMG Album Pick, it displays additional characters up on the screen when it opens up the album (third image).  Albums that are not AMG Album selections work just fine once I select the album.

I've been working on it for a couple of hours and had to call "uncle" as I'm a dangerous coder and not sure of exactly why this is happening .
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #716 on: December 17, 2020, 02:37:39 pm »

So you want show all the album for artist in question and mark some of them as amg album pick?

If so then enter to group by text box: [Album]

So MC will group albums. Now that you have your grouping sorted, use the lower box to set how you want to display your grouped items
That is where you use that expression which will show amg image

Created a little example like in images:
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #717 on: December 17, 2020, 03:11:42 pm »

I tried what you recommend and it did the same thing.  The only thing that I thought might be different as the path "F:\JRiver Data\Images\AV"

So, I copied the amg album pick file to the tooltip directory and removed the .png in the expression and it worked.  Not sure why....  Maybe a bug or a feature??

If(!IsEmpty([AMG Album Pick, 1]),  •  <img src="F:\JRiver Data\Images\AV\AMG_Album_Pick.png" height="18">, )

Thanks so much for your help Lepa.  Seeing your Theater View audio gave me some additional thoughts.  Would you mind sharing yours so that I can get a feel for what changes I might make.   Thanks again!
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #718 on: December 18, 2020, 12:19:18 am »

@lello
This is what I'm using currently for my large screen (L: Director + Actors + Writer ) and should work on windows & linux. Adjust height="150" to lower / higher for smalller / taller images.
Code: [Select]
Save(tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////, v_ActorImagePath)/
<font size="80" color="696b75"><b>STARRING:<//b><br><//font>/
If(Compare([Cast Images],=,1),
Replace(ListMix(<img src="tooltip:tools-separator-60x352" height="150"><img src="[v_ActorImagePath][L1]" height="150">, 1, [Actors],1;2;3;4;5;6),;,/  )<br>,/
<i>Replace(ListLimit([Actors],10),;,/,/ )<//i><br>)/
If(!IsEmpty([Director]),<br><font size="80" color="696b75"><b>DIRECTOR:<//b><//font>/  <font size="80" color="ffffff"><i>[Director]<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font size="80" color="696b75"><br><b>WRITER:  <//b><//font><font size="80" color="ffffff"><i>Replace([Screenwriter],;,/,)<//i><//font>,)
It's basically the same as before but a bit more easier to maintenance

I wanted to update to v43, and once again the photos of the actors disappeared: I went back to v27 :(
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #719 on: December 18, 2020, 03:37:31 am »

ListMix function was changed somewhere between those build as I said earlier here. Don't have time to look at it now but you could try to change ListMix to ListMix2
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #720 on: December 18, 2020, 06:27:16 am »

It looks that is the Theater view of Movies.  Could you share the Theater View for Audio?  I think I got my Theater View for Movies pretty well complete.

It appears to me that you're using mostly expressions for your audio view and not fields specifically.  I'm guessing you're following close to the same format as your earlier Movie theater view with S: & L: fields that contain expressions for each section of the "build" is that correct?

Thanks for all of your help!
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #721 on: December 19, 2020, 07:44:22 am »

edit....
Logged

struct

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #722 on: January 02, 2021, 05:32:45 pm »

Hi all,
Here are some more icons that I have created and collected.
They are all in this thread but I repost them for convenience.

Have a great weekend.

Hi,

Thanks for collating these images.  I have also borrowed the images from https://moesrealm.com/MC/mc-images/

I can't find the "container-xxx.png" files that are referenced in Lepa's templates.  I assume these are the .mkv, .mp4 types.

Does anyone have a copy?

Thanks
Craig
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #723 on: January 03, 2021, 11:09:36 am »

I found them and have them attached for you.  Good Luck on your project 
Logged

struct

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #724 on: January 04, 2021, 01:30:37 am »

cheers!!
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #725 on: March 04, 2021, 09:32:31 am »

Question - is there a way to have Tooltips adjust the background color and main font color to reflect the skin that you are using?

Many times I like to use a "white bright" with black lettering and then other times I would like a dark skin with white lettering.

Thanks
Matt
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #726 on: March 06, 2021, 04:34:35 am »

You could make global variable at the start of the tooltip which where you'd save color. Then use that variable in your tooltip to set color for fonts. Still manual switch but you only need to change color in one place.
Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 159
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #727 on: March 06, 2021, 06:51:42 am »

You could make global variable at the start of the tooltip which where you'd save color. Then use that variable in your tooltip to set color for fonts. Still manual switch but you only need to change color in one place.

OK, that makes sense but still it still would be a manual process (a quick edit of the Tooltip Audio file - which I've done a million times)? Would be nice is there were a global variable for the color of the skin text fonts and then the color of the background  and we could incoporate that into the script.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #728 on: April 15, 2021, 03:22:30 am »

[AR-Calculated]: A can of worms. Calculated from MC's Aspect Ratio field. Return empty if not set so you discover where manual input is needed. Not always accurate infromation.
Code: (AR-Calculated) [Select]
Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)


Excuse me lepa, is it possible to obtain the real aspect ratio in this field?
I'll explain. If I insert a Blu Ray with the classic black bands, in the aspect-ratio tag it appears 16: 9 and in calcualated aspect ratio 1:78 but in reality it is a 2:35.
Considering that I need that tag to activate a zone, how can I change it automatically without having to manually intervene every time?
Thank you
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10969
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #729 on: April 15, 2021, 02:35:05 pm »

Excuse me lepa, is it possible to obtain the real aspect ratio in this field?
I'll explain. If I insert a Blu Ray with the classic black bands, in the aspect-ratio tag it appears 16: 9 and in calcualated aspect ratio 1:78 but in reality it is a 2:35.
Considering that I need that tag to activate a zone, how can I change it automatically without having to manually intervene every time?

You cannot. Blu-rays are always 16:9, the standard mandates it, thus they have black bars to make it 16:9 if needed. You would have to actually analyze the image to try to detect the black bars, but thats at least not something MC can do.
Of course you could manually change the tag to match the correct image aspect ratio.
Logged
~ nevcairiel
~ Author of LAV Filters

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #730 on: April 15, 2021, 05:20:18 pm »

Excuse me lepa, is it possible to obtain the real aspect ratio in this field?
I'll explain. If I insert a Blu Ray with the classic black bands, in the aspect-ratio tag it appears 16: 9 and in calcualated aspect ratio 1:78 but in reality it is a 2:35.
Considering that I need that tag to activate a zone, how can I change it automatically without having to manually intervene every time?
Thank you
You could try to convince jmone to add ffmpeg cropdetection to SoT which could then write detected aspect ratio to the tag and which can then be cleaned to nearest standard aspect ratio value by using calculated field.

E: or convince Hendrik to add such thing to MC itself   ;)
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #731 on: May 12, 2021, 01:12:19 pm »

cannot post images here anymore. Is this thread full?  8)

"Your attachment has failed security checks and cannot be uploaded. Please consult the forum administrator."
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #732 on: May 12, 2021, 01:40:07 pm »

JMone has been trying to add CropDetect but it has some challenges. Discussion on SoT thread:
https://yabb.jriver.com/interact/index.php/topic,106802.msg896651.html#msg896651
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #733 on: May 15, 2021, 08:33:15 am »

Created new WIP screen inspired by new imdb look. Two lower pics from current View with two pages of information
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #734 on: May 17, 2021, 03:00:24 am »

These look great Lepa :)
Can you please share the code, or is it spread over too many fields?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #735 on: May 17, 2021, 08:35:13 am »

Special fields (or stock populated outside MC) used:

ACTOR IMAGES
[Original Title] # Stock # Populated by MCUtils / ZRatings
[Cast Images] # User # Manual 1/0. Uses different folder to get images when set to 1 (0 default tmdb images, 1 character images are available)

GENERAL
[MPAA Rating] # Stock # Populated by MCUtils / ZRatings

[IMDb Votes] # User # Populated by ZRatings
[Popularity] # User # Populated by MCUtils / ZRatings

[Rotten Tomatoes] # User # Populated by MCUtils / ZRatings
[IMDB Rating] # User # Populated by MCUtils / ZRatings
[TMDB Rating] # User # Populated by MCUtils / ZRatings
[Version] User # String e.g. "Director's Cut"
[Genre] # User # Populated by MCUtils / ZRatings
[Country] # Stock # Populated by MCUtils / ZRatings
[Watched] # User # Calculated
Code: [Select]
If(IsRange([Bookmark Percent], 0-9)/
    ,If(Compare([Number Plays],>,0),☑,)/
    ,If(IsRange([Bookmark Percent], 10-89),[Bookmark Percent]%,☑)/
)

[Description] # Stock # Populated by MCUtils / ZRatings
[Director] # Stock # Populated by MCUtils / ZRatings
[Screenwriter] # Stock # Populated by MCUtils / ZRatings
[Actors] # Stock # Populated by MCUtils / ZRatings

TECH
[HDR Format RAW] # User # Populated by SoT

[HDR Format] # User # Calculated
Code: [Select]
ListClean(If(IsEqual([HDR Format RAW],no-hdr10),HDR,If(IsEqual([HDR Format RAW], Dolby Vision,8),DV;,)If(IsEqual([HDR Format RAW], HDR10+/ ,7),HDR10+;,)If(IsEqual([HDR Format RAW], HDR10/ ,7),HDR10;,)If(IsEqual([HDR Format RAW],no-hdr10,8),HDR;,)If(IsEqual([HDR Format RAW],hdr10,7),HDR10,)),3)
[Dolby Vision] # User # Calculated
Code: [Select]
ListContains([HDR Format],DV)
[AR-Calculated # User # Calculated
Code: [Select]
Save(Math(Trunc(Replace([Aspect Ratio],:, // ) + .005, 2)), v_AspectRatio)/
IfCase([v_AspectRatio], 3, 1, empty, 1.38, 1.33, 1.68, 1.66, 1.80, 1.78, 1.87, 1.85, 2.36, 2.35, 2.40, 2.39)
[Audio Tracks RAW] # User # Populated by SoT

[HD Audio] # User # Calculated
Code: [Select]
If(IsEqual([Audio Tracks RAW],MLP,8),Atmos,)If(IsEqual([Audio Tracks RAW],DTS XLL X,8),DTS:X,)
[Studios] # Stock # Populated by MCUtils / ZRatings
[Publisher] # Stock # Populated by MCUtils / ZRatings

[Audio Codec] # User # Calculated
Code: [Select]
IfCase([Compression],8,dts-hd,dts-hd,eac3,dolby digital,pcm,pcm,mp3,mp3,vorbis,vorbis,aac,aac,dts,dts,ac3,dolby digital,truehd,truehd,opus,opus,flac,flac,mp2,mpeg)
[Definition] # User # Calculated
Code: [Select]
IfElse(Compare([Width],>,1920),4K,Compare([Width],>,1360),1080p,Or(Compare([Width],>,1024),Compare([Height],>,576)),720p,Compare(Left([FPS],2),=,25),576p,1,480p)
[HDR] # User # Calculated
Code: [Select]
If(!IsEmpty([HDR Format]),1,0)
LINKS
[Movie Series] # User # Populated by MCUtils / ZRatings

[LINK_Genre_Movie]
Code: [Select]
If(IsEqual([Media Sub Type], Movie),Movies at Genre Replace(ListSort(ListLimit([Genre],2)),;,/ /// ),)
[LINK_Director]
Code: [Select]
If(IsEqual([Media Sub Type], Movie),Directed By ListItem([Director],0),)
[LINK_IMDb_Rating]
Code: [Select]
Movies Rated Math(Int([IMDb Rating])) in IMDb
[LINK_Year_Movie]
Code: [Select]
If(IsEqual([Media Sub Type],Movie),Movies Released in FormatDate([Date,0],year),)
Don't know if i missed or forgot something as this is manual work to share

E: SOT conf:

Code: [Select]
Audio Track Count RAW;Audio Language;Audio Tracks RAW;Extras;Subtitles;Video Codec;HDR Format RAW;Aspect Ratio
Code: [Select]
ID;Language;Format;Title;Language;Format;HDR format;Display aspect ratio
Code: [Select]
Audio;Audio;Audio;Audio;Text;Video;Video;Video
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #736 on: May 17, 2021, 09:28:53 am »

Thanks - that's a bit more work than applying a theme, but the results speak for themselves.
I was curious on how you got 2 lines of text next to a picture - now I see you just split the image in 2 (upper/lower halfs)! Good solution :)

I'm not sure if MC uses a browser control and just converts the output to HTML (like Zelda), or if it uses a custom rendering control... if it is HTML, it would be awesome if Matt added a tag to just output raw HTML, like:
   <html>/#raw html code, but still resolving [fields] and functions()#/<//html>  - this way we could use Div/Span/Table, etc  ;D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #737 on: May 17, 2021, 09:57:38 am »

Yes, I think that Hendrik had worries that rendering would be too slow if they utilized more html in theater view screens.

Actually if one ditches TECH ICONS and LINKS then rest of the WIP screen is mostly MC/ZRatings "stock" fields so that one doesn't need any other user customization to be usable. Also if one doesn't have those Tech Icons fields or images then it is just going to be empty row but shouldn't break anything visually.

All the images need to be extracted to tooltip folder keeping the folder structure
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10969
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #738 on: May 17, 2021, 05:45:00 pm »

There is no browser involved with Theater View rendering, its all custom formatting. Browsers are way too slow for such a purpose. No HTML for you, unfortunately.
Logged
~ nevcairiel
~ Author of LAV Filters

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #739 on: May 24, 2021, 12:57:10 pm »

I added this WIP template and downloaded the various folders in tooltip, but I am missing several things than before. First of all the images of the actors, although the Actors folder is still in its place, but then also the various logos aspecgt ratio, studios, definition and also watched / no watched: maybe I have to change something in the template to make sure that the folder is pointed right?

Furthermore, there is no longer the value of the TMDB evaluation: the logo appears, but the vote does not.

There are others.

Thanks for your help

P.S. what are the "stock" fields
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #740 on: May 24, 2021, 01:24:33 pm »

Stock field means field that comes with MC and is not user created

To debug what is wrong with images you should install zybex's Zelda tool. It will show you raw text output where you can see where does MC try to load e.g actor images. I can help then when I see more clearly what is your situation. Probably you'll need to change value for [v_ActorImageFilePath] which is set under "PATH VARIABLES" in the "File Info Panel"

Save(src="tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////[L1]", v_ActorImageFilePath)Save(src="D://////audio//////Album Covers//////Actors//////[L1].png", v_ActorImageFilePath2)

I don't know your actor folder or file naming so can't comment how it should be set for you
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #741 on: May 25, 2021, 07:04:19 am »

Currently the photos of the actors are in C: \ Program Files \ J River \ Media Center 27 \ Data \ Tooltip \ Actors and with the previous template everything works.

I tried, after having changed in info panel D: with C: to put the photos also in C: audio \ album covers \ Actors but it doesn't work.

I downloaded Zelda (thanks zibex :)) what should I do now to show you my situation?

P.S. I solved the TMDB problem by creating the TMDB Score field instead of TMDB Rating
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #742 on: May 25, 2021, 11:30:39 am »

So like this?
C:\Program Files\J River\Media Center 27\Data\Tooltip\Actors\Charlie Chaplin.png
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #743 on: May 25, 2021, 02:22:27 pm »

No, C:\Program Files\J River\Media Center 27\Data\Tooltip\Actors\Original Title (Year)\Charlie Chaplin.png
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #744 on: May 25, 2021, 02:54:48 pm »

copy this to PATH VARIABLES
Code: [Select]
Save(src="tooltip:Actors////////Clean([Original Title],3) /([Year]/)////////[L1]", v_CastImageLoc)
and this to L: Director + Actors + Writer
Code: [Select]
<font [v_HEADER_SIZE] [v_HEADER_COLOR]>STARRING<br><//font>/
Replace(Replace(ListMix2(<img src="tooltip:Misc////////Separator////////60x60" width="10"><img [v_CastImageLoc] valign="middle" width="120">, 1, Replace([Actors],/[,{),1;2;3;4;5;6),{,/[),;,/  )
If(!IsEmpty([Director]),<br><font [v_HEADER_SIZE] [v_HEADER_COLOR]>DIRECTORIf(Compare(ListCount([Director],;),>,1),S,)<//font><br><font [v_TEXT_COLOR]><i>/  Replace([Director],;,/,/ )<//i><//font>,)/
If(!IsEmpty([Screenwriter]),<font [v_HEADER_SIZE] [v_HEADER_COLOR]><br>WRITERIf(Compare(ListCount([Screenwriter],;),>,1),S,)<br><//font><font [v_TEXT_COLOR]><i>/  Replace([Screenwriter],;,/,/ )<//i><//font>,)

and it might work. If not then copy both of those to Zelda and check from text output panel is the image path correct
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #745 on: May 26, 2021, 10:09:38 am »

Perfect, now the photos of the actors can be seen. I also fixed the technical icon line by creating the various subfolders in Tooltip, and added a line for audio language and subtitles.

It doesn't work well watched / no watched as I always get the eye icon as if everything is watched. I'm doing more tests tonight.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #746 on: May 28, 2021, 06:37:15 am »

Expression just check if [Watched] is not empty and if [watched] has some value then eye-icon is shown. So check your [Watched] field value(s) for movies
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #747 on: May 29, 2021, 01:14:22 am »

My fault, there was a small error in the expression in the Watched field.

@zybex I have several films for which I cannot get the photos of the actors: is it my problem or do I not get them because they are not there?
Thank you
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #748 on: May 29, 2021, 04:30:08 am »

It's usually because TMDb doesn't have a profile pic for the actor/cast member.

On ZRatings, after doing "get info", you can click on the Poster cell to open the Poster Browser. There, click on the Oscar icon (top right) to view the thumbnails of cast, directly from TMDb source. It will have placeholders for missing thumbnails.

You can also right-click on a movie on ZRatings and select Open->TMDb Page (or press CTRL+U) to open the movie page on TMDb. On the movie page you can select Overview->Cast&Crew to check which thumbnails are missing... and you can also contribute by uploading the missing ones!
 
There's an option in ZRatings' settings to enable "use placeholder for missing thumbnails". There's a way to change the default gray avatar image too, by changing the images on %localappdata%\zratings folder, so you can have all of them be John Malkovich  ;D

Riders of Justice: awesome movie!  8)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 565
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #749 on: May 30, 2021, 10:20:04 am »

Actually, by clicking on the oscar icon, all the images of the actors appear exactly like the image you posted, but ZRatings doesn't download them to my pc: is there a way to do it manually?
Logged
Pages: 1 ... 11 12 13 14 [15] 16 17 18   Go Up