Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Help porting a plugin from Rune Audio
#1
Hello there. I've been running rune audio and volumio and now moode. My one requirement nobody seems to care about is a decent alarm clock  Dodgy

I've made my own alarm clock plugin for rune which also uses MPD. It seems moode has no plugin support yet? So, how would I start to hack my alarm clock into moode. Are there any resources for devs just to get started with moode development?
Reply
#2
> My one requirement nobody seems to care about is a decent alarm clock
You aware that moode already has an alarm clock, or was that the part about a decent one?
Reply
#3
My only problem with the alarm feature is that in order to wake up to music or a radio station you have to have it on the active playlist. I'd prefer a set it and forget it. IIRC I tried a cron job with a vanilla MPD setup and it worked. I'm currently using LMS for a clock radio. I'd be happy to use Moode if it supported my memory. Smile
Reply
#4
(10-06-2024, 04:02 PM)nosferatu_cat Wrote: My only problem with the alarm feature is that in order to wake up to music or a radio station you have to have it on the active playlist.  I'd prefer a set it and forget it.  IIRC I tried a cron job with a vanilla MPD setup and it worked.  I'm currently using LMS for a clock radio.  I'd be happy to use Moode if it supported my memory.  Smile

Thats been on the TODO lst for ages. I'll look into it.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(10-06-2024, 04:47 PM)Tim Curtis Wrote:
(10-06-2024, 04:02 PM)nosferatu_cat Wrote: My only problem with the alarm feature is that in order to wake up to music or a radio station you have to have it on the active playlist.  I'd prefer a set it and forget it.  IIRC I tried a cron job with a vanilla MPD setup and it worked.  I'm currently using LMS for a clock radio.  I'd be happy to use Moode if it supported my memory.  Smile

Thats been on the TODO lst for ages. I'll look into it.

I improved it a bit.

If the item is not in the Queue, Clock Radio will add and play it.

That should support your memory ;-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
(10-06-2024, 01:15 PM)bitlab Wrote: > My one requirement nobody seems to care about is a decent alarm clock
You aware that moode already has an alarm clock, or was that the part about a decent one?

Yes, emphasis was on decent. An Alarm clock that doesn't play if the single file is not in the queue is basically a disaster waiting to happen if you rely on it. 
(10-06-2024, 04:02 PM)nosferatu_cat Wrote: My only problem with the alarm feature is that in order to wake up to music or a radio station you have to have it on the active playlist.  I'd prefer a set it and forget it.  IIRC I tried a cron job with a vanilla MPD setup and it worked.  I'm currently using LMS for a clock radio.  I'd be happy to use Moode if it supported my memory.  Smile

That the alarm clock doesn't load and start playing a playlist instead of a single file and whatever is in the queue is mindboggling, but then again there doesn't seem to be many people interested in an alarm clock so the devs spend their time on more important features.

I have an alarm clock plugin with as much alarms as you want with start and stop timing and day selection and playlist selection which works on rune with cronie and MPD. If possible I would like to port it.
Reply
#7
Correct.

The Clock Radio feature is not the most important item on the TODO list but if you want to improve it or offer an improved version then have a look at the Developer Guide. There is a link to it on the Developer page at moodeaudio.org. It assumes you have knowledge of Gulp which is used to build the moode application.

You should post a link to your code repo so I can have a look at it.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(10-07-2024, 07:30 PM)Tim Curtis Wrote: Correct.

The Clock Radio feature is not the most important item on the TODO list but if you want to improve it or offer an improved version then have a look at the Developer Guide. There is a link to it on the Developer page at moodeaudio.org. It assumes you have knowledge of Gulp which is used to build the moode application.

You should post a link to your code repo so I can have a look at it.

Thanks, I'll look into it. Sorry nothings online yet. I might have posted it on the Rune forums back in the rune days. I'll post something once I got a little further.
Reply
#9
(10-06-2024, 09:35 PM)Tim Curtis Wrote:
(10-06-2024, 04:47 PM)Tim Curtis Wrote:
(10-06-2024, 04:02 PM)nosferatu_cat Wrote: My only problem with the alarm feature is that in order to wake up to music or a radio station you have to have it on the active playlist.  I'd prefer a set it and forget it.  IIRC I tried a cron job with a vanilla MPD setup and it worked.  I'm currently using LMS for a clock radio.  I'd be happy to use Moode if it supported my memory.  Smile

Thats been on the TODO lst for ages. I'll look into it.

I improved it a bit.

If the item is not in the Queue, Clock Radio will add and play it.

That should support your memory ;-)
Thanks for the prompt response.  I'll test it out.
Reply


Forum Jump: