Slumber

Rating: 
4.666665
Your rating: None Average: 4.7 (15 votes)

a shakeable sleep timer for media players on SailfishOS
Slumber is a sleep timer program for SailfishOS with sensors support.

This means you can use the accelerometer or proximity sensor to reset the timer if the display is lit: Just place your device on your bed and slap the mattress in it's general direction to reset the timer. You can enable a notification to wake your display or, on some devices, use "double tap to wake".

screenshots

You can pause:

  • Local media (using MPRIS2)
  • Network players (Kodi, VLC)

If you're still awake, you can reset the timer a bunch of ways:

  • Accelerometer (shake it)
  • Proximity sensor (wave your hand)
  • Smartwatch control (Amazfish integration for some watch models)
  • By just pausing/starting the media player. (Useful for Headphones with remote control)

There are a lot of other options available for the end of the timer duration, for example:

  • Pause local media (obviously) and Kodi/VLC over wifi
  • Fade out media volume (and reset it afterwards)
  • Play a sound effect at the end of the timer to let you know it runs out
  • Disconnect Bluetooth headphones (or all BT devices)
  • Enter airplane mode
  • … and more.

Known restrictions

  • Does not work in Sailfish Browser
  • Sensors won't work when Display is off. But there is an option to keep it on while the timer runs. Also, you can enable a notification to turn the display on again.
  • Phone Vibration might trigger Accelerometer. (Well…)

Want to help?
 talk
Please let me know if it works for your favourite player and feel free to discuss: http://talk.maemo.org/showthread.php?p=1486493.
 code
You can send bug reports & pull requests on github!
 translate
Help me translate slumber to your language at https://www.transifex.com/velocode/slumber/

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-slumber-0.14-2.armv7hl.rpm1011.87 KB04/06/2021 - 17:22
File harbour-slumber-0.14-2.aarch64.rpm1.01 MB04/06/2021 - 17:22
File harbour-slumber-0.14-2.i486.rpm1019.66 KB04/06/2021 - 17:22
File harbour-slumber-0.14-1.armv7hl.rpm1 MB10/05/2021 - 00:00
File harbour-slumber-0.14-1.aarch64.rpm1 MB10/05/2021 - 00:00
File harbour-slumber-0.14-1.i486.rpm1.01 MB10/05/2021 - 00:00
File harbour-slumber-0.13-5.armv7hl.rpm1005.77 KB21/02/2021 - 21:41
File harbour-slumber-0.13-5.i486.rpm1011.95 KB21/02/2021 - 21:41
File harbour-slumber-0.13-5.aarch64.rpm1.01 MB21/02/2021 - 21:41
File harbour-slumber-0.12-2.armv7hl.rpm490.7 KB06/01/2020 - 02:43
File harbour-slumber-0.12-2.i486.rpm492.49 KB06/01/2020 - 02:43
File harbour-slumber-0.12-1.armv7hl.rpm489.51 KB14/11/2019 - 23:18
File harbour-slumber-0.12-1.i486.rpm491.57 KB14/11/2019 - 23:18
File harbour-slumber-0.11-2.armv7hl.rpm487.88 KB19/05/2019 - 16:36
File harbour-slumber-0.11-2.i486.rpm490.27 KB19/05/2019 - 16:36
File harbour-slumber-0.10-1.armv7hl.rpm480.67 KB19/02/2019 - 01:29
File harbour-slumber-0.10-1.i486.rpm484.97 KB19/02/2019 - 01:29
File harbour-slumber-0.9-2.armv7hl.rpm391.8 KB04/02/2019 - 00:52
File harbour-slumber-0.9-2.i486.rpm392.52 KB04/02/2019 - 00:52
File harbour-slumber-0.9-1.armv7hl.rpm390.11 KB15/01/2019 - 01:33
File harbour-slumber-0.9-1.i486.rpm392.05 KB15/01/2019 - 01:33
File harbour-slumber-0.8-5.armv7hl.rpm332.81 KB05/01/2019 - 12:41
File harbour-slumber-0.8-5.i486.rpm334.19 KB05/01/2019 - 12:41
File harbour-slumber-0.8-4.armv7hl.rpm332.96 KB05/01/2019 - 12:10
File harbour-slumber-0.8-4.i486.rpm334.19 KB05/01/2019 - 12:10
File harbour-slumber-0.8-3.armv7hl.rpm329.21 KB03/09/2018 - 12:24
File harbour-slumber-0.8-3.i486.rpm330.24 KB03/09/2018 - 12:24
File harbour-slumber-0.8-2.armv7hl.rpm328.02 KB16/02/2018 - 01:26
File harbour-slumber-0.8-2.i486.rpm329.29 KB16/02/2018 - 01:26
File harbour-slumber-0.7-1.armv7hl.rpm324.1 KB22/03/2017 - 21:28
File harbour-slumber-0.7-1.i486.rpm325.89 KB22/03/2017 - 21:28
File harbour-slumber-0.6-3.armv7hl.rpm317.37 KB05/03/2017 - 20:14
File harbour-slumber-0.6-3.i486.rpm317.25 KB05/03/2017 - 20:14
File harbour-slumber-0.6-2.armv7hl.rpm315.43 KB11/02/2017 - 16:09
File harbour-slumber-0.6-2.i486.rpm315.56 KB11/02/2017 - 16:09
File harbour-slumber-0.6-1.armv7hl.rpm314.12 KB22/01/2017 - 21:21
File harbour-slumber-0.6-1.i486.rpm314.03 KB22/01/2017 - 21:21
File harbour-slumber-0.5-6.armv7hl.rpm314.25 KB14/01/2017 - 12:07
File harbour-slumber-0.5-6.i486.rpm314.12 KB14/01/2017 - 12:07
File harbour-slumber-0.5-5.armv7hl.rpm314.15 KB11/01/2017 - 23:11
File harbour-slumber-0.5-5.i486.rpm314.09 KB11/01/2017 - 23:11
File harbour-slumber-0.5-4.armv7hl.rpm313.88 KB27/12/2016 - 01:19
File harbour-slumber-0.5-4.i486.rpm313.95 KB27/12/2016 - 01:19
File harbour-slumber-0.5-3.armv7hl.rpm314.04 KB25/12/2016 - 03:02
File harbour-slumber-0.5-3.i486.rpm314.19 KB25/12/2016 - 03:02
File harbour-slumber-0.5-2.armv7hl.rpm311.8 KB24/12/2016 - 00:55
File harbour-slumber-0.5-2.i486.rpm311.87 KB24/12/2016 - 00:55
File harbour-slumber-0.5-1.armv7hl.rpm309.88 KB22/12/2016 - 02:57
File harbour-slumber-0.5-1.i486.rpm309.73 KB22/12/2016 - 02:57
File harbour-slumber-0.4-5.armv7hl.rpm309.75 KB03/01/2016 - 03:17
File harbour-slumber-0.4-5.i486.rpm309.7 KB03/01/2016 - 03:17
File harbour-slumber-0.4-4.armv7hl.rpm307.88 KB04/12/2015 - 17:15
File harbour-slumber-0.4-4.i486.rpm307.84 KB04/12/2015 - 17:15
File harbour-slumber-0.4-3.armv7hl.rpm304.23 KB22/11/2015 - 01:38
File harbour-slumber-0.4-3.i486.rpm304.29 KB22/11/2015 - 01:38
File harbour-slumber-0.4-2.armv7hl.rpm303.4 KB13/11/2015 - 20:12
File harbour-slumber-0.4-2.i486.rpm303.6 KB13/11/2015 - 20:12
File harbour-slumber-0.4-1.armv7hl.rpm284.31 KB12/11/2015 - 03:48
File harbour-slumber-0.4-1.i486.rpm284.32 KB12/11/2015 - 03:48
File harbour-slumber-0.3-2.armv7hl.rpm281.74 KB29/10/2015 - 02:04
File harbour-slumber-0.3-2.i486.rpm281.48 KB29/10/2015 - 02:04
File harbour-slumber-0.3-1.armv7hl.rpm280.15 KB28/10/2015 - 09:42
File harbour-slumber-0.3-1.i486.rpm280.35 KB28/10/2015 - 09:42
Changelog: 

* Fri Jun 04 2021 velox 0.14-2
- bugfix: change ofono privileged action to work with busybox environment
- maintenance: change github CI build

* Sun May 09 2021 velox 0.14-1
- feature: D-Bus call for manually triggering/stopping the running timer
- enhancement: Stop timer if finish actions are triggered manually
- enhancement: Don't restore Volume if it hasn't been faded out (manual trigger)

* Sun Feb 21 2021 0.13-5
- feature: user-settable finalize duration (instead of 10s)
- feature: reset by amazfish watch music app activation
- feature: ofono restart privileged action
- feature: new options pages
- enhancement: better/looping sound effects
- enhancement/bugfix: new timeout action queue (fixes volume restore with BT disconnect)
- performance: a lot of optimizations
- performance: migrate some stuff to c++

* Mon Jan 06 2020 0.12-2
- enhancement: support changed Amazfish 1.0 interface
- translation updates sl, ru (thanks, translation team!)

* Thu Nov 14 2019 0.12-1
- bugfix: fix settings page for volume restoration
- feature: add simple dbus interface
- a lot of translation updates (thanks, translation team!)

* Sun May 19 2019 0.11-2
- feature: reset timer with button press on Amazfish-connected device
- feature: optional second Kodi action: Suspend/Shutdown (Not supported on every Kodi configuration)
- feature: disconnect (audio) bluetooth devices without fully shutting down BT
- enhancement: enable "quick select" for main page pull menus
- bugfix/enhancement: support Kodi 18 (leia) API change
- appearance: move notification setting to "Actions" settings page
- appearance: make "playback detected" notification inline
- some translation updates (thank you, translation team!)

* Sun Feb 18 2019 0.10-1
- packaging/meta data: OBS compatibility
- user request: main page hint font size increased (previously hard to read in chinese)
- enhancement: restore volume faster on cancel
- many translation updates
- enhancement: add 172x172 icon
- feature: replace BT action with privileged actions

* Sun Feb 03 2019 0.9-2
- bugfix: fix broken translations
- bugfix: only disable bluetooth after volume is restored
- translation updates: es/zh/fr/nl/nl_be/sl
- enhancement: always reset volume while canceling (even if reset not enabled)
- enhancement: only trigger "void" fallback after mpris handling is done

* Mon Jan 14 2019 0.9-1
- new option: detect playback (mpris) to start timer
- audio: optimize clock sound effect (more click, less noise)
- feature: re-introduce bluetooth disable action
- performance: some minor refactoring
- dev convenience: rename translations

* Sat Jan 05 2019 0.8-5
- enhancement: reset volume a bit later (for slower players like hutspot)

* Sat Jan 05 2019 0.8-4
- enhancement: query dbus for any active mpris players
- appearance: cover font (secondary) color change
- translation updates: nl/nl_be
- new Translation: zh (thanks rui kon)

* Mon Sep 03 2018 0.8-3
- remove bluetooth switch (blocked in current SFOS)
- added notification option to switch on display
- appearance: change cover font color
- translation updates

* Thu Feb 08 2018 0.8-2
- new translations: Italian (thanks fravaccaro) & French (thanks lutinotmalin)
- add more translators to about page

* Wed Mar 22 2017 0.7-1
- user request: fade local volume to zero
- translation updates

* Sun Mar 05 2017 0.6-3
- new translation: Dutch (thanks pljmn!)

* Sat Feb 11 2017 0.6-2
- new translation: Slovenian (thanks sponka!)
- user request: Long press in main view opens timepicker (no need to go through settings anymore)
- appearance: Typography: Time Strings not subscript anymore
- appearance: Slightly smaller text on tablet
- spanish translation update

* Sat Jan 14 2016 0.6-1
- bugfix: app start does not change system volume anymore

* Sat Jan 22 2017 0.5-6
- enhancement: "keep display lit" timer duration decrease
- translation update russian (thanks ancelad)

* Wed Jan 11 2017 0.5-5
- bugfix: "keep display lit" does not time out anymore

* Mon Dec 26 2016 0.5-4
- translation update swedish (thanks eson)

* Sun Dec 25 2016 0.5-3
- new translation: russian (thanks ancelad)
- polish translation update (thanks atlochowski)

* Fri Dec 23 2016 0.5-2
- new translation: polish (thanks atlochowski)

* Wed Dec 21 2016 0.5-1
- added support for some android apps (not for the first jolla phone, sorry)

* Sun Jan 03 2016 0.4-5
- new translation: finnish (thanks ria88!)
- added support for talefish and players using the unaltered "qtmpris" name

* Fri Dec 04 2015 0.4-4
- new translations:
- spanish (thanks CepiPerez!)
- swedish (thanks eson!)

* Sat Nov 21 2015 0.4-3
- new: kodimote support as "local" player (you don't need to configure Kodi in slumber if kodimote is connected.)
- added support for unplayer

* Fri Nov 13 2015 0.4-2
- annoyance fix: don't display empty options entry if "shaking" was selected before v0.4
- packaging: app icons for tablet
- really minor performance enhancements

* Thu Nov 12 2015 0.4-1
- new option: disable bluetooth when timer runs out
- new option: keep display lit while timer is running
- new option: darken main application screen while timer is running
- user request: optional visual indicator before timer runs out
- user request: stronger acceleration needed to trigger "shaking"
- user request: new, even stronger shaking option "earthquake"
- ui tweaks (new sub page for appearance options, VerticalScrollDecorators on options pages)

* Thu Oct 30 2015 0.3-2
- new timer action: VLC network pause + connection options
- bugfix: query Kodi for PlayerIDs instead of guessing

* Wed Oct 28 2015 version 0.3-1
- new timer action: Kodi network pause + connection options
- bugfix: do _not_ pause Accelerometer when Sound Effect is not previewing
- some ui & translation changes

* Mon Oct 26 2015 version 0.2-3
- also use dbus to pause players (flowplayer compatibility)
- removed QtQuick 2.2 dependency (harbour tools pass)

* Sun Oct 25 2015 version 0.2-2
- new reset option: Proximity Sensor

* Sat Oct 24 2015 version 0.2-1
- bugfix: Accelerometer now paused while using PushUpMenu to stop timer (PushUpMenu got disabled for a short bit while using it)
- bugfix: Accelerometer now paused while prelistening to Sound Effect (Sound Effect gets stopped when timer is reset)
- bugfix: Silica ProgressCircle does not change colours anymore
- new german translation
- smaller package: sound files downsampled
- various ui tweaks