Follow

software venting 

why the fuck in the year of our lord 2021 is it SUCH A FUCKING TASK to find a fucking piece of software that will reliably play an audio file on linux at a certain time of day

· · Web · 2 · 0 · 1

software venting 

I'm literally gonna have to compile some shit from source because every single alarm clock application I've looked into is either abandoned or useless for my purpose, which is a very very very very very very simple need to play certain audio files at certain times of day -_-

software venting 

it's similar to the situation of there being zero (0) good SIP clients for linux desktop

software venting 

@deutrino

tag us if you find something that works lol,

we were looking for something to play background music during a certain time of the day and ended up runing out of time, so we just put the songs on a loop, and hooked the speakers power supply up to a timer instead.

software venting 

@original_fractalator I'll try to remember! might give it another shot today

software venting 

@deutrino what's wrong with a cronjob opening your media player?
You can do it the app way, or the unix way

software venting 

@pleb it doesn't work.

software venting 

@pleb specifically, telling cron to run mpg123 doesn't work, plus it'd be nice to have something I can interact with from my desktop environment since one of the alarm files is 15 minutes long, etc.

software venting 

@deutrino fair enough, playing audio from cron is a bit involved since it's a non interactive and clean environment.
Having to set the DISPLAY for X and XDG_RUNTIME_DIR for PulseAudio isn't quite as nice in hindsight.

software venting 

@pleb yeah it's basically just a vent bc I'm trying to set reminders to meditate and do self care bc life has burned thru all the patience I have, which then makes it difficult to try 9 methods of accomplishing this until I find one that works.

didn't have it in me to research the cron issue last night after xfce4-timer-plugin let me down

ran out of patience again this morning after trying 4 more apps since cron isn't ideal

I'll get it working eventually, thanks for the info!

@pleb @deutrino

>I'm gonna write an alarm clock app
>"bro just use cron"
>cron is hard to use
>"lmao git gud scrub"
>learn cron, turns out it's broken on most distros
>"dunno fam works on my machine, open a bug"
>file a bug, immediately sent to backlog hell (distro organization is reallocating developer funding to social justice issues)

0 solutions implemented

software venting 

@deutrino

How about:

$ sleep $(( $( date -d '10:00' +%s ) - $( date +%s ) )); paplay *.wav

software venting 

@Coffee I want em to play every day tho

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!