<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">On Wed, Jan 16, 2019 at 10:08 PM Matthieu Gallien <<a href="mailto:gallien.matthieu@gmail.com">gallien.matthieu@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am trying to work on a feature request to add the ability to suppress laptop <br>
sleep when playing music.<br>
<br>
Currently, Juk is doing it via dbus calls to "org.kde.Solid.PowerManagement".<br>
<br>
I also had a look to Solid frameworks and the power classes that add an <br>
asynchronous way to do that.<br>
Currently, the Solid framework only conditionally provides those features and <br>
it seems distributions (at least Debian) do not always build it.<br>
<br>
I am also unsure about the current recommended solution that would work for <br>
most desktop environments.<br>
<br>
What would be the best way forward ?<br>
<br>
I can also see some other features that could make sense to provide in <br>
libraries that music players could use (lyrics fetching, album art fetching, <br>
...). This could be in a dedicated framework to help build media players.<br>
<br>
Best regards<br>
<br>
--<br>
Matthieu Gallien<br>
<br>
<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Solid only does this conditionally because it was a WIP work that never was finished.</div><div class="gmail_default" style="font-size:small">I'd say having nice async API in solid, kdbusaddons or wherever could be useful.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Aleix</div></div></div>