Puvox – Blog
  • HOMEPAGE
  • Mobile & Android
  • Browser
  • Plugin
  • Technology
  • Trading programming
  • Website
  • Windows & Software
  • WordPress

Puvox – Blog

Recent Posts

  • Debloat Windows 11/10 with debloaters
  • Configure VPS with details & LAMP
  • Necessary steps to secure your digital life
  • Add user & ssh key in Linux/Ubuntu
  • Install Redis Cache for PHP-8

Recent Comments

  • PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/ PhpBrew – Puvox – Blog on Install Redis Cache for PHP-8
  • Constantin on Remove (exit) “SmartImage” on Philips Monitor
  • Docker & PHP-8 (zts) & Apache & Swoole+Parallel – Puvox – Blog on Useful commands for docker (Windows)
  • Docker & phpBrew (php-7 zts) & WordPress – Puvox – Blog on PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/Ubuntu/PhpBrew
  • Hajra on Migrate/Redirect Blogspot without loosing SEO Rank

Archives

  • April 2022
  • December 2021
  • July 2021
  • June 2021
  • December 2020
  • October 2020
  • July 2020
  • May 2020
  • February 2020
  • January 2020
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • September 2018
  • August 2018
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • January 2017
  • December 2016
  • December 2013
  • January 2013

Categories

  • Browser
  • Coding
  • Health
  • Information & How to tutorials
  • Mobile & Android
  • Plugin
  • Technology
  • Trading programming
  • Video
  • Website
  • Windows & Software
  • WordPress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Add plugin for LiquidSoap in AzuraCast

  • Website

As you know, AzuraCast comes with pre-built liquidsoap config. In order to enable any plugin, according to its authors, you will need to manually re-build the docker image, and use it as replacement for original container.
As I am not familiar much with Docker, I’ve overgone a dirty way to enable specific plugin, called soundtouch in my `Ubuntu & Docker` Azuracast installation ( So, there might be easier way, if so, please comment it)

  • Put the contents of this repo into a new folder, i.e.: /var/azuracast/my-radio-image
  • In its Dockerfile , where it says opam_packages .... liquidsoap , before liquidsoap, add soundtouch in the list.
  • In the end of file: build/setup/liquidsoap.sh in the end of the plugins list, add libsoundtouch-dev
  • then open up a terminal and run:
cd /var/azuracast && docker build -t my_custom_station ./my-radio-image

After several minutes needed, it will complete process, and note that it shouldn’t produced error. To confirm that, run docker images and in the list you should see the latest image named my_custom_station . If not, you should correct the build error.

  • then in /var/azuracast create docker-compose.override.yml and insert:
version: '2.2'
services:
 stations:
     image: "my_custom_station:latest" 

Then run the command:

docker-compose up -d

After that, added function in liquidsoap configuration, restarted liquidsoap (wait several seconds in between) and it was working.

NOTE:  On every update of official AzuraCast-Radio package, you might need to do this process again, to adopt the new azura-stations image.

References

https://hub.docker.com/r/stephanel/liquidsoap/dockerfile
https://github.com/AzuraCast/AzuraCast/issues/1943
https://github.com/AzuraCast/AzuraCast/issues/3530
https://github.com/AzuraCast/AzuraCast/issues/3540

December 18, 2020

Post navigation

PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/Ubuntu/PhpBrew → ← [Solution] PHP-FPM.SOCK (No such file or directory) while connecting to upstream

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Browser
  • Coding
  • Health
  • Information & How to tutorials
  • Mobile & Android
  • Plugin
  • Technology
  • Trading programming
  • Video
  • Website
  • Windows & Software
  • WordPress
Copyright © 2019 | Puvox Software