We have moved to a new Sailfish OS Forum. Please start new discussions there.
13

Change alarm duration

asked 2015-03-21 03:36:26 +0300

MasterOfMemory gravatar image

When the alarm goes off and a .mp3 file is chosen as alarm, it only plays the first 55-60 seconds of said mp3 file before snoozing (or ending the alarm if a countdown was set). I would like to be able to change the duration of that time. Ideal would be to play the file to the end and THEN switch to snooze.

Is there a workaround by changing any config file?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
5

answered 2015-04-13 23:22:14 +0300

attah gravatar image

updated 2015-04-13 23:29:44 +0300

In /usr/share/jolla-alarm-ui/pages/AlarmDialogBase.qml Towards the end there is a timer, timeoutTimer where this line can be found:

    interval: 60000

Change the interval to whatever you like. :)

Make backups and only attempt this if you know what you are doing

UPDATE: To make it not repeat you might want to look here: /usr/share/ngfd/events.d/clock.ini

Note: Untested

edit flag offensive delete publish link more

Comments

1

Changing the above number does change the play time at first sight. The alarm-sound (e.g. audiofile) is repeated if it ended before the timer ends (see the update). I did not test it excessively but it seems to work. I did not test the update. Will probably do it later.

MasterOfMemory ( 2015-04-13 23:44:19 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2015-03-21 03:36:26 +0300

Seen: 345 times

Last updated: Apr 13 '15