INTERACT FORUM

Please login or register.

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

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

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #800 on: June 24, 2021, 04:54:40 am »

Hi all,
I see the screenshot from lepa a few post up and I notice that there two lines of information after each rating icon.

Could some provide the expression (and if needed and explanation if it involves a lot of steps) to how that is done.
First a row with the rating description and then:
An Icon that spans two rows and directly after that icon information on two rows.
The visuals are very nice and the information densely packaged but still readable.


Happy midsummer,

//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

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #801 on: June 24, 2021, 05:26:52 am »

To achieve that, Lepa cleverly split each image into a top and a bottom part; so there are actually 2 images per icon. Then he builds each line using each part of the image as needed.
To align the horizontal position of the top/bottom images, he makes sure each string of text has the same number of chars on 1st and 2nd lines, adding transparent text (invisible).
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #802 on: June 24, 2021, 05:31:41 am »

Wow, that is a clever  solution.
Thinking out of the box for sure  ;o)
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

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #803 on: June 24, 2021, 08:38:36 am »

- run ZRatings as Administrator so that it can write to that folder

He tells me he can't find JRiver

- change the folder Security permissions to give Write/Full access to your user account

Permissions changed, but still not giving me access
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #804 on: June 24, 2021, 08:46:42 am »

What is the exact error message you're getting, and where? Is it when you're saving Settings?
Can you copy a file into the folder you selected without Windows asking you for confirmation/permission?
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #805 on: June 24, 2021, 11:07:36 am »

These are the messages that appear as soon as I click on Save and when I start Zratings as an administrator.

In that folder I can normally make any changes
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #806 on: June 24, 2021, 11:35:33 am »

Try opening a command-prompt (cmd) as Administrator and run this command to reset permissions:
Code: [Select]
icacls "C:\Program Files\J River\Media Center 28\Data\Tooltip" /T /grant everyone:(OI)(CI)M
If it completes with no error ZRatings should now work.

Regarding running ZRatings as Administrator - apparently it only works if MC is also started as Administrator. I'll add a workaround for that in a future version.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #807 on: June 24, 2021, 11:28:12 pm »

Have you "lello" tried to have ZRatings in a folder directly under C: to avoid any permission conflicts?
I also have my actor / crew thumbnails on my NAS and not under C:/Program files to have some sort of redundancy if a hard drive crashes.



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

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #808 on: June 25, 2021, 12:56:44 pm »

Try opening a command-prompt (cmd) as Administrator and run this command to reset permissions:
Code: [Select]
icacls "C:\Program Files\J River\Media Center 28\Data\Tooltip" /T /grant everyone:(OI)(CI)M

Worked perfectly, Zratings updated.

I have a little request to make.

When I run Zratings, it saves me the photos of the actors in a sub-folder actors / title of the film in Italian (year). For this to work, I have to change the folder name from "film in Italian" to "original title".

It's a little annoyance, but is there a way for Zratings to create the folder directly with the original title?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #809 on: June 25, 2021, 01:34:45 pm »

Just change the path to
Code: [Select]
C:\Program Files\J River\Media Center 28\Data\Tooltip\Actors\$originaltitleor
Code: [Select]
C:\Program Files\J River\Media Center 28\Data\Tooltip\Actors\$originaltitle ($year)
If you right-click on the path, it shows you a list of all possible $tags. Note that the Expression that you then use in your Tooltip/Theater view needs to match this path, or else it won't find the images.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #810 on: June 25, 2021, 02:42:55 pm »

Ah ok, I had tried with $original title instead
$originaltitle: understood why it didn't work!
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #811 on: September 07, 2021, 04:22:54 am »

One thing I've never been able to do is get the ATMOS logo to appear.

I double-checked the Audio Codec folder and the logo is present, the Compression field has the Atmos encoding, I started SoT after updating the library from the Tags but the Audio Codec field continues to be populated with Dolby Digital or Dolby Truehd: what should I check again ?

Another thing, always about Atoms. I have a TV series with the various languages all in Atmos, but while watching the film the various languages are indicated as simple ac3 5.1 despite the fact that the Atmos encodings for all languages are correctly reported in Mediainfo: what should I check?

Thanks
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #812 on: September 07, 2021, 08:13:56 am »

I get audio codecs from SoT to MC field [Audio Tracks RAW]
I then use it in calculated field [HD Audio] to display Atmos or DTS:X
calculation rule for [HD Audio]:
Code: [Select]
If(IsEqual([Audio Tracks RAW],MLP,8),Atmos,)If(IsEqual([Audio Tracks RAW],DTS XLL X,8),DTS:X,)
[HD Audio] field is used to select icon for Atmos / DTS:X

My SoT config was decribed here. I think it is still up to date probably
https://yabb.jriver.com/interact/index.php/topic,119385.msg898426.html#msg898426

Anyway this was copied from SoT right now. This is how I use it for my templates. You may or may not have something different  :)

Audio Track Count RAW;Audio Language;Audio Tracks RAW;Extras;Subtitles;Video Codec;HDR Format RAW;Aspect Ratio;Codec Id

ID;Language;Format;Title;Language;Format;HDR format;Display aspect ratio;Codec ID

Audio;Audio;Audio;Audio;Text;Video;Video;Video;Video
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #813 on: September 07, 2021, 08:55:41 am »

I am attaching images of the HD Audio and Audio Codec fields that seem to me to be correctly populated.

The image file is located in C:\Program Files\J River\Media Center 28\Data\Tooltip\Audio\Codec

and this is the expression in TECH ICONS:
Code: [Select]
Save(height="40", v_TECH_ICON_HEIGHT)/

<br><img src="tooltip:Container//[File Type]" [v_TECH_ICON_HEIGHT]>/

If(IsEqual([Dolby Vision],1,2),
/     <img src="tooltip:Video//Definition//DolbyVision" [v_TECH_ICON_HEIGHT]>,
)/

/     <img src="tooltip:Video//Definition//[Definition]If(IsEqual([HDR],1,2),-hdr,)" [v_TECH_ICON_HEIGHT]>/
If(!IsEqual([AR-calculated],empty),
/     <img src="tooltip:Video//AspectRatio//[AR-calculated]" [v_TECH_ICON_HEIGHT]>,
)/
/     <img src="tooltip:Audio//Channels//[Channels]" [v_TECH_ICON_HEIGHT]>/
/     <img src="tooltip:Audio//Codec//[Audio Codec]" [v_TECH_ICON_HEIGHT]>/
If(!IsEmpty([HD Audio]),
/     <img src="tooltip:Audio//Codec//Replace([HD Audio],:,_)" [v_TECH_ICON_HEIGHT]>,
)/
If(!IsEmpty([Studios]),
/     Replace(ListMix2(<img src="tooltip:Studios////[L1]" [v_TECH_ICON_HEIGHT]>, 1, [Studios], 1;2),;,/ / / / / ),
)/
If(!IsEmpty([Publisher]),
/     <img src="tooltip:Publisher//publisher-ListItem([Publisher],0)" [v_TECH_ICON_HEIGHT]>,
)

Where am I wrong?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #814 on: September 07, 2021, 09:43:30 am »

Can't spot any error right now. You could use clean in place of replace but shouldn't matter for atmos. I get atmos image with below code when file is under: Data\Tooltip\Audio\Codec\Atmos.png

Code: [Select]
Save(height="40", v_TECH_ICON_HEIGHT)/

<br><img src="tooltip:Container//[File Type]" [v_TECH_ICON_HEIGHT]>/

If(IsEqual([Dolby Vision],1,2),
/     <img src="tooltip:Video//Definition//DolbyVision" [v_TECH_ICON_HEIGHT]>,
)/

/     <img src="tooltip:Video//Definition//[Definition]If(IsEqual([HDR],1,2),-hdr,)" [v_TECH_ICON_HEIGHT]>/
If(!IsEqual([AR-calculated],empty),
/     <img src="tooltip:Video//AspectRatio//[AR-calculated]" [v_TECH_ICON_HEIGHT]>,
)/
/     <img src="tooltip:Audio//Channels//[Channels]" [v_TECH_ICON_HEIGHT]>/
/     <img src="tooltip:Audio//Codec//[Audio Codec]" [v_TECH_ICON_HEIGHT]>/
If(!IsEmpty([HD Audio]),
/     <img src="tooltip:Audio//Codec//Clean([HD Audio],3)" [v_TECH_ICON_HEIGHT]>,
)/
If(!IsEmpty([Studios]),
/     Replace(ListMix2(<img src="tooltip:Studios////[L1]" [v_TECH_ICON_HEIGHT]>, 1, [Studios], 1;2),;,/ / / / / ),
)/
If(!IsEmpty([Publisher]),
/     <img src="tooltip:Publisher//publisher-ListItem([Publisher],0)" [v_TECH_ICON_HEIGHT]>,
)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #815 on: September 07, 2021, 10:22:39 am »

Resolved! The logo file had a space between Atmos and .png

The logos folder I had simply downloaded and moved under Data \ tooltip without paying attention to the details.

A curiosity: is this format not considered Atmos?

Code: [Select]
Audio # 3
ID: 4
Format: E-AC-3 JOC
Format / Info: Enhanced AC-3 with Joint Object Coding
Commercial name: Dolby Digital Plus with Dolby Atmos
Codec ID: A_EAC3
Duration: 54 min 30 s
Bit rate mode: Constant
Bit rate: 768 kb / s
Channel (s): 6 channels
Channel layout: L R C LFE Ls Rs
Sampling rate: 48.0 kHz

The HD Audio field remains blank
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #816 on: September 07, 2021, 11:43:08 am »

Don't know if it is just named that way as a compatibility track inside actual atmos track. I don't know if EAC3 can hold atmos location data. I'm on 2 channel stereo  :P
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10711
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #818 on: September 07, 2021, 01:14:18 pm »

Thats how you would find Atmos on Netflix, or in rare cases also on Blu-ray.
Logged
~ nevcairiel
~ Author of LAV Filters

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #819 on: September 07, 2021, 03:30:34 pm »

So, dear lepa, you have to change the codes so that the Atmos logo appears in these cases too ;D
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #820 on: September 10, 2021, 02:12:01 am »

I use this expression to show how long the runtime of movie is: Size()

That expression will show the length like this: 1 hours 45 minutes

Is there an expression that will show the run time like this: 1h 45m
(I'm trying to get back some much needed space in my 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

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #821 on: September 10, 2021, 02:42:04 am »

I use this:
Code: [Select]
FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")
The 30 added seconds is to round it up to the closest minute.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #822 on: September 10, 2021, 02:51:59 am »

Man, you are fast and it works perfectly!

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

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #823 on: September 19, 2021, 09:50:38 am »

There are a couple of things that I have never given much importance to in the past and that I would like to fix now.

# 1: In the second line, the logo with the MPAA rating should appear before the length of the movie, year etc. but to me it appears only with the classic Movie template and not with the Movie Wip or others.

# 2: Following the instructions in a previous post, I managed to create the banner with the title of the film. However, I would like that if the banner is present, the title of the film is hidden otherwise you have 2 titles and the thing is annoying: is it possible?

Thank you  :)
Logged

lepa

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

#1 maybe you could attach your template here. It's hard to say blindly whats wrong. Probably Content Rating path or files doesn't match

#2 It's possible. With current system I think easiest to do this is semi-manual. Create new field like [HasLogoBanner] and set its value to 1 when you got the banner. Then you can branch out in the display row expression and choose to show banner or text depending on HasLogoBanner value.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #825 on: September 19, 2021, 01:07:23 pm »

Thanks.

Now I'm leaving. Upon my return, mid-next week, I will attach the template.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #826 on: September 22, 2021, 03:51:02 am »

My WIP template
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #827 on: September 22, 2021, 05:33:39 am »

Then you can branch out in the display row expression and choose to show banner or text depending on HasLogoBanner value.

I don't think I can create / edit an expression :'( :'(
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #828 on: September 22, 2021, 10:58:26 am »

Movie logos is set by default to be searched from:
tooltip\Movie Logos\Original Title (year)\logo.png
didn't want to spend too much time on this as I'm not gonna use it myself (as that same banner is usually seen on cover image anyway) so variable names and folders are not so thought. Banner size can be changed by modifying height but if bigger it eats quite lot of space from other elements. Banner show / not show is controlled by user created library field LogoExist field which I happened to still have so tested with that...


Cleaned up audio / sub languages. Languages are searched from tooltip\Language folder. Also attached example set of language images (can be replaced with your own images as long as image path remains the same).  Italian;English;German;Chinese;Danish;Finnish;French;Japanese;Korean;Norwegian;Spanish;Swedish are output as per your request earlier.

Added also new award image to ratings row

This is not the template I'm currently using but seem to be kind of mixture of many generations of my stuff so I'm not so keen to support it as such because it takes a lot of time
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #829 on: September 23, 2021, 03:57:05 am »

@lello
btw your updated template is inside tooltip.7z. Images are also needed for example for the mpaa icons, if you don't have them already... the -grey postfix ones..
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #830 on: September 23, 2021, 04:57:52 am »

Thanks lepa, now the banner and mpaa logo are displayed correctly.  :)

Unfortunately, however, the photos of the actors have disappeared.

In the PATH VARIABLES field there is now this expression
Code: [Select]
Save (tooltip: Actors // Clean ([Original Title], 3) / ([Year] /), v_CastImageLoc) Save (tooltip: Movie Logos // Clean ([Original Title] , 3) / ([Year] /) // logo, v_MovieLogo)
while in the WIP template I used before there was
Code: [Select]
Save (src = "tooltip: Actors //////// Clean ([Original Title], 3) / ([Year] /) //////// [L1] ", v_CastImageLoc)
I tried to make some changes, but it didn't get any good :(
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #831 on: September 23, 2021, 07:33:49 am »

Did you use the template as it is or modded it yourself?

For me it is working the same as in the template you attached. See the picture first part from your older expression lower set of pictures are the cleaned up version (requires mc28 though with ListMix fix)

You should install zybex's Zelda if you already haven't as it is much more easier to debug expressions with it as you can see eg the filepaths for the images.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #832 on: September 23, 2021, 12:28:16 pm »

Fixed updating from v55 to v66.  ;D

Thanks lepa
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #833 on: February 05, 2022, 09:47:12 am »

Been toying today with some simplistic views for movies (because I don't want to go out to plough all the snow out of the way... )
Don't particularly like the icons here but at least for now they are still there. Scrolling down will reveal more things like extra audio info and other links and extras.

Anyway here's the main screen.

E: smaller icons seem to work better. maybe they could be mono color also
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #834 on: February 06, 2022, 05:18:27 am »

Interesting, I personally prefer the first solution
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #835 on: April 04, 2022, 01:07:37 pm »

Played a little with IsPlaying() to create info template which shows only for audio file and only when it is playing. Kind of substitute for normal track info. It only shows clean basic data when entered or song changes. More information like lyrics and stuff can be seen if I scroll view down. If that song is not playing then normal theater view album template is used which shows more stuff on "front page" also.
Rule:
Code: [Select]
([=IsPlaying()]=[1] [Media Type]=[Audio])
Attached some examples of "track info" template with and without album art
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #836 on: July 07, 2022, 01:33:40 am »

Quick question,
I want to show a @ sign in the Theater view expression to display when the movie is in ATMOS or DTS:X.
I can show the full name Atmos or DTS:X simply by adding [HD AUDIO, 1] to the expression, but as characters are limited in Theater view I would like to replace the full name with an @ sign.

and a bonus request regarding Definition.
The [Definition, 1] field are as follow: 480p, 576p, 720p, 1080p, 2160p

Is it possible to have those translated in the Theater view expression to display this instead:
IF 480p or 576p show SD
IF 720p show HD
IF 1080p show FHD
IF 2160p show UHD


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

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #837 on: July 07, 2022, 02:56:56 am »

Both easily done with ifcase()

- sent from my computer, but I'm lazy today
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #838 on: July 07, 2022, 05:25:26 am »

Thanks zybex,
I got it to work quite nicely with the Definitions.

Code: [Select]
<b><font color="#ffd500" "size="70">[IMDb Rating, 1]<//b> <b><font color="#0f55ff" "size="70">IfCase([Definition, 1], 2, 480p, SD)<//font><font color="#0f55ff" "size="70">IfCase([Definition, 1], 2, 576p, SD)<//font><font color="#0fffb9" "size="70">IfCase([Definition, 1], 2, 720p, HD)<//font><font color="#ffb90f" "size="70">IfCase([Definition, 1], 2, 1080p, FHD)<//font><font color="#ff0f55" "size="70">IfCase([Definition, 1], 2, 2160p, UHD)<//b><//font> <font color="C0C0C0" "size="70">[Year, 1]<//font> <b><font color="#ffd500" "size="70">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")<//font> <font color="#ffb90f" "size="30">[HD AUDIO, 1]<//b><br><b><font color="ffffff" "size="60">[Name, 1]<//b><//font>
However I didn't get the Atmos to @ to work.
I do not know the correct mode value, I've tried a few but didn't get it to work.

Code: [Select]
IfCase([HD Audio, 1], 1, Atmos, @, DTS:X, X
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

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #839 on: July 07, 2022, 06:39:12 am »

Try mode 8:
IfCase([HD Audio], 8, Atmos, @, DTS:X, X)


Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #840 on: July 07, 2022, 07:29:50 am »

Congratulations on getting to a working expression by yourself! That's the important thing here, so please take the following as "constructive criticism"  :)

Your first expression as a couple three some many a couple of issues. Some are specific to MC, others are XML formatting which MC mostly ignores. I wish Chrome was as forgiving of bad XML formatting as MC :-X
Here's a list:

- mismatched closing tags. Note that when you use <​font><​b>, you need to close them in reverse order - <​/b><​/font>
- extra double-quotes on "size="70"
- missing # in some color codes
- cascaded <​font size=...> tags. Note that when you have <​font size=70>text<​font size=70>more text<​/font><​/font> , "text" will be printed at 70% size, and "more text" will be printed at 70% x 70% = 49% size. The "size" is always relative to what the current size was previously. Perhaps that's what you want, but if not you need to have just one size=70 (and close it at the end), or you need to close the first <​font> before opening another one.
- no need to keep opening and closing <​b> if you want everything Bolded - just open once at the top and close at the end.
- <​br> should have a closing slash <​br/>
- using ifcase() mode 2 (numeric) to compare alphanumeric strings (480p is not a number). You should use mode 1 or 8


This page formats the expression as a human-readable thing - note all the red/yellow X marks for problems:
https://jsonformatter.org/xml-formatter/5cef64

This is the fixed expression (I'm not sure if you really wanted the size=70%*70% thing):
https://jsonformatter.org/xml-formatter/368c03

Pasted here in case the link dies (fix double-slashes before using!):
Code: [Select]
<b>
   <font size="70">
      <font color="#ffd500">[IMDb Rating]</font>
      <font color="#0f55ff">IfCase([Definition], 8, 480p, SD, 576p, SD)</font>
      <font color="#0fffb9">IfCase([Definition], 8, 720p, HD)</font>
      <font color="#ffb90f">IfCase([Definition], 8, 1080p, FHD)</font>
      <font color="#ff0f55">IfCase([Definition], 8, 2160p, UHD)</font>
      <font color="#C0C0C0">[Year]</font>
      <font color="#ffd500">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")</font>
   </font>
   <font color="#ffb90f" size="30">IfCase([HD Audio], 8, Atmos, @, DTS:X, X)</font>
   <br/>
   <font color="#ffffff" size="60">[Name]</font>
</b>

Single line (with double-slashes):
Code: [Select]
<b><font size="70"><font color="#ffd500">[IMDb Rating]<//font>  <font color="#0f55ff">IfCase([Definition], 8, 480p, SD, 576p, SD)<//font><font color="#0fffb9">IfCase([Definition], 8, 720p, HD)<//font><font color="#ffb90f">IfCase([Definition], 8, 1080p, FHD)<//font><font color="#ff0f55">IfCase([Definition], 8, 2160p, UHD)<//font>  <font color="#C0C0C0">[Year]<//font>  <font color="#ffd500">FormatDate(Math(([Duration,0]+30)/86400),H"h" mm"m")<//font><//font>  <font color="#ffb90f" size="30">IfCase([HD Audio], 8, Atmos, @, DTS:X, X)<//font><br//><font color="#ffffff" size="60">[Name]<//font><//b>
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #841 on: July 07, 2022, 08:11:38 am »

Wow, this is great and thank you for your time.
I appreciate it.

I will keep this information and go over my other formatting as well, as I'm sure I have made several XML mistakes in the past.  ;D


Thanks again and have a great summer!
Over here it's raining and I got caught up in watching the latest Dr Strange movie.

I had to modify your code as well ;o)

I had to change this
Code: [Select]
</font></b> to this
Code: [Select]
<//font><//b>
and change the "8" to "1" when doing the Definition.


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

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2365
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #842 on: July 07, 2022, 08:21:22 am »

Ah, indeed, I removed the double slashing for the XML formatting site. Fixed the single-line above.
ifcase mode 8 (contains) should work just as well as 1 (equals).

A great summer to you as well, raining or not :)
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 378
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #843 on: July 07, 2022, 08:27:22 am »

You are correct, the "8" did work.
Just tested again
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

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #844 on: September 10, 2022, 12:58:22 pm »

I have some mkv in Dolby Vision and while the OSD detects it correctly, reporting the words "System Dolby Vision", the DV logo does not appear: what could it depend on?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #845 on: September 14, 2022, 01:49:00 pm »

Pretty hard to say without more information. You could paste your movie template here as eg txt file for investigation
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 552
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #846 on: September 15, 2022, 02:16:50 am »

Certainly. I am attaching the Movie Template, the mediainfo of 2 films and the OSD which shows the DV
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #847 on: September 15, 2022, 12:15:25 pm »

Don't know about Bond that what field should be read there to consider it as DV.
maybe Matrix coefficients                      : BT.2020 non-constant but do not know...

My fields for handling HDR
[HDR Format (MediaInfo)] <== base field SoT / MCUtils writes MediaInfo's "Video.HDR format" field to this
[HDR Format] <== calculated from above base field which ouputs all HDR types as string
Code: [Select]
ListClean(
ListClean(
If(IsEqual([HDR Format (MediaInfo)], Dolby Vision,8),Dolby Vision;,)/
If(IsEqual([HDR Format (MediaInfo)], HDR10+/ ,8),HDR10+;,)/
If(IsEqual([HDR Format (MediaInfo)], HDR10/ ,8),HDR10;,)/
If(IsEqual([HDR Format (MediaInfo)],no-hdr10,8),HDR;,)/
,3)/
,1)

Following are calculated from above [HDR Format]
[HDR] <== calculated field 1/0 if there is hdr/hdr10
Code: [Select]
ListContains([HDR Format],HDR)[HDR10+] <== calculated field 1/0 if there is hdr10+
Code: [Select]
ListContains([HDR Format],HDR10+)[Dolby Vision] <== calculated field 1/0 if there is dolby vision
Code: [Select]
If(ListContains([HDR Format],Dolby Vision),1,)
Not sure/don't remember if your fields differ much from that system.

Could you post your HDR Format/HDR Format (mediainfo) field values for the Dune if you got those fields. I think it should work but i don't have any discs with separate DV layer (two Video sections in mediainfo) so can't verify it
Logged

ndgame

  • Recent member
  • *
  • Posts: 42
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #848 on: November 18, 2022, 10:00:33 am »

Sorry for the stupid question, but I have been reading through this post because I am wanting to customize my view as well.  However being new to JRiver I have no clew where all these scripts are being inputed at lol.

Is there any document that goes over where and how to do this stuff?
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #849 on: November 18, 2022, 11:14:10 am »

There is no one stop documentation but info is gathered from the various wikis, feature thread and experimenting.

I think that in the first post there is a link how to import theaterview screen some one might have posted here. Also there is mentioned in the THEATER VIEW MOVIE TEMPLATES part the path where to find the theaterview tiles.

It isn't plug and play though to use those templates as to get it working right you need to have same fields with data as the template in question is using.

There also isn't any standard for field names but different people might have preferred different naming conventions. I think that I have tried to open the fields (name, usage, where to get the data) what I'm using at some point of this thread.

To get started you could see does this thread have something you like and the we could start to try to replicate that in your system. I can try to help you get going then when time permits..  :)
Logged
Pages: 1 ... 13 14 15 16 [17] 18   Go Up