INTERACT FORUM

Please login or register.

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

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

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #150 on: August 02, 2019, 10:32:30 am »

I'd be happy to share, I was only worried that you all might have an issue with copyrights and what not.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #151 on: August 02, 2019, 12:14:08 pm »

I'd be happy to share, I was only worried that you all might have an issue with copyrights and what not.
That is my concern also. Happy to share otherwise
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #152 on: August 02, 2019, 12:15:14 pm »

Here is a quick proof of concept of what I am thinking.  I am not in love with it, but I am having a hard time finding a good script that does what I want.  This does dynamically update the gallery when a new image is uploaded, which is key.  I still need to make it so other users can upload images, but that should be easy enough.  Feedback welcome.

https://moesrealm.com/MC/mc-images/
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #153 on: August 02, 2019, 05:56:05 pm »

I added the ability for you all to upload images.  As of right now it's open to anyone, hopefully it doesn't get spammed by nefarious people or bots.  If that starts to happen I will rethink things.  Feedback welcome.

https://moesrealm.com/MC/mc-images/

I renamed the files so that the icons are grouped in a more logical order.  I would ask that if you upload anything you try and do the same as well, that way it's easy to find things.

Logged

thorsten

  • World Citizen
  • ***
  • Posts: 194
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #154 on: August 05, 2019, 03:03:51 pm »

Wow, Moe, breathtaking! The images look great!

Btw, I'm using the FSK with this code with [fsk_logo]
Code: [Select]
<font face="ToolTip01" size="400">If(IsEqual([FSK],0,2),<font color="#FFFFFF"> Ē,If(IsEqual([FSK],6,2),<font color="#fff200"> ē,If(IsEqual([FSK],12,2),<font color="#33ff00"> Ĕ,If(IsEqual([FSK],16,2),<font color="#33d9ff"> ĕ,If(IsEqual([FSK],18,2),<font color="#ff0000"> Ė,)))))<//font><//font>It's funny: the german translation of "MPAA" ist "FSK Bewertung"  :o Therefore, I needed a new tag "fsk" for the value and "fsk_logo" for the sign. Works great, but now there are too many icons in theatre view, I have to play with their size. So, no picture of my setup  for now..

Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #155 on: August 07, 2019, 07:41:09 pm »

Lepa,

you're the best.... thank you so much for taking the time while you're on holidays....
The problem was that I didn't move the template up the list... so it would always pick the original Movie Template.

I didn't know that the templates are evaluated top to bottom and the first that meets the criteria is taken... if I would have paid more attention, I could have sorted out the logic by seeing the options 'Move Template Up' or 'Move Template Down'...

I owe you big time.... Many many thanks !!

BR

I ran into this issue as well.  Perhaps create the new template at the top rather than the bottom??
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #156 on: August 08, 2019, 11:48:27 am »

Played a little with image feature. Probably too much work unless the image creation process can be automated. (Of course it can, it's just a question how much effort someone would like to invest on it)
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #157 on: August 08, 2019, 01:51:24 pm »

Those images look great, I agree though, lots and lots of work unless it could be automated somehow.

TheTVDB and themoviedb both have images for people.  Not sure how it could be done within the JRiver architecture, it would be great to figure it out though, what you did looks really slick.

I wonder if MCUtils could be tweaked to pull the actor/director/etc image from TMDB Here's Duchovny's page as an example https://www.themoviedb.org/person/12640-david-duchovny?language=en-US
Logged

jachin99

  • Citizen of the Universe
  • *****
  • Posts: 559
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #158 on: August 08, 2019, 03:16:35 pm »

That looks really nice, and I can't wait to see the finished product!!  Now if we could select one of those actors, and have MC return a list of other movies they are in, it would be even better yet.  I remember in WMC you could do this, and even tell it to record a certain movie when it comes on TV. 
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #159 on: August 08, 2019, 03:58:19 pm »

I agree, that would be amazing.  You can do it with stuff like director or producer, as long as their is only one person.  It would be great if Theater View could parse a list to treat each item in a list as a separate entity. 
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #160 on: August 08, 2019, 04:21:03 pm »

As Moe said already unfortunately links won't work for list fields and then again when using images it isn't even a recognizable field anymore. For above screen I'm using two images per person first row is for face image and second row of pictures are name of persons. Reason for this is that it is simpler to align name and face by using pictures as they have same width value. Problem is that even if I could get actor faces automatically fetched and mass scaled to same size/aspect I still would have to find a tool or write some kind of script which would mass draw png images for every person using specified dimension (same width as face image) and which have text: first name second name in two rows.

Code: [Select]
If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],0)">    <img width="70" src="tooltip:ListItem([Actors],1)">    <img width="70" src="tooltip:ListItem([Actors],2)">    <img width="70" src="tooltip:ListItem([Actors],3)">    <img width="70" src="tooltip:ListItem([Actors],4)">,)          If(!IsEmpty([Director]),<img width="70" src="tooltip:ListItem([Director],0)">,)          If(!IsEmpty([Creator]),<img src="tooltip:[Creator]" width="70">,)
If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],0)-txt">,)    If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],1)-txt">,)    If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],2)-txt">,)    If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],3)-txt">,)    If(!IsEmpty([Actors]),<img width="70" src="tooltip:ListItem([Actors],4)-txt">,)          If(!IsEmpty([Director]),<img width="70" src="tooltip:ListItem([Director],0)-txt">,)          If(!IsEmpty([Creator]),<img src="tooltip:[Creator]-txt" width="70">,)

It could also be possible to use fixed width font for names and try to make to row first name-last name sets from left to right but aligning like that would also be massive PIA
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #161 on: August 09, 2019, 09:50:32 pm »

Lepa, have you considered just adding the persons name to the image?  Something like this?



Seems like it would be more efficient than using two images per person.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #162 on: August 10, 2019, 06:39:15 am »

Lepa, have you considered just adding the persons name to the image?  Something like this?



Seems like it would be more efficient than using two images per person.
I did it also but but thought that it could lead to more manual work. I think that name image creation could be automated trigger being when "actor name.png" is created into folder => create new image and write that actor name to the image template. Am not so familiar how to do any image automation though and not even sure if I have time or interest going further with this. Just throwing some ideas in the air.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #163 on: August 11, 2019, 03:48:32 am »

One beautiful thing what was introduced with image support was that you can simplify tooltip/TV scripts considerably by creating calculated field (if info needs to be parsed) for every varying icon and utilize that for image displaying. You don't need miles long if decision chains anymore after that.

So for example if tag value for [channels] = "5.1" and you have images in tooltip folder like "channels-5.1.png", "channels-6.1.png" etc... You could just simply call
Code: [Select]
<img src="tooltip:channels-[channels]"> and right image would be chosen to you given you have image named like that in folder. If there is no image then nothing is drawn in the screen.

No need to do anymore something complex like:
Code: [Select]
If(IsEqual([channels],5.1),<img src="tooltip:channels-5.1">,If(IsEqual([channels],6.1),<img src="tooltip:channels-6.1">,If(IsEqual(blah, blah),blah,blah))) etc etc etc.........
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #164 on: August 11, 2019, 10:48:36 am »

Demonstrating above post:
Code: [Select]
If(IsEqual([Media Sub Type],Movie,1), <font size="200"><b>[Name]Delimit([Year],/),/# (#/)Delimit([Access Rating],/),/# (#/)<//b><//font> /[ <font color="#f69838">RatingStars() <//font>/]
<font size="120">If(!IsEmpty([MPAA Rating]),<img src="tooltip:rating-mpaa-[MPAA Rating]-grey">,<img src="tooltip:rating-mpaa-nr-grey">)<//font><font color="#9496a3" size="100"><b>   |   <//b><//font><font color="#9496a3" size="100">Size()   <b>|<//b><//font>   <font color="#9496a3" size="100"><i>Replace([Genre],;,  / // )<//i>   <b>|<//b>   [Date] /([Country]/)<//font>

<font size="150">If(IsEqual([Awards], Oscar, 8),If(IsEqual([Awards], Won, 8),<img src="tooltip:award-oscar-won">,<img src="tooltip:award-oscar-nomination">),)  If(!IsEmpty([Critic Rating]),<img src="tooltip:web-tmdb-wide"> [Critic Rating] ,) 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">),)<//font>
____________________________________________________________________________________________________________________
If(!IsEmpty([Description]),<font size="115">[Description]<//font>,)
If(!IsEmpty([Keywords]), /
/(<i>[Keywords]<//i>/),)
____________________________________________________________________________________________________________________
If(!IsEmpty([Director]),<font size="120" color="#898989"><b>DIRECTOR:  <//b><//font><font color="#ffffff"><i>Replace([Director],;,  / // )<//i><//font>
,)If(!IsEmpty([Actors]),<font size="120" color="#898989"><b>STARS:  <//b><//font><font color="#ffffff"><i>Replace(ListLimit([Actors],5),;,  / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>WRITER:  <//b><//font><font color="#ffffff"><i>Replace([Screenwriter],;,  / // )<//i><//font>
,)If(!IsEmpty([Screenwriter]),<font size="120" color="#898989"><b>PRODUCER:  <//b><//font><font color="#ffffff"><i>Replace([Producer],;,  / // )<//i><//font>

,)If(!IsEmpty([Budget]),<b>BUDGET:<//b> $Math(Trunc([Budget]/1000000,1)) Million  ,)If(!IsEmpty([Gross Revenue]),//  <b>GROSS REVENUE:<//b> $Math(Trunc([Gross Revenue]/1000000,1)) Million
,)If(!IsEmpty([Awards]), <b>AWARDS:<//b> <i>[Awards]<//i>
,)

____________________________________________________________________________________________________________________
<font size="310">If(IsEqual([Notes],HDR,8),<img src="tooltip:resolution-[Resolution]-hdr">,<img src="tooltip:resolution-[Resolution]">)<//font>If(!IsEmpty([Aspect Ratio]),/    <font size="310"><img src="tooltip:aspect-[AR-calculated]"><//font>,)   <font size=310><img src="tooltip:speakers-[Channels]"><//font>   <font size="310"><img src="tooltip:audio-[Audio Codec]"><//font>   <font size="310"><img src="tooltip:studio-ListItem([Production Companies],0)"><//font>
____________________________________________________________________________________________________________________
[Filename]

If(!IsEmpty(FilePlaylists()),Playlists:
  <b>FilePlaylists()<//b>,),)
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #165 on: August 11, 2019, 11:07:06 am »

Lepa, that is a great trick, I was wondering if it would work. I’m glad to see it does.

Question. I notice many of your screenshots have the studio/production company logo (like the Warner Brothers icon in your Bird screenshot). I’m curious where you’re pulling that data from?  Is it the Studio field from MCRatings?  I like the way it looks, but I have over 1,000 studios represented in my library and being the anal retentive completionist that I am it would drive me nuts if I didn’t have a logo for each one  ;D

On a different note, I’m trying to make it so we can search by actor in theater view https://yabb.jriver.com/interact/index.php/topic,121770.0.html
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #166 on: August 11, 2019, 11:19:19 am »

Question. I notice many of your screenshots have the studio/production company logo (like the Warner Brothers icon in your Bird screenshot). I’m curious where you’re pulling that data from?  Is it the Studio field from MCRatings?  I like the way it looks, but I have over 1,000 studios represented in my library and being the anal retentive completionist that I am it would drive me nuts if I didn’t have a logo for each one  ;D
I have just done few biggest ones manually. Most of the movies contains one of big companies anyway. Not taking any pressure and creating one when feels like it. It's more convenient now, when you don't have to modify script but just create image and script will use it if it is found.

Field which get most often populated for me is [Production Companies] not sure is it MC, MCUtils or MCRatings originated..  ::)

I'm lazy and just did like this so it will check 5 fields from list
Code: [Select]
<font size="310"><img src="tooltip:studio-ListItem([Production Companies],0)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],1)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],2)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],3)"><//font><font size="310"><img src="tooltip:studio-ListItem([Production Companies],4)"><//font>
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #167 on: August 12, 2019, 10:21:17 am »

I added a bunch of studio logos to my site, feel free to grab and add any you find.  https://moesrealm.com/MC/mc-images/
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #168 on: August 12, 2019, 01:03:10 pm »

Actually found Python library (Pillow) which could be used to add actor name into actor picture so that would be doable as a mass update. Already tested with one image and preliminarily worked. Would require just a little fine tuning.

BTW I actually used same 20th century fox image but added some lame spotlights there  :D
EDIT: Oh it's not the same after all
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #169 on: August 12, 2019, 01:22:15 pm »

Actually found Python library (Pillow) which could be used to add actor name into actor picture so that would be doable as a mass update. Already tested with one image and preliminarily worked. Would require just a little fine tuning.

That sounds very interesting.  I am not a programmer, so that looks a bit over my head.  It looks like it would just write their name over the image itself, so their name would be superimposed over the actual picture?  I am not sure how that would look.  I could easy write a macro in Photoshop to add blank space under the persons face.  As an example,

turn this into this

If we could get some automated way to pull the actor images from a source, that would go a long way in making this a somewhat realistic goal.  I really, really like the way that it looks in the screens you've shared.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #170 on: August 12, 2019, 01:32:40 pm »

There are plenty of space below before face actually starts at least with those x-files images so I was thinking about overriding from below. Also there are complete example doing that (only misses making that part transparent). So something like this but the part where text is added would be completely transparent. Of course white font will only work for darker backgrounds. Also added blank space below is doable I'm sure but for my taste image will became quite tall and takes room from other stuff to be shown. In my TheaterView Example I also zoomed into faces...

Actually it looks kind of nice also with semi transparent mask.... Readability is my concern or maybe I just need glasses  8)
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #171 on: August 12, 2019, 02:02:22 pm »

That semi transparent mix looks pretty great actually.  I tried it with black text, here was the result



Or with a darker trasparent color and white text



I worry about images where the person's face takes up more of the picture.  Something like this https://image.tmdb.org/t/p/w600_and_h900_bestv2/ks7Ba8x9fJUlP9decBr6Dh5mThX.jpg may look a bit weird.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #172 on: August 12, 2019, 02:20:45 pm »

Yeah, where are the standards when you need it....  :(
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #173 on: August 12, 2019, 02:37:04 pm »

I updated the dark semi transparent mix and really like that look a lot.

I really hope that we can make this a reality in some sort of automated fashion. 
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #174 on: August 17, 2019, 08:35:52 am »

Question, is Theaterview-Audio screen included anywhere?
I like the one shown in first post and could use that for starters as a template.
Still have not got my head around how to start one on my own.
Thanks!
Just noticed this. I have not shared it because it included some special fonts I created. I will publish screen once the image support hopefully gets vertical alignation feature implemented.
Logged

darky

  • Junior Woodchuck
  • **
  • Posts: 74
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #175 on: August 17, 2019, 08:40:53 am »

would it be possible to make this in a skin.zip....for us non skilled users?
I am sure many are hanging around in this forum drooling
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #176 on: August 17, 2019, 01:09:17 pm »

would it be possible to make this in a skin.zip....for us non skilled users?
I am sure many are hanging around in this forum drooling

Unfortunately, not really.  There are a quite a few custom fields being used and a lot of meta data that is pulled using third party tools.  It could, theoretically, be possible.  But JRiver would need to start getting a lot more metadata and create a lot more stock fields.  That said, while it may look hard, once you get started and get a few things working it becomes pretty easy.  If you ever can't figure something out I am sure someone here could assist.  But, it does take time which isn't something we all have disposable amounts of to work on things like this.
Logged

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 538
  • It's not easy being me, but it sure is fun!
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #177 on: August 17, 2019, 04:09:25 pm »

I've got something weird happening, and I'm not sure if it's this version of MC (25.0.92) or what it is. In my Tooltip field, I have the expression
Code: [Select]
FirstNotEmpty([Tooltip - Movie], [Tooltip - Audio])I have two custom fields, Tooltip - Movie and Tooltip - Audio. Worked great up until recently. Now all that is displayed is which ever is first after the FirstNotEmpty in my expression. I can swap them around and the tooltip only displays which ever is first regardless of file type.

Anyone else seeing this? Has something changed and I missing?
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #178 on: August 17, 2019, 05:20:49 pm »

Your expression looks correct to me, mine looks like this

Code: [Select]
FirstNotEmpty([Tooltip - Movie], [Tooltip - TV Show], [Tooltip - Audio])
Mine works as expected.

The only thing that I can think of that would cause that is if your [Tooltip - Audio] field is populated for your movies (or vice versa).  Then it wouldn't be empty and it would display.  Although, I am not even sure if that is possible.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #179 on: August 19, 2019, 10:17:00 am »

MGD, I would try this.  First off, I would back up your [Tooltip - Movie] and [Tool Tip Audio] to a txt file.  I would then fill them in like so

For [Tooltip - Movie] put in

Code: [Select]
If(IsEqual([Media Sub Type],Movie,1),Movie,)
And for [Tooltip - Audio] put in

Code: [Select]
If(IsEqual([Media Sub Type],Audio,1),Audio,)
Then test a movie tooltip to see if it says the word "Movie" and an audio one to see if you see the word "Audio".  I am wondering if you've got a missing bit of code in one of your tooltips that is messing things up. 
Logged

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 538
  • It's not easy being me, but it sure is fun!
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #180 on: August 19, 2019, 10:50:12 am »

MGD, I would try this.  First off, I would back up your [Tooltip - Movie] and [Tool Tip Audio] to a txt file.  I would then fill them in like so

For [Tooltip - Movie] put in

Code: [Select]
If(IsEqual([Media Sub Type],Movie,1),Movie,)
And for [Tooltip - Audio] put in

Code: [Select]
If(IsEqual([Media Sub Type],Audio,1),Audio,)
Then test a movie tooltip to see if it says the word "Movie" and an audio one to see if you see the word "Audio".  I am wondering if you've got a missing bit of code in one of your tooltips that is messing things up.

Thanks Moe. I'll give this a try tomorrow when I get home (currently out of town) and report the results.
Logged

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 538
  • It's not easy being me, but it sure is fun!
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #181 on: August 20, 2019, 07:01:19 pm »

I am wondering if you've got a missing bit of code in one of your tooltips that is messing things up.

Moe, I tried what you suggested and the audio tooltip still didn't show up. However, I got it to work again by making the Tooltip field this:
Code: [Select]
FirstNotEmpty([Tooltip - Audio], [Tooltip - Movie])
I'm not sure why it works that way and not with Tooltip - Movie first, but it does. Thanks for the help!!
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #182 on: August 25, 2019, 06:11:19 pm »

Moe, I tried what you suggested and the audio tooltip still didn't show up. However, I got it to work again by making the Tooltip field this:
Code: [Select]
FirstNotEmpty([Tooltip - Audio], [Tooltip - Movie])
I'm not sure why it works that way and not with Tooltip - Movie first, but it does. Thanks for the help!!

OK, Ill quickly admit I'm a complete idiot when it comes to the coding aspects of MediaCenter but I had the exact problem and after much hair pulling and scratching I found that when I called my audio tooltip Tooltip - Music, everything worked as I expected.  I think my issue is because my music files are tagged with media type audio and media subtype music.  Since I don't have podcasts or other audio files in my library, this is as much resolution as I need but it might bear some scrutiny??
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #183 on: August 26, 2019, 06:04:10 am »

OK, Ill quickly admit I'm a complete idiot when it comes to the coding aspects of MediaCenter but I had the exact problem and after much hair pulling and scratching I found that when I called my audio tooltip Tooltip - Music, everything worked as I expected.  I think my issue is because my music files are tagged with media type audio and media subtype music.  Since I don't have podcasts or other audio files in my library, this is as much resolution as I need but it might bear some scrutiny??
Good catch.

@MGD_King:
 - you should use
If(IsEqual([Media Type],Audio,1),GENERAL AUDIO TOOLTIP,)
and not [media sub type] as it doesn't have audio value.
By default any audio file in MC gets values [Media Type] = Audio and [Media Sub Type] = "". So if you want to use something more precise i.e separate different audio types to sub types you would need to fill [Media Sub Type] by hand or in the auto import rule. Then You could use different tooltip for example for music and audiobooks.

So with separate audio tooltips your calculated tooltips would be something like this:
[Tooltip] = FirstNotEmpty([Tooltip - Music], [Tooltip - Audiobook], [Tooltip - Movie])
[Tooltip - Music] = If(IsEqual([Media Sub Type],Music,1),CODE IN HERE WILL SHOW MUSIC TOOLTIP,)
[Tooltip - Audiobook] = If(IsEqual([Media Sub Type],Audiobook,1),CODE IN HERE WILL SHOW AUDIOBOOK TOOLTIP,)
[Tooltip - Movie] = If(IsEqual([Media Sub Type],Movie,1),CODE IN HERE WILL SHOW MOVIE TOOLTIP,)


Simple Audio tooltip example which will handle all the audio (name doesn't matter for MC it is just describing name for us humans but of course needs to match the field you have made):
[Tooltip] = FirstNotEmpty([Tooltip - Audio], [Tooltip - Movie])
[Tooltip - Audio] = If(IsEqual([Media Type],Audio,1),CODE IN HERE WILL SHOW TOOLTIP FOR AUDIO,)
[Tooltip - Movie] = If(IsEqual([Media Sub Type],Movie,1),CODE IN HERE WILL SHOW TOOLTIP FOR MOVIES,)
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #184 on: August 30, 2019, 09:25:21 pm »

Does anyone have a nice high def color quality png logo file for AllMusic?  The best I found was 168X30 and half of the logo is black.  Doesn't show up well on a black skin   :o
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #186 on: August 31, 2019, 12:55:22 pm »

I got something new to share.

Banners




or Logos





I found this program called Mediaelch which makes getting cover art, banners, logos, etc. very easy.  I then made a new field, currently called logos (I haven't decided between logos or banners) and it has one of these two values.

For logos

Code: [Select]
<img src="[Filename (path)]logo.png" width="800">
For Banners

Code: [Select]
<img src="[Filename (path)]banner.jpg" width="1000">
Then, as long as you have a file named logo.png or banner.jpg in the same directory as your movie, it will display.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #187 on: August 31, 2019, 02:15:01 pm »

Nice! I particularly like transparent logos replacing movie name.
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #189 on: August 31, 2019, 07:46:00 pm »

OK, I can see some serious potential with this  ;D
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #190 on: September 01, 2019, 12:01:01 am »

 I agree, it looks pretty awesome. :) 
Logged

lepa

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

I like it. It is nice to see that all the shared screens here are some kind of hybrids of self made and others work and especially when there is some own twists there which others can then copy 8) That is one of the big purposes of this thread I think.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #192 on: September 01, 2019, 11:55:43 am »

I agree Lepa, I've definitely gotten some inspiration from other peoples views. 
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #193 on: September 01, 2019, 12:00:04 pm »

I agree Lepa, I've definitely gotten some inspiration from other peoples views.

Not to mention how instructive it is to see how others use the scripts/code to their advantage.  I've always learned more from taking things apart than from reading manuals or wiki's.  Just ask my parents about their Coco clock, or their car, or the HVAC system. . . ;D
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #194 on: September 02, 2019, 12:54:37 am »

I've been playing with logos a bit.  I think this looks pretty cool, but I am not 100% sold on it...



One thing I can't figure out, at least not gracefully, is how to display the name of the movie if I don't have the logo for it.  I tried If(!IsEmpty([Logo]),[Logo],[Name]) but since my logo field is always filled (<img src="[Filename (path)]logo.png" width="800">) it's never empty so it won't fall back to plain text.
Logged

Absinthe

  • Guest
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #195 on: September 02, 2019, 03:39:17 am »

How about a pretest using IsMissing(filepath)?


The IsMissing() function tests for the existence of a file in the file system. If the file is missing, the function returns 1, otherwise 0 is returned if the file exists. This function is useful for checking for missing files in a Library. IsMissing() treats special entries such as ripped Blu-ray or DVDs as single files, even though they physically exist in the file system as several files and directories.
Note: Any view or list that uses IsMissing() will be slow, is Media Center must interrogate each referenced file in the file system. The larger the number of files being queried, the longer it will take to produce results. Use IsMissing() with care.

Not sure if this qualifies as elegent and has the potential to be slow but might be worth a look-see?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #196 on: September 02, 2019, 04:24:27 am »

IsMissing will definitely result in those views having potential performance issues, especially in key expressions like view text that'll be evaluated a lot.

Honestly, personally I'm not liking that style as much. Most of the time the logo is just duplicated from a bit further up in the poster anyway, and having a clearly readable name to go with the poster seems like a plus to me.
Logged
~ nevcairiel
~ Author of LAV Filters

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #197 on: September 02, 2019, 09:49:06 am »

I kind of agree with Hendrik although I could use logo text in big screen for few iconic logos which are familiar to everybody like Indy and Back to the Future and such.

IsMissing() will surely slow things up massively and you need to have server available for every view change so if you want to check existance of the file maybe it would be better to do it with new custom db field [LogoExist] or something like that which you would populate originally from IsMissing() call. It would be of course manual or semi-automatic batch job but then you didn't have check every file real time.
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #198 on: September 02, 2019, 10:05:40 am »

it would be better to do it with new custom db field [LogoExist]

That was the ungraceful solution that I came up with as well. 

I am abandoning this idea though.  You can no longer hit the letter G on your keyboard and jump down to the movies that begin with G.  That's a deal breaker for me. While I do think it looks kind of cool, I think I'd get tired of it in a hurry.

Still, loving the image functionality that we have now!
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 695
  • Hi
Re: Create Custom Tooltips/TheaterView Screens Using Dolby etc. Logos
« Reply #199 on: September 08, 2019, 03:03:51 pm »

I've been playing around with my audio tooltip, not 100% sure about this layout, I am afraid it's presenting a little too much information.



That review is right, I can 100% remember the first time I heard that album.
Logged
Pages: 1 2 3 [4] 5 6 7 8 ... 18   Go Up