INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: [INFO] Customizable Tooltip Capability  (Read 24727 times)

makersjam

  • Recent member
  • *
  • Posts: 45
[INFO] Customizable Tooltip Capability
« on: August 05, 2015, 06:11:32 pm »

I've been requesting this since 2011 and getting no love.  :-\

A few others would like to see this too.

http://yabb.jriver.com/interact/index.php?topic=67454.msg452751#msg452751

thank you!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #1 on: February 04, 2016, 10:03:30 am »

Logged
Matt Ashland, JRiver Media Center

makersjam

  • Recent member
  • *
  • Posts: 45
Re: [INFO] Customizable Tooltip Capability
« Reply #2 on: February 04, 2016, 11:54:58 am »

Thanks Matt! That is awesome!  ;D
Logged

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #3 on: February 04, 2016, 12:09:25 pm »

HTML tags don't seem to work right with a custom tooltip.
If I set one line as bold or italic, every line below it is also bold/italic.
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: [INFO] Customizable Tooltip Capability
« Reply #4 on: February 04, 2016, 12:14:26 pm »

I thought this should be documented in a thread so it can be found by searching the Forum:

In Standard View there's a "Hover info box" (for the lack of a better name/description) that appears when you leave your mouse pointer stopped for about 1 second over a Movie or a Music track.

It would be intuitive ... scratch that... it would be not just intuitive but *great* if we had the ability to configure what info appears there by using the Expression Language.

I would like to be able to select the info that I find important to be displayed in that "Hover info box".

An idea similar to the "Thumbnail Text..." dialog box seems like the perfect fit for this customization.

I was looking everywhere for a way to customize this "info box" to no avail.

Thanks

You can create a library field named "Tooltip" and fill it in with an expression to display in the "Calculated data" portion of the field.

Then you have full control over the tooltip information that's displayed.

It was this change:
20.0.88 (3/30/2015)
Changed: If there's a custom library field created called Tootip and it evaluates to non-empty, it will be used for the text of the tooltip.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #5 on: February 04, 2016, 12:39:01 pm »

HTML tags don't seem to work right with a custom tooltip.
If I set one line as bold or italic, every line below it is also bold/italic.

I just entered this:
<font color="f08000">[Artist]<//font>
[Album]
< b>Ha!<//b>

And that worked great.

The first line was colored, the album was normal, and Ha! was bold.

Note that I added a space after the bracket for the b because otherwise the forum goes to town with it.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #6 on: February 04, 2016, 12:45:19 pm »

Note that I added a space after the bracket for the b because otherwise the forum goes to town with it.

Next time wrap it in code tags:
Code: [Select]
<font color="f08000">[Artist]<//font>
[Album]
<b>Ha!<//b>
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #7 on: February 04, 2016, 12:48:54 pm »

My mistake, you need double slashes for it to work correctly.
It seems that it just interprets < /b> as a new bold tag.
Logged

xpto

  • Recent member
  • *
  • Posts: 32
Re: [INFO] Customizable Tooltip Capability
« Reply #8 on: February 04, 2016, 01:59:11 pm »

Matt, thanks for pointing us in the right direction of having the info we need in the tooltips at our fingertips ;D

I've just been playing with it for a while.

One item for you please to consider:

By default the tooltip will always print the 'Filename' as the last line of the tooltip and it seems there is no way of not having it there.

In reality, the 'Filename' was one of the items I was trying to remove from the tooltip.

Reason is that when I'm browsing my Movie / Music collection I'm not really interested by default in knowing the filename a particular item points to.

For movies I'm interested in things like [Name] or [Year] or [Director], not if it's located in drive F: in some odd folder.
In fact, I'm trying to hide all that path complexity from the tooltip and focus on the Movie and the related information that matters to me while browsing my collection.

Same for music tracks, I'm interested in [Name], [Artist], [Album], [Rating] but not that it lives somewhere in drive M:

Besides, if anyone is interested in having the [Filename] in there, it's just a matter of adding it to the [Tooltip] field.

This is my current customization of [Tooltip] field (just to prove the point above):

[Name] - [Year]
[Comment]
[Filename]

With the example above [Filename] will be listed twice in the tooltip.

Thanks for considering this change request
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #9 on: February 04, 2016, 02:03:24 pm »

My mistake, you need double slashes for it to work correctly.

/ is the escape character in the Expression Language. To insert any literal-/ you must double them:
http://wiki.jriver.com/index.php/Expression_Language#Expression_Language_Syntax
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #10 on: February 04, 2016, 03:56:57 pm »

I would also like filename to be optional in custom tooltips.
xpto I'm still trying to figure things out but rules like this seem to work.

Code: [Select]
<i>If(IsEqual([Media Type], Audio, 1), [Album Artist (auto)], If(IsEqual([Media Type], Video, 1), Delimit([Director], , Directed by/ ), / ))<//i>
/ is the escape character in the Expression Language. To insert any literal-/ you must double them:
http://wiki.jriver.com/index.php/Expression_Language#Expression_Language_Syntax
Yeah. I read that it used HTML code and used HTML without the double slashes.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #11 on: February 04, 2016, 05:50:31 pm »

I think we could just remove the filename because it's easy enough to enter [Filename].  I'll look at it tomorrow.  Wish me luck!
Logged
Matt Ashland, JRiver Media Center

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: [INFO] Customizable Tooltip Capability
« Reply #12 on: February 04, 2016, 07:14:56 pm »

Quite frankly Matt, that's pretty cool if it can be done


Thanks for this!
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #13 on: February 04, 2016, 07:33:25 pm »

I just think it is awesome how Matt went back in time and added the feature for each of you.  ;D

Can I get me some of that time machine action too? I'm happy to come to you, even in the winter.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #14 on: February 05, 2016, 09:01:02 am »

Success!  Coming next build:
Changed: The filename is no longer added to custom tooltips (customized with the Tooltip field).  Just add [Filename] if you want it.
Logged
Matt Ashland, JRiver Media Center

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: [INFO] Customizable Tooltip Capability
« Reply #15 on: February 05, 2016, 09:55:51 am »

I've been reading this thread and I would like to modify the Tool Tips too, but I can't find the post with the instructions (I think it involved creating a new Library Field "Tool Tips" and adding some expressions).

Where is the post with the instructions? In Matts post (Reply #1) there is a link, but it looks like posts are missing on that thread (note Reply #44 references another post that is no longer there).

Anyways, can someone point me to the Thread explaining how to create custom Tool Tips?

Thanks
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #16 on: February 05, 2016, 10:16:16 am »

Yeah. Matt's post got removed somehow (Jim was messing about with the Too Easy thread, I'd assume).

It's easy. Make a new custom calculated field called [Tooltip]. That's what gets displayed, if it exists. If not, it uses Matt's built in logic.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #17 on: February 05, 2016, 10:16:42 am »

Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #18 on: February 05, 2016, 10:17:00 am »

I'll merge that one in.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: [INFO] Customizable Tooltip Capability
« Reply #19 on: February 05, 2016, 10:53:54 am »

^ This should tell you the basics:

http://yabb.jriver.com/interact/index.php?topic=99227.msg715402#msg715402

Brian.

That link is this thread. What am I missing here?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9165
Re: [INFO] Customizable Tooltip Capability
« Reply #20 on: February 05, 2016, 11:28:47 am »

I like my audio tooltips a bit larger...


I get this by adding a series of empty 'new lines' in the description field. Back when this was introduced, I tried and failed to get this using expressions in the tooltip field.

Does anyone know how to get an expression to output a series of blank 'new lines'?

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #21 on: February 05, 2016, 12:13:37 pm »

That link is this thread. What am I missing here?

That link, when I posted it, pointed to *another* thread started by KStuart.  The quote in that post is what Matt originally wrote to describe how this works.  It's all there.  15 minutes after I posted the link, Glynor merged that thread into this one.  So now the information is here in the same thread.

Brian.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #22 on: February 05, 2016, 12:18:31 pm »

I get this by adding a series of empty 'new lines' in the description field. Back when this was introduced, I tried and failed to get this using expressions in the tooltip field.

Does anyone know how to get an expression to output a series of blank 'new lines'?

In Manage Library Fields, set up Tooltip to be Calculated Data.  Then put in all the fields you want, in the order and formatting you want.  Finally, type a bunch of returns, until you think you have enough.  'Voila, "big ol' tool tip".  I just tested it; works as expected.

I can't believe I'm actually helping Marko!  Your posts have helped me an ENORMOUS amount.  Thank you.  I feel honored that I can pay you back in this tiny way.  :)

Brian.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: [INFO] Customizable Tooltip Capability
« Reply #23 on: February 05, 2016, 12:19:45 pm »

if it accepts HTML could you not use
Code: [Select]
<br> for the line breaks?

anyways just a thought, i haven't had time to play with the new tooltip yet but soon
Logged

rudyrednose

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 344
  • nothing more to say...
Re: [INFO] Customizable Tooltip Capability
« Reply #24 on: February 05, 2016, 12:42:31 pm »

I have a question.
The standard tooltips are already quite good.

In my movies, i would like to append another field, [language], to the existing tooltip.
However, how can I embed the existing tooltip content when I create a Tooltip calculated field ?

Can it be done, or I need to replicate all the existing logic ?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9165
Re: [INFO] Customizable Tooltip Capability
« Reply #25 on: February 05, 2016, 03:01:40 pm »

Thanks Brian (for the kind words too),

I had that, but, if I want the line returns first, and maybe some select info at the bottom of the tip, I can't make that happen.... MC ignores the new lines until it finds data to output. Escaping the new lines doesn't work.

I wondered if there was a special character (alt+1234 kind of thing perhaps?) that would force the  new line.

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #26 on: February 05, 2016, 03:53:57 pm »

That link is this thread. What am I missing here?

I fixed it.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #27 on: February 05, 2016, 03:56:28 pm »

I had that, but, if I want the line returns first, and maybe some select info at the bottom of the tip, I can't make that happen.... MC ignores the new lines until it finds data to output. Escaping the new lines doesn't work.

I wondered if there was a special character (alt+1234 kind of thing perhaps?) that would force the  new line.

HTML Line breaks maybe?

Code: [Select]
<br> or <p>
But Brian seems to say that regular Returns work...
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #28 on: February 05, 2016, 04:30:05 pm »

I had that, but, if I want the line returns first, and maybe some select info at the bottom of the tip, I can't make that happen.... MC ignores the new lines until it finds data to output. Escaping the new lines doesn't work.

That's whacky.  It works fine here on MC21.0.31 for Mac.  See attached screen shot.  I just typed a bunch of return characters before the expressions and it inserted them.  Maybe try some kind of garbage character first like . or , or / or something else innocuous.  Then type all of the returns.

Brian.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #29 on: February 05, 2016, 06:32:07 pm »

ProTip for anyone doing this:

If you want to make different Tooltips for different media types, make the expression for each media type you want to cover its own, separate, Calculated Field:

[Tooltip - Music]
[Tooltip - Audiobook]
[Tooltip - Podcast]
[Tooltip - Other Audio]
[Tooltip - TV Show]
[Tooltip - Movie]
[Tooltip - Other Video]
etc

In the expressions you enter for those, wrap each one in its own If() statement that checks the media type (is it a Video file and a TV Show, or is it an Audio file and Music, etc). You want it to output your desired Tooltip text if it is true, and blank if it is false.

Then, your actual [Tooltip] expression can just be one big FirstNotEmpty() statement. Just line up all of the other expression fields you made! That will keep you from getting into some kind of giant multi-tentacled monster you'll never be able to edit later.

Just make sure at the end of the "chain" you have some kind of catch-all to catch otherwise unmatched types, if you want them to be custom, or make it "fall through" to blank (which will result in Matt's default ones).
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #30 on: February 05, 2016, 07:07:30 pm »

^  Hey that's pretty good!  I was thinking of making a three tiered system like Album Artist uses.  Something like [Tooltip], [Tooltip Base], and [Tooltip Custom], where Base is a calculated field and Custom is user editable, so you can do overrides.

I was mentally preparing for kind of a horribly complicated expression to cover only 3 media types (Music, Movies, TV Shows), but your technique makes the pieces smaller and easier to handle.  I like it.  It could also be combined with my override system if I feel the need.  The only question now is how to make an override that just uses the original built in default... but that's probably not necessary actually.

Thanks for sharing Glynor.

Brian.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #31 on: February 05, 2016, 07:32:01 pm »

That's the beauty of FirstNotEmpty().  You leave the last value blank (just a comma with the close parenthesis after it).

If [Tooltip] doesn't exist, or evaluates to blank, then it will use Matt's built-in tooltip (the regular one).

So each "sub expression" sees if it should apply itself. If so, great, it does, and execution stops and it spits out the value. If not, then it passes through blank. Then FirstNotEmpty() checks the next expression and the next until it finds one that applies. Structure your sub-expressions in the FirstNotEmpty() statement from most-specific (only TV Shows where [Genre] is News, for example) to least specific (Media Type is Video). If none apply (you didn't bother to make one for that media type, or the default is fine as-is) then just don't do anything, and it'll keep on passing through blank and you'll get Matt's built-in.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #32 on: February 05, 2016, 08:39:45 pm »

I follow your logic, but it doesn't allow an override.  For example, what if I have (using your example) Video with Genre News, but for one or more of those videos, I want to change the Tooltip?  I'd need some way of indicating that in the expression.  I could have another variable that FirstNotEmpty checks first I guess, if I wanted something custom.

I need to think about the use cases here.  I'm probably making this complicated for no good reason.  Having a Tooltip expression, per Media Type and Subtype should be flexible enough.

Brian.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #33 on: February 05, 2016, 09:05:04 pm »

I follow your logic, but it doesn't allow an override.

It sure as heck does!

You get most of it, but you're missing an important bit, I think:
Structure your sub-expressions in the FirstNotEmpty() statement from most-specific (only TV Shows where [Genre] is News, for example) to least specific (Media Type is Video).

It works just like the File Info Templates in Theater View. You order them from most specific to least specific in the FirstNotEmpty(). So, to take it to a ridiculous example, say you have this field:
[Tooltip - My Override for Just This One File]

And in its expression, it has If(IsEqual([Filename],m:\path\to\some\file\I\want\to\override.mkv, 1), My Tooltip Template,)

As long as your FirstNotEmpty() has [Tooltip - My Override for Just This One File] listed as the first (of perhaps many) entries, then it'll override everything else. FirstNotEmpty() spits out the first thing it encounters that isn't empty, and then stops. So, whenever it is evaluated on that file, it is going to spit out "My Tooltip Template" and it doesn't matter what else is in the FirstNotEmpty() "chain".

Obviously, that's an extreme example, but you could have a checkbox field, or something if you need a manual override. Most of them, I imagine would be looking at other properties. So, the ones near the "front" of the FirstNotEmpty() would be Video, TV Show, Genre, and maybe on a particular drive or something. Then "further down" in the FirstNotEmpty() you have one that just matches Video and TV Show.  The ones that already "matched" would have already "tripped" and been spit out.

You "override" by making a different filter that will work and is more specific, and put it closer to the beginning of the FirstNotEmpty() "chain".
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #34 on: February 05, 2016, 09:09:36 pm »

It also occurs to me that you don't even need the extra empty comma at the end of the FirstNotEmpty() statement. You do need it at the end of each of the If()s in the sub-expressions (so they give out a "false" value of empty. But I'm pretty sure the FirstNotEmpty() will not spit out anything if all of the values in there evaluate empty. It will just be omitted, and since your [Tooltip] consists entirely of this one FirstNotEmpty() statement, that means [Tooltip] will evaluate empty.

And Matt's built-in Tooltip will pass through.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #35 on: February 05, 2016, 09:52:06 pm »

It also occurs to me that you don't even need the extra empty comma at the end of the FirstNotEmpty() statement. You do need it at the end of each of the If()s in the sub-expressions (so they give out a "false" value of empty. But I'm pretty sure the FirstNotEmpty() will not spit out anything if all of the values in there evaluate empty. It will just be omitted, and since your [Tooltip] consists entirely of this one FirstNotEmpty() statement, that means [Tooltip] will evaluate empty.

And Matt's built-in Tooltip will pass through.

Yep. This works. Just tested it.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #36 on: February 05, 2016, 11:29:11 pm »

Okay, Brian previously asked Matt if he could provide the expression used for the existing tooltips. He couldn't because they aren't actually built in the expression language, so we have to come up with replicas on our own. Well, I don't have them all done by any means, but...

I did just, pretty closely, replicate the stock TV Show tooltip, using the system described above. I've also made a couple of (easily reversed) improvements, and I made one minor alteration because I'm lazy and it was way easier to do it this way. In any case, you should be able to use this as a base for TV Show episodes, at least.

Here's an example of the stock TV Show tooltip:


My custom one produces:


But, importantly, it still works if some of that data is missing (which takes some elbow grease to pull off):


Reproducing this is easy. I have two separate calculated fields defined...

[Tooltip]
Code: [Select]
FirstNotEmpty([Tooltip - TV Show])
[Tooltip - TV Show]
Code: [Select]
If(IsEqual([Media Sub Type],TV Show,1), <font size="140"><b>TVInfo(SeasonEpisode)Delimit([Name],,/ •/ )Delimit([Series],,/ •/ )<//b>Delimit([Year],/),/# (#/)Delimit([Access Rating],/),/# (#/)<//font>
<font size="115">TVInfo(SizeDisplay)If(!IsEmpty([Compression]),/ •/ [Compression],/ •/ [File Type])<//font>

If(!IsEmpty([Description]),[Description]

,)If(!IsEmpty([Genre]),<b>Genre:<//b> [Genre]
,)If(!IsEmpty([Director]),<b>Director:<//b> [Director]
,)If(!IsEmpty([Screenwriter]),<b>Screenwriter:<//b> [Screenwriter]
,)If(!IsEmpty([Actors]),<b>Actors:<//b> [Actors],)
,)

General Notes:

* Because of the FirstNotEmpty() in [Tooltip] (as described above), all of the original tooltips (Movies, Music, Podcasts, etc) still pass through, except for TV Show episodes. Those get the custom output.

* All of the spacing should be right, whether the different values are there or not (this took quite some doing).

In [Tooltip - TV Show], to Matt's "original" Tooltip, I added:

* TVInfo(SeasonEpisode) with a bullet to the front of the episode name - This produces output like: [Season].[Episode]. But it does so in a "smart" way and omits the period and whatnot when it makes sense to do so.

* The contents of [Compression] are used, if not empty, instead of [File Type]. If [Compression] happens to be empty, then it "fails to" [File Type] instead.

* I added [Genre] as one of the pieces of metadata shown below the [Description].

* My title-line text isn't quite as big as the original. If you want it to match exactly, I think you'd want to go to around 145%. I thought 140% looked good, since I was making that title line a bit longer anyway by adding the Season.[Episode] identifier, but this is still pretty close.

I also made one minor change, due mostly to laziness:

* In Matt's original, it goes: [Duration] • [File Type] • [File Size]. But [Duration] and [File Size] are both "nicely rounded" so that they display well depending on the size of the file.

* It would be tough to recreate this magic rounding by hand (probably not impossible, but it made my brain hurt). But we do have TVInfo(SizeDisplay). This does the same "magic rounding" thing, but not in quite the same order.  I like this version just as well, and it is way easier to do that the original.

[Filename] Notes:

* One thing that needs to be added is a proper [Filename] passthrough. Matt just fixed it so that [Filename] isn't permanently part of the Tooltip, but that isn't in an available build yet. So, we'll have to wait and add that to the very bottom later.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: [INFO] Customizable Tooltip Capability
« Reply #37 on: February 06, 2016, 05:01:48 am »

Nice glynor! Thanks for sharing. Works great.
Logged

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #38 on: February 19, 2016, 01:06:33 pm »

I'm having trouble finding the specific combination of things that causes it to happen, but for some files that have a comment tag, there is always a blank line and the comment inserted at the bottom of custom tooltips.
All of the affected files seem to be video podcasts that were downloaded by JRiver itself.

There is only [Name] in my tooltip for this:
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [INFO] Customizable Tooltip Capability
« Reply #39 on: February 19, 2016, 02:24:36 pm »

Okay, Brian previously asked Matt if he could provide the expression used for the existing tooltips. [...]

I did just, pretty closely, replicate the stock TV Show tooltip, using the system described above.

I forgot to thank you for this when you posted.  Thanks!  That must have been quite a bit of work to get it right.

Brian.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: [INFO] Customizable Tooltip Capability
« Reply #40 on: February 19, 2016, 02:53:41 pm »

It took some fiddling, for sure.

I have added [Filename] in with the new builds, and it still works fine.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #41 on: February 24, 2016, 08:56:55 am »

I'm having trouble finding the specific combination of things that causes it to happen, but for some files that have a comment tag, there is always a blank line and the comment inserted at the bottom of custom tooltips.
All of the affected files seem to be video podcasts that were downloaded by JRiver itself.

There is only [Name] in my tooltip for this:
This bug is still in 21.0.50
Logged

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #42 on: March 07, 2016, 10:10:47 am »

Bump
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #43 on: March 07, 2016, 10:11:50 am »

Could you describe the bug you're seeing in more detail?  I haven't been able to reproduce anything.

Thanks.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #44 on: March 07, 2016, 10:25:18 am »

Could you describe the bug you're seeing in more detail?  I haven't been able to reproduce anything.

Thanks.
Edited:

Podcasts are showing their description at the bottom of the tooltip below everything else, even if [Description] is not being used in the custom tooltip at all.
It seems to happen with any file on a subscribed podcast list.
Tagging other files as podcasts doesn't seem to cause this.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #45 on: March 07, 2016, 10:35:55 am »

And what's a feed URL that will provide videos from Podcasting?

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: [INFO] Customizable Tooltip Capability
« Reply #46 on: March 07, 2016, 10:54:15 am »

Changed next build:
Changed: The comment from a Podcast would still get added below a custom tooltip, but no longer does.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: [INFO] Customizable Tooltip Capability
« Reply #47 on: March 07, 2016, 11:53:23 am »

That was quick, thanks.
Logged

lynes88

  • Recent member
  • *
  • Posts: 39
Re: [INFO] Customizable Tooltip Capability
« Reply #48 on: March 08, 2016, 10:34:40 am »

Sorry Guys... I read through this thread many times and just got lost.  I really wanted to make one simple change to my mouse hover view for movies.  When I pause over the cover art in standard view, the pop-up list of information does not include the movie Rating (like "R" or "PG") that it gets from TMDB metadata.  I tried fumbling around with this Tooltips idea but since I am not "advanced" with these type of enhancements... I just could not figure this out.

I need help navigating from the main menu to get me to the right place for this.  And is there a way to just simply add this field to my current view without having to go through all the trouble of creating a new custom view?

I know I can see this in Theater View... but the kids like using standard view, but it would be helpful to know the rating of a film to double check their choice....  and yes, parental control is next.  Saw my son clicking on 50 shades of grey last time...... lol
Logged

lynes88

  • Recent member
  • *
  • Posts: 39
Re: [INFO] Customizable Tooltip Capability
« Reply #49 on: March 30, 2016, 06:12:59 pm »

bump to my own question... any help?
Logged
Pages: [1] 2   Go Up