Skip to content

How to play a single track each day from a playlist in sequential order? #7073

Answered by gAlleb
emtoonst asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

  1. Create a folder that will hold the generated daily.mp3 file. e.g. mkdir /var/azuracast/daily
  2. Create a cronjob as you like that replaces daily.mp3 file with the specific one in the above mentioned folder (a few hours before playback). Probably it should call some kind of bash script which eventually will do something like cp daily.mp3 /var/azuracast/daily/ in the end.
  3. Create or edit docker-compose.override.yml -> nano /var/azuracast/docker-compose.override.yml and mount a folder into azuracast:
services:
  web:
    volumes:
      - /var/azuracast/daily:/var/azuracast/stations/***YOUR-STATION***/media/daily
  1. Restart azuracast.
cd /var/azuracast
docker compose down
docker compose up -d

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@emtoonst
Comment options

Answer selected by emtoonst
Comment options

You must be logged in to vote
1 reply
@gAlleb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants