[For testing] Radio Alarm for Ubuntu Touch
-
Radio-alarm
One of the things I like: waking up to good music. So I made a radio alarm app.
- It plays an internet stream URL
- It has customizable volume, fade-in-time and snooze time
- It shows a notification dialog with snooze option
- It has fall-back audio if internet connection fails
It is based on systemd timers and services. For details: see the documentation.
For the first alarm, you need to type or copy/paste full URLs in the app. Not the nicest UI-design, I know. The ones below may get you going:
- http://icecast.omroep.nl/radio4-bb-mp3
- http://icecast.vrtcdn.be/klara-high.mp3
- http://radios.rtbf.be/classic21-128.mp3
- http://as-hls-ww-live.akamaized.net/pool_23461179/live/ww/bbc_radio_three/bbc_radio_three.isml/bbc_radio_three-audio=128000.norewind.m3u8
For the fall-back audio you also need a URL (of a local audio file).
Limitations
- the app is unconfined, because I have not found confined ways to
- show a notification dialog (I am not the only one, see https://forums.ubports.com/topic/11375/send-notification-locally-from-qt-c-qml-app.)
- create/delete systemd service and timer files in ~/.config/systemd/user (the app uses QProcess to do that)
- play audio streams (internet or local) windowless (in the background); I now use an executable built on GStreamer
- all alarms are off after reboot
- the notification dialog disappears after a period of 10 minutes; to switch an alarm off after that time, open the app and tap 'Stop running alarms'
- you can test station URLs and alarms, but the UI is quit provisional
Testing
If you feel like trying it out: please do & comment!
- download the source https://gitlab.com/janvle1/ut-radioalarm-3
- build with clickable
-
@janvle
I have compiled it.
On launch, app fails (on my phone) with aa-exec: 'radioalarm-3.janvle_radioalarm-3_3.1.0' does not existMaybe could you add CI to your repo.
-
@janvle Cool to see this being released publicly on the forum! I've been a happy user of your app behind the screens for a while now. I'll try to build and install this new version.
-
@Vlad-Nirky The app builds and runs here fine. I'm using Clickable 8.8.0 and am on 24.04-1.3 RC.
-
to settle the matter between the habitual user of this app and you, I compiled and installed this app and it worked fine here (well the alarm worked one time and that's all I wanted to know).
Maybe you use 24.04-2.x ? For an app that use advanced features, it could be possible that it is easily broken with new changes. I use stable.
-
@gpatel-fr
I use 24.04-2.x but have tried on the other phone with 24.04-1.x with the same result.
I'm updating clickable images (but it was already 8.8.0)
I have download the code through the zip file, will try git commands -
OK run fine now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login