Thread
:
[Announce] Slumber – Sleep Timer for SailfishOS
View Single Post
CepiPerez
2015-10-25 , 21:48
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#
10
Add this to your globals.qml file:
on top of page:
import org.nemomobile.mpris 1.0
Insde main Rectangle component:
MprisManager { id: mprisManager }
then when timer is triggered add this:
mprisManager.pause()
This should work for stock player and flowplayer (also cutespot uses mpris afaik)
__________________
Filebox / FileCase for
Maemo
/
Harmattan
/
Sailfish
FlowPlayer for
Maemo
/
Harmattan
/
Sailfish
Whatsup for
Harmattan
/
Sailfish
CallBlocker for
Harmattan
Support my work:
Paypal
/
Bitcoin
Quote & Reply
|
The Following 4 Users Say Thank You to CepiPerez For This Useful Post:
HtheB
,
imaginaryenemy
,
rcolistete
,
velox
CepiPerez
View Public Profile
Send a private message to CepiPerez
Find all posts by CepiPerez