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

Investigate using mpv-mpris to monitor media playback status rather than PulseAudio #5

Closed
mijofa opened this issue Aug 17, 2022 · 1 comment

Comments

@mijofa
Copy link
Owner

mijofa commented Aug 17, 2022

Ref: jellyfin/jellyfin-media-player#3

Actually, maybe lok at the 4th comment there and consider that approach.

The main issue I want to solve is when hitting the 'next' button or similar to skip to the next episode,
music & lights start returning to non-playing state while the video stream buffers.
This isn't terrible, but it can get kind of annoying depending how long it takes to buffer.
I could probably 90% solve this with a simple sleep 3 in the PreStop of the media-playback target or something,
but I've never really liked how PulseAudio-systemd-roles.py works and would like to replace it if I can.

I might then be able to use something like hassmpris_agent to improve integration with Home Assistant.
Although it looks I can't really get that in Bullseye any time soon due to the GTK+4 dependency

@mijofa
Copy link
Owner Author

mijofa commented Oct 19, 2022

This ended up being unnecessary for my purposes as the Home Assistant's Jellyfin integration was able to do what I wanted.

@mijofa mijofa closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2022
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

No branches or pull requests

1 participant