Comments (5)
Both your mentioned issues are fixed upstream. You'll need a version built from master to use them, of course. I declared support for mpc-qt in 1d944c6 and added an icon to my app.
from discordrp-mpris.
Thanks for the reports. I'll look into them in due time.
Do you know whether mpc-qt has some kind of icon for its name? I'd like to add that to the icon list if there is one, once I confirmed it is working properly.
from discordrp-mpris.
It doesn't have any fancy icon that I'm aware of. At the moment it's using this icon, including for the occasional Windows releases (it's an SVG though, so you may have to manually make a PNG version or something?). I think I'd also prefer having that icon used instead.
from discordrp-mpris.
Hi again, so I happened to be free and wanted to look more into it. I managed to figure out the issue. For mpc-qt, its position timestamp will always be in milliseconds instead of microseconds, so it'll always be converted to 00:00. Thus adding a patch where its position will be multiplied by 1000 if the active player is mpc-qt would solve it.
It feels kinda awkward having a special treatment for it tho, but oh well.
Here's some sneak peeks:
(kinda ended up making my own Discord app to have mpc-qt logo)
https://github.com/BobbyWibowo/discordrp-mpris/commits/mpc-qt-patch
from discordrp-mpris.
At the moment it's using this icon
I'll take it.
its position timestamp will always be in milliseconds instead of microseconds
Ah well, that was unexpected. I submitted a PR upstream so I don't have to add a workaround myself, since I could run into issues when that gets fixed and I still have the workaround in place. See https://github.com/cmdrkotori/mpc-qt/pull/203. Hopefully that'll get released fast enough for people using it (assuming they're not on debian or something).
I also added https://github.com/cmdrkotori/mpc-qt/issues/204 because fixing that myself wouldn't be as quick. However, I can add a reasonably simple workaround for this, similar to BobbyWibowo@9451315.
From BobbyWibowo@48ff085 I presume clementine is supported, too? I'll test that (and add an icon) as well, if it works. I can't test the KDE Plasma stuff though because I'm not running that and would probably need a VM. If you say these work, that's probably good enough.
from discordrp-mpris.
Related Issues (20)
- Switch to or add option for event-based monitoring HOT 1
- Issues with async discord connection HOT 5
- Extend beyond mpris? HOT 2
- Rich Presence SDK has been deprecated in favor of "GameSDK" HOT 4
- See if setting a custom status via API is possible
- add icon for Lollypop HOT 1
- Discord Flatpak HOT 5
- Support FireFox (and Chrome?) HOT 2
- Show album art instead of player icon HOT 24
- Automatically truncate titles to 128 characters
- No config file on Arch HOT 1
- Add Pithos Pandora Player as a supported player?
- Failed to connect to Discord client HOT 2
- Broken on Python 3.10 HOT 1
- Manual installation refers to the wrong link HOT 1
- Crash with Amberol HOT 2
- Cannot use `dict` as generic typehint
- KDE Elisa icon support? HOT 1
- smplayer support HOT 3
- How to Change the Status Text HOT 4
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 discordrp-mpris.