Skip to content
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

[mediaplayer] Use playerctl's streaming output support, dropping non-MPRIS #502

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

hseg
Copy link
Contributor

@hseg hseg commented Aug 28, 2023

This is a version of #500 that includes the non-MPRIS codepath dropping of #501.
In addition, having dropped these codepaths, we can now make use of playerctl -F, which allows the metadata notifications to be pushed by playerctl instead of polled by i3blocks.

Closes: #498, #498, #500, #501

@hseg hseg changed the title [mediaplayer] Use playerctl's streaming output support [mediaplayer] Use playerctl's streaming output support, dropping MPRIS Aug 28, 2023
@hseg hseg changed the title [mediaplayer] Use playerctl's streaming output support, dropping MPRIS [mediaplayer] Use playerctl's streaming output support, dropping non-MPRIS Aug 28, 2023
As clarified in vivien#499, this is less of a problem than it appears, since
the players dropped support MPRISv2 - some natively, some with a builtin
plugin that needs to be enabled, and some with a well-supported plugin

Closes: vivien#499
Ignores artist if absent (the hack of giving a control character default
and stripping it is unfortunately necessary at the moment, cf
altdesktop/playerctl#296)

Closes: vivien#498
Ignores artist if absent (the hack of giving a control character default
and stripping it is unfortunately necessary at the moment, cf
altdesktop/playerctl#296)

Closes: vivien#498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mediaplayer] no output if metadata invalid
1 participant