jacquesh / foo_openlyrics

An open-source lyric display panel for foobar2000
MIT License
436 stars 25 forks source link

Support configuring the text displayed when no lyrics are available #57

Open mjm716 opened 3 years ago

mjm716 commented 3 years ago

-Ability to edit the default display when no lyrics are present? -Ability to (mouse-wheel) scroll lyrics?

jacquesh commented 3 years ago

Yeah editing the default display is a thing I could do probably. What would you set it to be?

You can already mouse-wheel scroll if you set scrolling to manual (in the display settings). I'm unlikely to add the ability to scroll manually when automatic scrolling is enabled.

mjm716 commented 3 years ago

Optimal would be default display field to be user-customized with titleformat code.

Thanks for manual tip. Perhaps (if synced lyric exists and) if manual is set, there is a ctrl-click option for "sync to playing" so user can quickly get to accurate playing point.

jacquesh commented 3 years ago

Yes indeed, a customisable titleformat string is what I would make it if I added the option.

My question is: What would you set it to, if not the existing default? :)

mjm716 commented 3 years ago

Not saying that full titleformatting code is necessary - simple text, tags and linebreaks could be enough - but I'm partial to info overload and have obsessively complete tags, so just a lot more. ;)

`$if(%isplaying%,,Play some music.)

[%artist% _ ][%title%][$replace($max(%play_count%,%lastfm_play_count%),1,$char(185),2,$char(178),3,$char(179),4,$char(8308),5,$char(8309),6,$char(8310),7,$char(8311),8,$char(8312),9,$char(8313),0,$char(8304))] $repeat(★,%rating%)<<<$crlf() <<['('[%DISCOGS_TRACK_CREDITS% ][feat. %DISCOGS_CREDIT_FEATURING% ][%performer% ][vox. %DISCOGS_CREDIT_VOCALS% ][%DISCOGS_CREDIT_REMIXED_BY% Remix]')']>>$crlf()

$if(%DISCOGS_ARTIST_PROFILE%,%artist%: %DISCOGS_ARTIST_PROFILE%$crlf()' '$crlf(),)

[%album%][ '('%album_format%')'][, $if2(%releaseyear%,%date%)][+%RELEASE DATE%]<<<$crlf() <[%publisher% ][#%DISCOGS_CATALOG% ][%DISCOGSCOUNTRY%]>$crlf() <[/[%key%][%BPM%][%bitrate%k] %genre%]>$crlf() <<<[Added: $left(%added%,7) $char(185)%first_played%]>>>$crlf() [' '$crlf()<<'Credits:' %DISCOGS_RELEASE_CREDITS%>>]$crlf() ' '$crlf() ['Release notes:' %DISCOGS_RELEASE_NOTES%]$crlf() [%comment%]$crlf()`

FaceCrap commented 4 months ago

Surprised that this is still not a thing. It's one of the reasons I still won't use it.

My question is: What would you set it to, if not the existing default? :)

To begin with, full titleformatting support would be a pre-req.

image

Also, put all of this in a separate context menu item "Panel Preferences" to reduce clutter in the regular preferences. Like the above is a tab in this.

image