Comments (4)
Due to tech-debt reasons I'm gonna try to sneak #7 in first.
from empress.
Completed by #10.
from empress.
I think this should be semi-easy to handle. The empress
daemon already listens for metadata changes to maintain its internal player priority list and runs a hook to update the player state it keeps internally tracked, so adding a D-Bus signal shouldn't be too complex. The big question is how best to propagate the player metadata sent by the daemon for a normal now-playing
call, as this constitutes three or four D-Bus calls so having each listener perform a metadata query may not be desirable.
Current steps for this issue:
- Add a D-Bus signal to the
Empress
interface for metadata updates - Investigate ways to mitigate unnecessary metadata calls from the daemon to MPRIS players
- Add support for
-F
for raw JSON-lines output - Add support for
-Ff ...
for plaintext output with\n
or\0
as a delimiter
from empress.
@mradermaxlol just a heads-up, I'm still working on this but some life stuff has gotten in the way so it's taking longer than I expected...
from empress.
Related Issues (10)
- D-Bus: PropertiesChanged signal does not always get emitted on track change HOT 1
- Empress does not always notice that a player was started or shut down
- Add a Raise() method
- [Feature request] Volume control similar to playerctl HOT 3
- Return player name in the now-playing subcommand HOT 4
- [Feature request] Built-in json filtering/formatting in the now-playing subcommand HOT 9
- Make player selection consistent for all actions HOT 2
- Investigate changing dependencies from `dbus` to `zbus`
- bro... HOT 2
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 empress.