INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 18   Go Down

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

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #250 on: October 06, 2019, 04:22:21 am »

I going deeper and deeper (baby steps) into customizing my file info panel in Theater view.

When I imported data with MC Ratings I came across the Metascore value.
In Metacritic the score is color coded green, yellow and red with the metascore inside that colored box.

Has the color coded value be added into the file info panel before?
(I don't see anyone using the metascore in their screenshots)


Next question:
How do I get a .png image into an expression?
I was thinking that I could add the Metacritic logo to the right of the other rating images and values and then add the metascore value after the inserted .png. If there are no metascore value the .png would not show up.

The .png in question is this one:


Sorry for the huge image...


And finally:
Be able to color code the metascore value as per these values.
0-39 = RED COLOR
40-60 = YELLOW COLOR
61-100 = GREEN COLOR

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

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #251 on: October 06, 2019, 05:01:59 am »

Following expression (not tested) would show rating-MetaScoreRed.png / rating-MetaScoreYellow.png / rating-MetaScoreGreen.png if field [MetaScore] has some (numeric) value and after png [MetaScore] value is displayed. Gotta go now so no time to explain things more right now.
Images in this example needs to be in MC data/tooltip folder..

<font size="110">If(!IsEmpty([MetaScore]),IfElse(IsEqual([MetaScore],39,4),<img src="tooltip:rating-MetaScoreRed">,IsEqual([MetaScore],60,4),<img src="tooltip:rating-MetaScoreYellow">,IsEqual([MetaScore],100,4),<img src="tooltip:rating-MetaScoreGreen">) [MetaScore],) <//font>
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #252 on: October 06, 2019, 06:41:20 am »

Hi Lepa and thank you,
Yes, the code you provided worked out just fine.
I did a slight adjustment from my initial thought and color coded the actual Metacritic logo in green, yellow and red instead and I'm letting the actual value be in white as the rest of the values are white.
I think the end result came out quite nice, se screen shot.

I attach the Metacritic icons for others to use or improve upon, they are quite jagged upon closer inspection.

This is the entire code if someone is interested.
Code: [Select]
If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#FFFF00">@  <//font>,<font face="ToolTip01" size="110" color="#b59031">4 <//font><font face="ToolTip01" size="200" color="#a6a6a6">@  <//font>),)If(!IsEmpty([Critic Rating]),<font face="ToolTip01" size="110" color="#01CB73">; <//font>Mid([Critic Rating],4,10)    ,)If(!IsEmpty([IMDb Rating]),<font face="ToolTip01" size="110" color="#E8B708">7 <//font>[IMDb Rating]    ,)If(!IsEmpty([Rotten Tomatoes]),<font face="ToolTip01" size="110" color="#ED1C08">8 <//font>[Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],,0),,If(IsEqual([Rotten Tomatoes],60,6),<font face="ToolTip01" size="150" color="#F13008">: <//font>,<font face="ToolTip01" size="150" color="#0FC152">9<//font>)),)   <font size="110">If(!IsEmpty([MetaScore]),IfElse(IsEqual([MetaScore],39,4),<img src="tooltip:rating-MetaScoreRed">,IsEqual([MetaScore],60,4),<img src="tooltip:rating-MetaScoreYellow">,IsEqual([MetaScore],100,4),<img src="tooltip:rating-MetaScoreGreen">) [MetaScore],) <//font>
Cheers,


UPDATE:
Upon more inspection I see that the Metascore icon is bigger if there is a Oscar statue/logo as opposed to if there is no Oscar logo.
Se attached screen shot Large MC.
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

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #253 on: October 06, 2019, 07:56:02 am »

UPDATE:
Upon more inspection I see that the Metascore icon is bigger if there is a Oscar statue/logo as opposed to if there is no Oscar logo.
Se attached screen shot Large MC.
That's because MC's image support is still a little rough on edges. You can remove <font size="110"> <//font> tags which are surrounding that metacritic part. I'm using font size to make row of images to be displayed as same height. So I will surround whole ratings row with some font size value.

This is one example with images only and not using logo fonts at all:
<font size="110">If(IsEqual([Awards],Oscar,8),If(IsEqual([Awards],Won,8),<img src="tooltip:award-oscar-won-text">  <img src="tooltip:award-oscar-won-figure">,<img src="tooltip:award-oscar-nominated-text">  <img src="tooltip:award-oscar-nominated-figure">)/    ,)If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb-wide"> RemoveCharacters([Critic Rating],TMDb/ ,1)/    ,)If(!IsEmpty([Rating IMDb]),<img src="tooltip:web-imdb"> [Rating IMDb]/    ,)If(!IsEmpty([Rotten Tomatoes]),<img src="tooltip:web-rt"> [Rotten Tomatoes]% If(IsEqual([Rotten Tomatoes],60,6),<img src="tooltip:web-rt-fresh">,<img src="tooltip:web-rt-splat">)/   ,)If(!IsEmpty([MetaScore]),IfElse(IsEqual([MetaScore],39,4),<img src="tooltip:rating-MetaScoreRed">,IsEqual([MetaScore],60,4),<img src="tooltip:rating-MetaScoreYellow">,IsEqual([MetaScore],100,4),<img src="tooltip:rating-MetaScoreGreen">) [MetaScore],)<//font>

Above expression will do more or less the same like yours but is only using images instead of fonts.
- First in red we'll set height for whole row
- Then in orange we'll handle Oscars. First if checks if there is "Oscar" text in the awards field and if it is found we'll check is it "won", otherwise it would be nomination. Finally we'll add some spacing with "/  " before checking next rating. If there wasn't "Oscar" text in the awards we won't display any of the above orange part (nothing after last comma in orange)
- in blue We'll check if Critic Rating has value (if it is empty we print nothing of blue part as there is nothing after last blue comma) and choose tmdb picture to be displayed. Then we remove "TMDb " text if it exist to get only rating value and possible scale. add spacing with "/   "
- in teal we'll show imdb image and rating but only if there is a rating value for it and add spacing with "/   ".
- in brown Rotten Tomatoes. (Again only show if value is not empty) print the value and if it is 60 or more then print fresh tomato, otherwise splatted tomato. Add spacing..
- in green MetaCritic. If there is rating available use IfElse structure to show one of the three images and then the actual score
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #254 on: October 06, 2019, 09:22:23 am »

Great and thank you for the explanation of the different code segments that really helps to understand the whole picture.

I have incorporated your .png and code and the result is much better!

I see in your screen shot that you don't have the "/10" after the value in TMDb.
I still have that even though I have pasted your code.

How can I get rid of the "/10" as it is not needed.

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

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #255 on: October 06, 2019, 09:59:01 am »

Great and thank you for the explanation of the different code segments that really helps to understand the whole picture.

I have incorporated your .png and code and the result is much better!

I see in your screen shot that you don't have the "/10" after the value in TMDb.
I still have that even though I have pasted your code.

How can I get rid of the "/10" as it is not needed.
I'm using MCUtils to get TMDb rating which can be configured to save only the actual rating. If yo are using MC for [Critic Rating] and always have your tag value something like "TMDb 6,7 / 10" you can for example trim 5 characters from right (" / 10"). So RemoveRight([Critic Rating],5) and combined with RemoveCharacters it would look like this: RemoveCharacters(RemoveRight([Critic Rating],5),TMDb/ ,1)

So first in the inner side you remove 5 characters from the right to get "TMDb 6,7" then this string is run through RemoveCharacters which will search for "TMDb " text and if found remove it so end result is then 6,7



IF you know that you always have TMDb prefix in the [Critic Rating] field you could also use combination of trim left RemoveLeft() and trim right RemoveRight() and trim 5 characters from both ends. RemoveCharacters() is safer in that sense that it only removes if search phrase is found from the field. It could also be used to remove " / 10" same way as we removed "TMDb ".

https://wiki.jriver.com/index.php/String_Manipulation_Functions#RemoveRight
https://wiki.jriver.com/index.php/String_Manipulation_Functions#RemoveCharacters

Of course you could also use fancy regular expression to do the same in one step but that is an another story
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #256 on: October 06, 2019, 10:11:14 am »

As always, this works just perfect.
I'll stop bugging you with noob questions.

I do appreciate that you and other people are taking the time and helping out people like myself.


Have a great Sunday!
//arcspin
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #257 on: October 06, 2019, 10:23:18 am »

What lepa gave you works but you can simplify things using the mid command.

Use this if you want the score only.  Like 8.9

Mid([Critic Rating],4,4)

Use this if you want the score out of 10.  Like  8.9 / 10

Mid([Critic Rating],4,9)
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #258 on: October 06, 2019, 10:34:56 am »

What lepa gave you works but you can simplify things using the mid command.

Use this if you want the score only.  Like 8.9

Mid([Critic Rating],4,4)

Use this if you want the score out of 10.  Like  8.9 / 10

Mid([Critic Rating],4,9)
Yes, that works fine if data is always in same format. RemoveCharacters() example was kind of fail safe method as it removes only text which for sure is wanted to be trimmed out. Also I don't know what is value from TMDb if rating value is integer 8, does TMDb always return also decimal part so like 8,0?

At least in my library it is only integer value of 8 but I don't know if it is because of MCUtils. That would break Mid() expression EDIT: Ok, seems that integer value comes from MCUtils

EDIT: BTW 10000 views on this thread  8)
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #259 on: October 06, 2019, 10:42:29 am »

Yeah, critic rating will show the .0 on movies rated a whole number.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #260 on: October 06, 2019, 02:18:17 pm »

Thank you for the inspiration arcspin, I decided to add metacritic as well. 



I implemented it slightly differently.  I like how their scores look on the website so I decided to emulate that.  Thanks to the power of Imagemagick, I quickly and painlessly made 100 new images, one for each possible score on metacritic.  I then added

Code: [Select]
If(!IsEmpty([Metascore]),<img src="R:\Tooltip\meta.png">   <img src="R:\Tooltip\meta-[Metascore].png">,)
To my theater view code and viola.

If anyone wants to emulate this, I uploaded the rating images, grab them here.

Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #261 on: October 06, 2019, 02:51:13 pm »

Decided to add the metacritic "must see" icon



Just slip this bit of code in (change the path to the image and I put the image in the zip above)

Code: [Select]
if(isequal([metascore], 81, 6), <img src="R:\Tooltip\meta-must.png">,)
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #262 on: October 07, 2019, 01:07:55 pm »

Hi,
Thank you Moe for the Metacriting icons and code.
That was exactly what I had in mind when I started out asking and trying to incorporate it into the File info panel.
I have now discarded my approach and fully embraced yours instead!!!

The short code "Mid([Critic Rating],4,4)" did also work out perfectly and now I also only have the TMDb value and nothing more.
Both yours and Lepas approach works just fine.

When i started out trying to improve my own file info panel I have picked up bits and pieces from this thread regarding code, fonts and icons.
I have however not come across the fancy colorful icons (or are those still fonts with different colors) you have at the bottom of your info panel. (red dts logo, blue 1080 logo, yellow Disney Pixar logo and so on)

I might be stepping out of line here, but if they are indeed images would you mind sharing them with some code to go with those?
And also how do you get those fancy Spider man, Toy Story Movie titels?


Best regards,
//arcspin
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #263 on: October 07, 2019, 01:40:31 pm »

I made a page, it's mentioned somewhere in this thread, where people can upload and share images it has all of my studios and colorful icons.  Here is the link https://moesrealm.com/MC/mc-images/ if you want to bulk download you can do some from this page https://moesrealm.com/MC/images/ and use some sort of download manager.

The fancy movie titles I am getting via a program called Mediaelch.  They download as logo.png and I keep that image alongside the movie.  I made a new field called "Logo" with the following value

Code: [Select]
<img src="[Filename (path)]logo.png" width="645">
The code for the DTS, number of speakers, resolution, etc.  is

For audio format

Code: [Select]
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))
For the number of channels

Code: [Select]
if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="80">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="80">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="80">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="80">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="80">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="80">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="80">,<img src="tooltip:speakers 7.1" height="80">)))))))
For resolution

Code: [Select]
If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="80">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="80">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="80">,<img src="tooltip:Resolution 480" height="80">)))
Aspect Ratio is it a little complex and requires MCUtils, I think.  It also uses a bit of fuzzy logic.  I don't know if you use MCUtils or not, if you do, I am happy to share the code.

For the studios, I use this code.

Code: [Select]
<img src="tooltip:Studios-[Studios]" height="80">


 

Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #264 on: October 08, 2019, 01:00:24 pm »

Thank you for the many lines of code.

I did try out MediaEech and got it to scrape movie data.
What I did find out is that it is very picky with how a movie is named.
I do not have a strict naming convention which resulted in a lot of manual work to clean up movie filenames.
I will have to try and think more about using Mediaelch.

The Studio logos is quite fun to have in the File info panel and I did go thru my movies and collected additional studio logos for the movies that was not represented in your studio logo batch.
Below is a link to a zip-file with the studio logos that I have used in addition to yours.

https://drive.google.com/open?id=11DjcnkBGjytoXSqDorFUkfsVREvJxEzt

Please feel free to download and look them over and incorporate the ones you would like to keep.


Cheers,
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #265 on: October 08, 2019, 01:43:34 pm »

Yeah, Mediaelch isn't perfect.  One thing you can do to help, assuming your "Name" and "Year" fields are filled in properly, is use the Rename, Move & Copy tool and set filename to [Name] ([Year]).  I did that and it helped a lot.

Thanks for the Studio logos! I  added yours to my site and into my library as well.  I'd love to get a group effort going to collect more.  I am missing hundreds of them.
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #266 on: October 09, 2019, 05:31:42 am »

Great day to you Moe,

A while ago i installed successfully the custom Theater View templates and got pretty all features as described in this very interesting tread :-)

Only thing i can't figure out is how to use your logo images.
I did create the new [logo] field
Code: [Select]
<img src="[Filename (path)]logo.png" width="645">.
Replaced the tooltip lines within my template, like
Code: [Select]
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))Downloaded some .png logo's from your side and installed within the respective directories, like the movie related logo's inside the shared folder where my films are located.
The audio related logo's inside the directory where my cd rips are.

I'm pretty sure I'm missing some important part :-)
If you could shine me some light onto adapting towards your nice logo images :-)

Thanks sir !
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #267 on: October 09, 2019, 09:31:02 am »

For pretty much every image that isn't a movie logo you want to put them in this directory

C:\Program Files (x86)\J River\Media Center 25\Data\Tooltip

That is MC's default directory for images.  Anytime you see code in this thread like this

Code: [Select]
<img src="tooltip:
That means the image is stored in that default directory.

For the logos, I have my folders/files setup like this .

Movies (main folder)
-----The Breakfast Club (movie folder)
----------The Breakfast Club (1985).mkv (movie file)
----------logo.png (logo art)

-----The Goonies (movie folder)
----------The Goonies (1985).mkv (movie file)
----------logo.png (logo art)


If you have the same sort of structure, then this bit of code should work fine.

Code: [Select]
<img src="[Filename (path)]logo.png" width="645">
You need to make sure that you have the logo art, this isn't something that MC will get for you automatically.  I use a program called Mediaelch to get those images
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #268 on: October 09, 2019, 09:32:54 am »

Great day to you Moe,

A while ago i installed successfully the custom Theater View templates and got pretty all features as described in this very interesting tread :-)

Only thing i can't figure out is how to use your logo images.
I did create the new [logo] field
Code: [Select]
<img src="[Filename (path)]logo.png" width="645">.
Replaced the tooltip lines within my template, like
Code: [Select]
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="80">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="80">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="80">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="80">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="80">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="80">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="80">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="80">,))))))))Downloaded some .png logo's from your side and installed within the respective directories, like the movie related logo's inside the shared folder where my films are located.
The audio related logo's inside the directory where my cd rips are.

I'm pretty sure I'm missing some important part :-)
If you could shine me some light onto adapting towards your nice logo images :-)

Thanks sir !
<img src="[Filename (path)]logo.png" width="645">

You need to have folder for every movie for above to work e.g. M:\Movies\Terminator\ and there you need to have logo.png for Terminator

If you have different kind of folder structure you need to have also different kind of path expression. If you could give example of your folder path / filenaming concerning movies it's easy to modify field expression accordingly


For audio you need to have png files in MC's data\tooltip folder
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #269 on: October 09, 2019, 03:26:42 pm »

I have done some work in "Tooltip"  and basically you name a calculated data field: Tooltip and then it is of to cut and past code from my Theater view.

Is there a way to make the tooltip background less transparent?
I am having a hard time seeing the text.

and also, are you Moe and Lepa willing to share your code for your Tooltip?
It would be great to have some recent work to start with.


best regards,
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #270 on: October 09, 2019, 04:45:15 pm »

I would recommend making 4 fields.  One called Tooltip with this value

Code: [Select]
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
Then one called Tooltip - Audio with this value

Code: [Select]
If(IsEqual([Media Type],Audio,1),TOOLTIP CODE GOES HERE,)
Then duplicate the above twice, once for TV and once for Movies but change media type accordingly. 

I have no problem sharing my tooltip, but I use a lot of custom fields so they may not be completely useful.  Here is my movie one to get you started.

Code: [Select]
If(IsEqual([Media Sub Type],Movie,1),<font size="200"><b>[Name]<//b><//font>If(!IsEmpty([Tag Line]),<font size="150"><br><i>[Tag Line]<//i><//font>,)
<img src="tooltip:Divider" size="570x20">
<font size="125" color="#80C0C0"><b>size()  <font color="#5b5b5b">||<//font>  [Genre]  <font color="#5b5b5b">||<//font>   [Year]  <font color="#5b5b5b">||<//font>  [Country]<//b><//font>
<img src="tooltip:Divider" size="570x20">
 If(!IsEmpty([Oscar Winner]),[Oscar Winner],)   <font size="150">If(!IsEmpty([TMdbRating]),<img src="tooltip:Web TMDB" height="25">  [TMdbRating] ,) If(!IsEmpty([IMDb Rating]),<img src="tooltip:Web IMDB2" height="25">  [IMDb Rating] ,)  If(!IsEmpty([Metascore]),<img src="R:\Tooltip\meta.png">  <img src="R:\Tooltip\meta-[Metascore].png">,)  If(!IsEmpty([Rotten Tomatoes]),<img src="tooltip:Web RT Logo Red2" height="25">  [Rotten Tomatoes]% [RT],)<//font>   

<img src="tooltip:Synopsis" size="570x30">
If(!IsEmpty([Synopsis]),<font size="115">[Synopsis]<//font>,)


<img src="tooltip:Credits" size="570x30">
<font size="115">If(!IsEmpty([Director]),<b>Director:<//b> [Director]<br>,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]<br>,)If(!IsEmpty([Producer]),<b>Producer:<//b> [Producer]<br>
<img src="tooltip:Cast" size="570x30">
,)If(!IsEmpty([TMDB Actors]),<b><//b>[Cast]<br>,)<//font>If(!IsEmpty([Bonus_Section]),<br><img src="tooltip:Bonus" size="570x30">
<font size="115">If(!IsEmpty([Commentary]),<b>Commentary:<//b> [Commentary]<br>,)If(!IsEmpty([Collections]),<b>Collections:<//b> [Collections]<br>,)If(!IsEmpty([Movie Series]),<b>Movie Series:<//b> [Movie Series]<br>,)<//font>,)If(!IsEmpty([Rifftrax]),<br><br><img src="tooltip:RiffTrax2" size="570x50"><br><b>Rifftrax:<//b> [Rifftrax]<br>,)
<img src="tooltip:Divider" size="570x20">
 <font size="300">If(!IsEmpty([MPAA]),[MPAA],) [Audio_Stream] [Speakers] [Resolution] [Aspect_Ratio]<//font> 


<font size="85" color="#7c7c7c">[filename]<//font>

,)
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #271 on: October 10, 2019, 01:56:34 am »

Quote
For pretty much every image that isn't a movie logo you want to put them in this directory

C:\Program Files (x86)\J River\Media Center 25\Data\Tooltip

That is MC's default directory for images.  Anytime you see code in this thread like this

Bingo Moe ! Thanks a lot for pointing me out to this 'details' :-)
Up and running :-)
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #272 on: October 11, 2019, 08:53:07 am »

Greatday all, dear Moe,

Hoping you're fine ?
I could use some help again,

I've been playing with the Studios images vs [Studios] field.
Like the following code, which does work but surely not ideal and also struggling on the expression.
I tried like ListItem as also including the ,8 value in order to come to a images when multiple studios are within the field.

Sorry if already answered within this topic;

Code: [Select]
<font color="#9496a3">_________________________________________________________________________________________________<//font>
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="40">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="40">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="40">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="40">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="40">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="40">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="40">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="40">)))))))) if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="40">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="40">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="40">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="40">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="40">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="40">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="40">,<img src="tooltip:speakers 7.1" height="40">)))))))   If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="40">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="40">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="40">,<img src="tooltip:Resolution 480" height="40">))) <img src="C:\Program Files\J River\Media Center 25\Data\Tooltip\Studios\Studios-[Studios].png" height="40">

Thanks in advance !
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #273 on: October 11, 2019, 11:39:14 am »

That expression you showed is doing a lot more than the studios, it's also doing audio type, number of channels and resolution. 

Are you working in Theater View or a Tooltip?

I guess I don't really understand your question.  What are you trying to achieve that you can't?

For me, I like to break things down to their individual pieces.  For instance, you could make a new field called something like [Audio Compression] and give it a calculated value of

Code: [Select]
if(isequal([Compression],DTS,8),<img src="tooltip:Audio DTS" height="40">,if(isequal([Compression],AC3,8),<img src="tooltip:Audio Dolby Digital" height="40">,if(isequal([Compression],PCM,8),<img src="tooltip:Audio PCM" height="40">,if(isequal([Compression],mp3,8),<img src="tooltip:Audio MP3" height="40">,if(isequal([Compression],flac,8),<img src="tooltip:Audio FLAC" height="40">,if(isequal([Compression],aac,8),<img src="tooltip:Audio AAC" height="40">,if(isequal([Compression],MPEG,8),<img src="tooltip:Audio MPEG" height="40">,if(isequal([Compression],Vorbis,8),<img src="tooltip:Audio Vorbis" height="40">))))))))
Then you could create a new field called [Channels] with a calculated value of

Code: [Select]
if(isequal([Channels],1,2),<img src="tooltip:speakers mono" height="40">,if(isequal([Channels],2,2),<img src="tooltip:speakers stereo" height="40">,if(isequal([Channels],3,2),<img src="tooltip:speakers 2.1" height="40">,if(isequal([Channels],4,2),<img src="tooltip:speakers quad" height="40">,if(isequal([Channels],5,2),<img src="tooltip:speakers 4.1" height="40">,if(isequal([Channels],6,2),<img src="tooltip:speakers 5.1" height="40">,if(isequal([Channels],7,2),<img src="tooltip:speakers 6.1" height="40">,<img src="tooltip:speakers 7.1" height="40">)))))))
And new field called something like [Resolution] with a calculated value of

Code: [Select]
If(IsEqual([Width],1920,5),<img src="tooltip:Resolution 4K" height="40">,If(IsEqual([Width],1360,5),<img src="tooltip:Resolution 1080" height="40">,If(IsEqual([Width],888,5),<img src="tooltip:Resolution 720" height="40">,<img src="tooltip:Resolution 480" height="40">)))
And finally, one called [Studio Logo] with a value of

Code: [Select]
<img src="C:\Program Files\J River\Media Center 25\Data\Tooltip\Studios\Studios-[Studios].png" height="40">

This makes things a lot cleaner and easier to read when you are working on your tooltip.  Instead of a big complicated expression you could achieve what you have above with

Code: [Select]
<font color="#9496a3">_________________________________________________________________________________________________<//font>
[Audio Compression]  [Channels]  [Resolution]  [Studio Logo]


This has the added benefit in that if you ever want to make a change to your tooltip and/or Theater View you can change the individual field one time and it will change everywhere that the field is displayed.  You can also use these fields in standard view which I find helpful for testing.
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #274 on: October 11, 2019, 12:20:18 pm »

Really appreciated Moe !

Initially my request was about the last expression which I've got into my Theater View template.
As i wasn't able to get a Studios image up once multiple studios where into the [Studios] field.

Let me use your instructions and play with the custom fields and i agree those will clean up things much more :-)

Another thanks sir, enjoy the weekend !
 
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #275 on: October 11, 2019, 12:27:35 pm »

Oh, for movies with multiple studios you'll want something like this

Code: [Select]
<img src="tooltip:Studios-ListItem([Studios],0,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],1,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],2,;)" size="64x64">
That will return three studio icons.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #276 on: October 12, 2019, 12:52:54 am »

Hi,
In an attempt to gain back some screen real estate in Theater view I did this code to get all the actors, producers, directors and screenwriters names in one row instead of having each name on a separate row.
The example is for actors.
Code: [Select]
<font color="#ffffff size="80""><i>Replace([Actors],;,  / // )
or even simpler code to accomplish actors names in a row.
Code: [Select]
<font color="#ffffff size="80""><i>[Actors]
This works just fine and I can now see more information in Theater view, however...The ability to follow the link to what (for example) the producer also have produced in my movie collection did go away.

Is there a way to get that functionality back and still have names in a row?
Bonus question, and also be able to not show that field if it is empty.
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

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 548
  • It's not easy being me, but it sure is fun!
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #277 on: October 12, 2019, 08:31:21 am »

Is there a way to get that functionality back and still have names in a row?
Bonus question, and also be able to not show that field if it is empty.

This is what I use. It returns only the first 5 actors in the list since there can sometimes be 20 or more. If the field is empty, it doesn't show.

Code: [Select]
If(!IsEmpty([Actors]),<b>Actors:<//b> Replace(ListLimit([Actors],5),;,/,),)
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #278 on: October 12, 2019, 10:16:56 am »

Is there a way to get that functionality back and still have names in a row?
linking is not possible with expression. I'm using separate links section below visible area to get linking support
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #279 on: October 12, 2019, 10:23:53 am »

This works just fine and I can now see more information in Theater view, however...The ability to follow the link to what (for example) the producer also have produced in my movie collection did go away.

Is there a way to get that functionality back and still have names in a row?

I made a request for similar functionality in this thread and the MC team seemed to think it was a good idea but then they stopped responding :(  Maybe it would help if more people showed some support for the idea?  *hint hint*
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #280 on: October 12, 2019, 01:57:22 pm »

Quote
<img src="tooltip:Studios-ListItem([Studios],0,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],1,;)" size="64x64"><img src="tooltip:Studios-ListItem([Studios],2,;)" size="64x64">

Thanks a lot Moe, works like a charm !

A also have a issue when using banners, when not available i would need the name field instead.
Made it works like suggested earlier within this topic like:
created the [Banner Exists] field:
Code: [Select]
IsMissing([Banner file path]VIDEO_TS-banner.jpg)Theater View Movies expression:
Code: [Select]
if(isequal([Banner Exists], 1, 8), <i>[Name], [Banner])
Next I'll attempt to get the actors images lineup in my Theater View template, as I've got now the .jpgs in the respective folder via MediaElch, thanks for the topic earlier all !

Cheers   :D
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #281 on: October 13, 2019, 12:40:16 am »

Maybe it would help if more people showed some support for the idea?  *hint hint*

Thank you for the hint, I have made myself heard in that thread and I really hope that the good people of MC find a solution for this because I find this to be a basic functionality that should have been there from the beginning.

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

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #282 on: October 20, 2019, 06:14:11 am »

God day!
New weekend and a new idea that I cant quite master and I'm now in need of assistance.

I have started to meta tag my movies if the movie have a different edition like, special edition, Directors cut and so on.
I'm using a new field "Edition" for this.

I have extended my expression in Grid view to include the new "Edition" field and that is all fine but...when I have a series of grouped movies the "edition" field is still there and that is something I do not want.

How can I write my expression so that he "edition" field is visible when there is only the movie and not when there is a group of movies.

I attach a screenshot where you can see in gren my "edition" filed for the movie "12 Angry men" and you notice that the "edition" field is also visible in the grouped movies "ALFRED HITCHCOCK MOVIES" and "ALIEN MOVIES" and that is something I don't want to be there in this view.

(((Edit; The first post had "Notes" field in the text but I changed my mind and created a special field called "Edition" instead of using the standard field "Notes".)))

Best regards,

The expression I'm using for this is:
Code: [Select]
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> <font color="228B22" "size="60">[Edition, 1]
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #283 on: October 20, 2019, 09:15:52 am »

Can you share how you have your grid view set up?  That will help try and solve your problem.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #284 on: October 20, 2019, 09:59:23 am »

Of course.

The Grid is set up as follow.
See screen shoot: Grid Title and Grid Series.

The code in Grid Title is

Expression to group by:
Code: [Select]
If(IsEmpty([Series]),[Name] [Date (Year)],[Series])
Expression to display is:
Code: [Select]
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> <font color="228B22" "size="60">[Edition, 1]

The code in Grid Series is

Expression to group by:
Code: [Select]
[Name][Year]
Expression to display is:
Code: [Select]
<b><font color="ffffff" "size="70">[Name, 1]<//b><//font><font color="C0C0C0" "size="70"> [Year, 1]<//font><font color="ff3333" "size="70"> [Keywords, 1]<//font> <font color="228B22" "size="60">[Edition, 1]
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #285 on: October 20, 2019, 11:02:52 am »

I think this is what you're looking for.

Grid Title

Group by
Code: [Select]
If(IsEmpty([Series]),[Name] [Date (Year)],[Series])
Display as

Code: [Select]
if(isempty([Series, 1]), <font color="FFFFFF" "size="80"><b>[Name, 1]<//font><//b><font color="C0C0C0" "size="80"> [Year, 1]<//font> <font color="FF3333" "size="80">[Keywords, 1]<//font>, <b><font color="ff3333" "size="80"> Fixcase([Series, 1],3))<//b><//font> If(IsEmpty([[Series]]),<font color="228B22" "size="60">[Edition]<//font>,)
Grid Series

Group by
Code: [Select]
[Name][Year]
Display as

Code: [Select]
<b><font color="ffffff" "size="70">[Name, 1]<//b><//font><font color="C0C0C0" "size="70"> [Year, 1]<//font><font color="ff3333" "size="70"> [Keywords, 1]<//font> <font color="228B22" "size="60">[Edition, 1]<//font>
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #286 on: October 20, 2019, 11:09:48 am »

I'm sorry to say but the code do not work.
When I past the code the Edition text do not show at all.


Edit. The Edition text do show up in my grouped movies but not when the movie is stand alone (so to speak)
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #287 on: October 20, 2019, 11:16:14 am »

Sorry, I left some double brackets in from a search and replace I did since I was using my own fields.

Change [[Series]] to [series] at the end of the Title Display As section
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #288 on: October 20, 2019, 11:20:09 am »

SUCCESS  :D
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

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #289 on: October 20, 2019, 11:24:10 am »

Another question.

Is there a way to get more than two lines of text i Theater View?
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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #290 on: October 20, 2019, 11:27:36 am »

No, I don't think so.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #291 on: October 20, 2019, 11:43:12 am »

If anyone is interested I made this simple code to get different color to the text "File Size" depending on the size of the movie file.
As seen in yellow in the bottom right corner of the screenshot.
(And you can also see the "Edition" text that I have in the upper part of the Theater View.)

Just sharing, because I have gotten so much help.
If anyone with better skills have a better way of doing this, please feel free to correct my code.


Different color depending on the size of the movie file:
Red, less than 10GB
Purple, 10-20GB
Yellow, 20-30GB
Green, more than 30GB

Code: [Select]
<font size="180">If(!IsEmpty([File Size]),IfElse(IsEqual([File Size],10,4),<font color="#990000">,IsEqual([File Size],20,4),<font color="#662F64">,IsEqual([File Size],30,4),<font color="#FDDB2E">,IsEqual([File Size],100,4),<font color="#008000">) [File Size],) <//font>
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

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #292 on: October 21, 2019, 10:29:06 am »

Since apparently you want to use that as a quality indicator of sorts, I would recommend actually using the bitrate field instead of the actual file size, since that is relative to the duration, and would eg. automatically compensate for TV shows vs. Movies which have vastly different runtimes.

As an aside, Blu-ray size really isn't required to produce good looking videos. A 1080p Blu-ray can easily be re-compressed to half its size and not lose any perceivable quality. Just sayin'. :)
Blu-rays quite simply have the size and there is no bonus for the studio to leave room on the disc, so they just throw bitrate at it instead of using more efficient and thus computationally expensive encoding.
Logged
~ nevcairiel
~ Author of LAV Filters

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #293 on: October 21, 2019, 10:57:12 am »

Great suggestion.
I assume that when I add bitrate to an expression I get the value in bit per second.

What expression should I use to convert that into Mbps?

I was think of doing a color code based on the values Google have for their upload as shown in the attachment.
And also what is the proper way of also take into account if the movie is 2160, 1080, 720 and so on when doing the color code.


Cheers,
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

thorsten

  • World Citizen
  • ***
  • Posts: 196
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #294 on: October 28, 2019, 05:37:38 pm »

Hi,

I'm up and playin' with the theaterview again.
I ran my complete library through media Elch and got so the logo/actor pictures etc.

While I managed to include the Logo, I failed with the [tag line]: how do I get the value, that is in the *.nfo file included, shown? Just using a field named [tag line] didn't work.

@Moe: you use it, I can see it in your code, but do you have an additional function in the back?

And, is there a way to get all the logos from your website at once?

Here's my actual view, hope you like it  ;)


Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #295 on: October 28, 2019, 09:58:25 pm »

Your view is looking great.  Thanks for sharing.

You can use a download manager (like downthemall) to download all from here https://moesrealm.com/MC/images/

I get the tag line from MCUtils, not from Mediaelch and I don't really have any experience using nfo files, sorry.
Logged

thorsten

  • World Citizen
  • ***
  • Posts: 196
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #296 on: October 29, 2019, 02:38:59 am »

Ok. So I will have to deal with the next tool: MCUtil. As long as I get the results, I will go for it. Don‘t have to tell my skeptical friends about the fuss to get all the data....  ;)  ::)  ;D
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #297 on: October 29, 2019, 11:34:17 am »

Once you get MCUtils set up and customized the way you want it, youll love it :)  AMG, Discogs and now MusicBrainz
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #298 on: October 29, 2019, 12:46:50 pm »

As well as TMDB metadata and images.  Pscriptor comes in handy as well.  It's a pretty amazing set of tools.
Logged

thorsten

  • World Citizen
  • ***
  • Posts: 196
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #299 on: October 31, 2019, 12:13:08 pm »

So, I'm nearly done with the next step. Logos work, and I'm in total quite satisfied with the look.

As I ran all my movies through media elch I also got the actors pictures. But: the wrong format.

All pictures are surname_name.jpg. But I only have surname [blank] name in my tag field [Actors]. Example:
Picture: Harrison_Ford.jpg  -> tag: Harrison Ford

So, I tried something like
Code: [Select]
replace(listitem([Actors],0), ,_)but it didn't work. What's my fault? (I know the fault: the [blank] is not recognised. But I don't now how to do this?

I want to have only the first 5 oder 7 Actors listed, up to now they are in a row with
Code: [Select]
If(!IsEmpty([Actors]),<b>Actors:<//b> Replace(ListLimit([Actors],5),;,/,),)
Thanks again,

Thorsten
Logged
Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 18   Go Up