Page 1 of 1
ptm timer 3.4
Posted: Sat Sep 17, 2022 6:24 pm
by don570
A simple timer/alarm script that can be used to wake you up with a mp3 song.
It works with most default audio players.
Localization - French,German,Italian,Spanish,Russian, portuguese, simplified Chinese
ptmtimer-3.4-x86_64.txz
Size: 12k
Download:
https://drive.google.com/file/d/1CWn-zR ... sp=sharing
Multiple alarms are possible. Maximum countdown is about 30 hours.
No restriction on alarm dates -- but don't shutdown your computer!!!
That kills the task.
Stop button is placed in main window . This is a convenience !!!
So you don't need to use the terminal to
stop a scheduled alarm. Log book will note that stop button has been clicked.
Test button - will test audio level so you can check if audio will be heard clearly
I recommend that you store your mp3 file in /root folder or /file folder so that if
you forget to mount your hard drive the timer will still work with the mp3 file.
If it doesn't find the mp3 file it reverts back to default.
but you should get a warning message that this has been done at launch time.
Note ; if you are having problems shutting off a long mp3 song, then
try installing mpg123 or mpg321 instead of default audio player. But with most puppies this shouldn't be necessary.
I added a restriction of about 30 hours to the countdown timer, however there is no restriction to choosing a date and time for the alarm.

- screenshot-ptmtimer.png (47.54 KiB) Viewed 1091 times
Re: ptm timer 3.1
Posted: Thu Jan 26, 2023 10:24 pm
by don570
new version 3.1
stop button added to stop scheduled alarm/countdown
New locales - German French Spanish Italian Portuguese Russian simplified Chinese
Re: ptm timer 3.2
Posted: Mon Feb 13, 2023 10:18 pm
by don570
New version - 3.2
Test button - To check audio level so you will hear alarm clearly
Warning message if mp3 song is not found i.e. your hard drive might have been dismounted.
ptm timer 3.3 - new version
Posted: Sun Mar 26, 2023 7:28 pm
by don570
Available first post
ptmtimer-3.3-x86_64.txz
New version -worked on bug when using broom to
empty song field
_______________________________
ptm timer 3.4
Posted: Thu Nov 30, 2023 10:36 pm
by don570
PTM Timer 3.4
Availabe downoad first post
-mpg123 player wouldn't accept the full path
in fatdog64 900
___________________________________________
Re: ptm timer 3.4
Posted: Sat Dec 02, 2023 12:10 pm
by fatdoguser
You are aware of crontab @don570
crontab -e ... to edit. With the full version of cron installed you can even set it to run things at bootup (@reboot .....)
Call a script that runs whatever music player (or action(s)) you desire, maybe even maximising the sound level (amixer sset 'Master' 100%).

You might even set it to play a different mp3 for each weekday
Re: ptm timer 3.4
Posted: Wed Dec 06, 2023 5:18 pm
by don570
Zigbert wrote pschedule and pclock but I never use them.
______________________________________