Comments (5)
The feature is now in the dev branch, you could check it out if you like. It's got configurable length and speed (in the form of frame duration, between 100ms and 20s), and you can change the "separator" thing that goes between the head and the tail of the label as it loops around. Not sure what to call it.
I'd also appreciate any feedback.
from sp-tray.
I've looked into it and apparently there's still no built-in way to do it in Gtk, and I still gotta manually animate the scrolling text.
So that's what I'll be doing because I kinda want this feature now. I shall have it ready Soonβ’.
from sp-tray.
So the last version that I pushed to the dev branch works kinda like what you first asked. That is it starts to "scroll horizontally automatically when the artist name, song title, or album is truncated" IF you have the marquee mode enabled and the text length exceeds the max marquee length that's been set (default 50). Otherwise it's just a static text.
E.g. "Blur | Song 2" will remain a static text cause it's short, but "Rush | 2112: Overture / The Temples Of Syrinx / Discovery / Presentation / Oracle / Soliloquy / Grand Finale - Medley" will automatically start scrolling.
And with that I'm closing this issue.
from sp-tray.
I considered that a long time ago, but back then Gtk offered no built-in way of doing it and I thought messing with timeouts to manually animate text was too much work for a simple project like this.
Maybe Gtk4 has better ways of doing it now though, I'll check it out.
from sp-tray.
I have tested it. It works well and exceeds what I expected. Thanks!
from sp-tray.
Related Issues (20)
- feature request: Integration with ncspot HOT 4
- Does not work with Spotify Web app HOT 1
- Feature Request: Invert color with light/dark theme swtich
- Feature: allow disabling automatic suspend during playback HOT 2
- Extension is incompatible with GNOME 42 HOT 3
- Display issues on Ubuntu 22.04 Gnome 42 HOT 18
- Feature request : display format when paused HOT 5
- Issue/Question: Path of the Spotify logo used in the panel HOT 14
- Current song not displayed right after Spotify launch HOT 19
- [Feature Request] Text in paused field is not able to show {album} | {track} HOT 7
- Max 4 characters in inactive and paused HOT 4
- Error since last update. HOT 3
- Panel button somehow claims more space than it needs (in static display mode) HOT 4
- Display album cover HOT 2
- Unnecessary padding with metadata enabled when empty string HOT 2
- Support for Gnome 44 HOT 5
- Moving text is stale HOT 2
- Support GNOME 45 HOT 6
- Missing gschemas.compiled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sp-tray.