eonpatapon / gnome-shell-extension-caffeine

Disable screensaver and auto suspend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable when playback is detected via MPRIS

carlocastoldi opened this issue · comments

MPRIS is a D-Bus API which aims to provide a common programmatic API for controlling media players.
In our case, it is interesting because it provides a mechanism for querying compliant media players, including music players and browsers.

Using the MPRIS API to determine if there currently is any media playing sounds like good option for this extension!

Not sure to understand what you are proposing ?

I don't see how MPRIS/music players would interact with Caffeine

Ah you mean maybe an option to enable Caffeine when some player is 'play' status ?

Ah you mean maybe an option to enable Caffeine when some player is 'play' status ?

yes, correct! Similar to the option that enables caffeine for fullscreen apps