Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Foo_osd (Read 122147 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Foo_osd

Reply #176
Tweaked my old one in above post. (see below the code)

I did notice that the text is cut at the base of the bottom line. Is there any way to fix that? See particularly the S and C for Comment and Style.

Code: [Select]
$if(%isplaying%,
$puts(pipe,$rgb(255,255,255) . )
$puts(genre,$rgb(255,0,128)$replace(%genre%,'/',$rgb(128,128,128)'/'$rgb(255,0,128)))
$puts(title_and_album,$rgb(255,0,128)%artist% $rgb(255,255,255)▪ $rgb(255,0,128)%title% $rgb(255,255,255)Album. $rgb(255,0,128)%album%$crlf())
$if($longer(%comment%,0),$get(title_and_album)$rgb(255,255,255)Comment. $rgb(255,0,128)%comment%,$get(title_and_album)$rgb(255,0,0)No comment)
$if($longer(%style%,0), $rgb(255,255,255)Style. $rgb(255,0,128)%style%, $rgb(255,0,0)No Style)
$if($longer(%genre%,0), $rgb(255,255,255)Genre. $get(genre), $rgb(255,0,0)No Genre)
 $rgb(255,255,255)Progress. $progress(%_time_elapsed_seconds%,%_time_total_seconds%,40,$rgb(255,0,128)' (◣_◢) ',$rgb(128,128,128)'-')
,
$rgb(0,0,0)'(◣_◢)')



Re: Foo_osd

Reply #177
Hiyas, is any chance to change the volume bar to move proportionally with the toolbar volume slider?
I think OSD bar moves from 0 → -100dB linearly so -50db is directly in the middle (if I choose minimum displayable value as -100dB), while standard slider's -50dB is very close the left edge which is natural for volume. I think this should be changed.

Here watch the cap which shows it clear:
https://www.screencast.com/t/KshPFeteI4Qv

What I wished is to remove the displayable minimum (or leave only for linear mode) and add exponential mode which always has -100dB at left edge and 0dB at right edge.

Re: Foo_osd

Reply #178
I was if wondering OSD would work with %cwb_volume% to show a muted and unmuted state such as:

Code: [Select]
$ifgreater(%cwb_volume%,-100,unmuted,muted)

Re: Foo_osd

Reply #179
Probably not.


Re: Foo_osd

Reply #181
Hah, yeah, sure. Just show me what I need to do to make it work. Because global formatting hooks haven't been a thing since 0.9.4.5.

Re: Foo_osd

Reply #182
kode54 have you any thoughts for the logarithmic/exponential mode of the volume bar? I'd really find it more suitable.

Re: Foo_osd

Reply #183
The core already reports the volume in a logarithmic fashion: In decibels. I already had to convert it back to linear to display it as a sort of percentage.

Re: Foo_osd

Reply #184
So it's not possible to change it to move proportionally with volume slider?

Re: Foo_osd

Reply #185
Hello!
how to see radio (online) tags?

Re: Foo_osd

Reply #186
ChkBox  - Strem Title ..


Re: Foo_osd

Reply #188
Just updated my formatting for my constant display on-screen.



Code: [Select]
$if(%isplaying%,
$puts(pipe,$rgb(255,255,255) . )
$puts(genre,$rgb(255,0,128)$replace(%genre%,'/',$rgb(128,128,128)'/'$rgb(255,0,128)))
$puts(title_and_album,$rgb(255,255,255)Artist/Title.  $rgb(255,0,128)%artist%$rgb(255,255,255) ▪ $rgb(255,0,128)%title% $rgb(255,255,255)Album.  $rgb(255,0,128)%album%)
$if($longer(%comment%,0),$get(title_and_album)$rgb(255,255,255) Comment.  $rgb(255,0,128)%comment%,$get(title_and_album)$rgb(255,0,0)No comment)
$if($longer(%style%,0), $rgb(255,255,255)Style.  $rgb(255,0,128)%style%, $rgb(255,0,0)No Style)
$if($longer(%genre%,0), $rgb(255,255,255)Genre.  $get(genre), $rgb(255,0,0)No Genre)
 $rgb(255,255,255)Progress.  $rgb(255,0,128)$progress(%_time_elapsed_seconds%,%_time_total_seconds%,40,$rgb(255,0,128)' (◣_◢) '%playback_time% ,$rgb(128,128,128)'-') $rgb(255,255,255)%length%,
$rgb(0,0,0)'(◣_◢)')



Re: Foo_osd

Reply #189
Is there a way to show the next following title in the playlist?

Re: Foo_osd

Reply #190
Not with the SDK available. Predicting the next track is outside the scope of the SDK, and requires hard coding behavior of every linear/predictable track order mode, and ignoring the shuffle modes.

Re: Foo_osd

Reply #191
It seems that there has not been an answer to Anakunda's question.

I have the exact same problem with the volume display in OSD; it in no way corresponds with the position of foobar2000's volume slider. My OSD volume slider reaches zero (totally empty bar) when music is still loudly audible (with my foobar2000 volume setting still having another ~25% to go before it reaches zero). The scale and rate of movement in the OSD volume bar seem totally unrelated to the actual volume.

I did try adjusting the 'minumum' value, but if I managed to get OSD aligned at the quiet end then it would be completely wrong at the loud end (and vice versa).


Re: Foo_osd

Reply #193
Thanks for your reply.

If you wouldn't mind, could you give a bit more detail on what I'd need to do, because I'm not very experienced with this and so I don't know where VolumeMap.h is, or what I should be doing with it.


Re: Foo_osd

Reply #195
Ah, I see.

So scaling information is available in the SDK which kode54 could make use of to adjust the scale of his OSD to match. Hopefully he will consider updating the component, because it would be a huge and welcome improvement.

Thanks for the clarification.

Re: Foo_osd

Reply #196
@kode54: Do you plan to work on foobar 2.0 compatibility for foo_osd ?


Re: Foo_osd

Reply #198
Wow. I see. Thanks for the info. It's as dead as possible.
Thanks, kode54, for this useful plugin and for all contributions on Foobar2000. I hope someone will continue it, or rewrite an equivalent.

Re: Foo_osd

Reply #199
The source code is there for anyone to continue: https://github.com/losnoco/foobar2000

Kudos to kode54 and all my support (although I suppose he will not read this). I'm freaking out reading his blog entry. Racism and LGTBQ+phobia is a real problem (and have seen other multiple stupid behaviors on the forum too), and I totally understand someone wants stop working in a space where those basic things are not understood. It's a pity and a great loss, but I understand it.