raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.19k stars 2.89k forks source link

[Spotify Player] Add sliding text to menu bar #11292

Open mnojek opened 5 months ago

mnojek commented 5 months ago

Extension

https://www.raycast.com/mattisssa/spotify-player

Description

Currently, Spotify Player in the Menu Bar displays only a certain amount of text. By default, I think it's 30 characters. Usually, the song and artist name altogether are much longer, which results in the text being trimmed and an ellipsis added at the end.

I would like to be able to see the whole name without a need to open Spotify. I can customize the "Maximum text length" in the extension settings, but there is always not enough room to fir every possible song. On the other hand, this menu bar element takes a lot of space, stealing it from other apps, that may end up not being displayed there at all.

To fix this, there can be another toggle for customization of the extension which enables sliding text. This can work in a way, that the full song and artist name can be displayed in a tighter space by moving it from side to side. I think the best if the text goes to the end of it and then moves backward, instead of sliding left eternally, because then it gives user more time to read it. Also, it should probably stop for a moment when it hits the last character.

The 'Maximum text length" then can be changed to "Menu width" or something.

Who will benefit from this feature?

No response

Anything else?

No response

raycastbot commented 5 months ago

Thank you for opening this issue!

šŸ”” @mattisssa @peduarte @sxn @dillionverma @andreaselia @stuart @tonka3000 @dancannon @pernielsentikaer @stevensd2m @erics118 @hjoelh @hobhouse @bkeys818 @jatindotdev @the-devbear you might want to have a look.

šŸ’” Author and Contributors commands The author and contributors of `mattisssa/spotify-player` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
raycastbot commented 3 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean šŸ˜Š

mnojek commented 3 months ago

Seriously, no one?! šŸ˜‰

thomaslombart commented 3 months ago

That's a good idea, but we don't have that in the Raycast API for now. We'll maybe ship that at some point.