Thank you, thagrol, for your information and guide links. I am currently running bookworm, and cron is configured with the same user who has successfully played audio files from the command line.
Based on the information I obtained here, my plan is to modify the cron task to focus on creating a text file containing the full path of the media file, rather than directly playing it. I will then implement a script (either as a service or an endless loop) to detect the file created by cron, play the media specified in the file path, and subsequently delete the file.
Based on the information I obtained here, my plan is to modify the cron task to focus on creating a text file containing the full path of the media file, rather than directly playing it. I will then implement a script (either as a service or an endless loop) to detect the file created by cron, play the media specified in the file path, and subsequently delete the file.
Statistics: Posted by baruchli — Wed Jan 24, 2024 6:15 am