Code review comment for lp:~vthompson/music-app/use-qtpowerd-plugin

Revision history for this message
Loïc Minier (lool) wrote :

Hey Victor,

Thanks a lot for working on this! I installed qtpowerd from coreapps-drivers daily PPA and patched music-app as above, but that didn't work.

First, I had to explicitly enable the QtDBus module in the .pro file for the .so to load; second, I get:
file:///usr/share/music-app/music-app.qml:509: Error: Cannot assign to non-existent property "keepAlive"
when playing state changes, and in "powerd-cli listen" I see no event coming in.

I can confirm however that this *is* the right approach, as taking an active lock over SSH ("powerd-cli active") is enough for music to keep playing when screen is turned off (if I don't take it, music plays but stutters).

« Back to merge proposal