Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  start/stop sleep timer - add to quick menu / as shortcut?
« previous next »
  • Print
Pages: [1]

Author Topic: start/stop sleep timer - add to quick menu / as shortcut?  (Read 2133 times)

Offline Viper73

  • Member
  • *
  • Posts: 29
start/stop sleep timer - add to quick menu / as shortcut?
« on: February 04, 2018, 02:43:49 AM »
Hello,

i have an Sony NWZ-A10 MP3 Player with the Linux Rockbox port.
I want to add the "start sleep timer" and/or "stop sleep timer" (in settings/general settings/startup, shutdown) in the quickmenu or as a shortcut.

quickmenu:
When i press long select when i am over this option there is no new screen which allows me to so set this as quick menu. With other options it works fine to set this as an option in the quick menu but not for this one. Is it possible to set this in the quick menu?

Or shortcut:
Is there a way to make a shortcut for "start sleep timer" and/or "stop sleep timer" in the main menu? This is an option which i use very very often and dont want to go through all the menu each time.

Or (if both is not possible):
Maybe i can make an shortcut for the whole "settings/general settings/startup, shutdown" menu in the start menu.

Greets,
Viper
« Last Edit: February 04, 2018, 03:00:29 AM by Viper73 »
Logged

Offline chris_s

  • Member
  • *
  • Posts: 86
Re: start/stop sleep timer - add to quick menu / as shortcut?
« Reply #1 on: February 11, 2019, 06:38:32 PM »
You can't add an option for starting the Sleep Timer to the QuickMenu as far as I'm aware. To  add it to the Shortcuts menu, edit your shortcuts.txt to include these entries, for example:

Code: [Select]
[shortcut]
type: time
data: sleep 10
name: Sleep in 10

[shortcut]
type: time
data: sleep 20
name: Sleep in 20

[shortcut]
type: time
data: sleep 0
name: Disable Sleep Timer
Logged

Offline Viper73

  • Member
  • *
  • Posts: 29
Re: start/stop sleep timer - add to quick menu / as shortcut?
« Reply #2 on: February 21, 2019, 07:39:07 AM »
Thank you @chris_s this works perfect for me!  ;D
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  start/stop sleep timer - add to quick menu / as shortcut?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.079 seconds with 22 queries.