-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Linux #26
Comments
There's a Linux x86_64 build in the Discord: https://discord.gg/musicpresence If you feel like helping and trying it out with your favourite media players, you're welcome to join! |
The playerctl library may not be a viable option, as it leaks a ton of memory with media players like Elisa Edit: Found a workaround, see the mentioned issue |
how's it going? |
You can see the progress in the checklist above, it's just a matter of packaging it and making an official release for it, which may be the next release (2.3.0), but I'm not sure yet! There's a preview build on the Discord, as mentioned above, if you wanna try it. |
Progress:
Builds are available on the Discord server! https://discord.gg/musicpresence
Implemented: ungive/discord-rpc@d32867f
Refactor the players.json file at https://live.musicpresence.app/v2/players.json to allow: Multiple player icon variants, a check if it's still the latest version, ... (v3). Also move the generation of it out of the internal code base to https://github.com/music-presence/media-players and rewrite it so it can easily be run on Linux (some code only runs on Windows atm)Doing this at a later timedata:image/png;base64,...
) need to be parsed and uploaded using the proxy serverfile:///
) also need to be read into memory (if not too big) and uploaded using the proxyfile:///
prefix, e.g. when playing media withfooyin
:xesam:url
may contain/run/user/1000/doc/2b22d58c/music.mp3
. Exclude these URLs properly, maybe only allow HTTP/HTTPS for track URLs and only allow HTTP/HTTPS/file/data URLs for cover imagesxesam:url
field. Here the domain should be parsed and compared against well-known domains of streaming services, e.g.listen.tidal.com
andopen.spotify.com
. This requires media to have multiple platform identifiers, not onlylin_mpris
, but alsoweb_domain
in this caseg_error
in places where it shouldn't. It crashed for me once before with this error:could not get metadata: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.6901 was not provided by any .service filesSpeicherzugriffsfehler (Speicherabzug geschrieben)
Related: Fix incorrect use of g_error altdesktop/playerctl#329
The text was updated successfully, but these errors were encountered: