Commit graph

3 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
841816e8d1
Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00
Jeremy Soller
94a1244c6d
Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00