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 100034 times) previous topic - next topic
0 Members and 1 Guest 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.

 
SimplePortal 1.0.0 RC1 © 2008-2021