Commit graph

2 commits

Author SHA1 Message Date
Josh Megnauth
bb087578df
Prevent screen turning off during playback
Closes: #157

XDG portals expose a D-Bus interface allowing apps to prevent screen
idling, user switching, and other actions. That interface,
org.freedesktop.portal.Inhibit, does all of the heavy lifting here.

Idling = the screen dimming or shutting off.

Idling is inhibited when a video is actively playing.
Idling is NOT inhibited when videos aren't playing - this includes
paused or stopped videos.
2025-11-13 13:26:23 -05:00
Jeremy Soller
73f524c95e
Implement MPRIS and album art, fixes #57, fixes #59, part of #56 2025-01-18 08:47:47 -07:00