Entrance themes

From NURDspace
Jump to navigation Jump to search
Entrance themes
WWEEntrance.jpg
Participants Dennis
Skills Programming
Status Finished
Niche
Purpose Fun
Tool No
Location ask melan
Cost
Tool category

Entrance themes

WWEEntrance.jpg {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}


What

We have a script running on spacesound that plays entrance theme audio when a member enters the space.

It checks if a member is entering on MQTT, it pauses MPD, plays a song from the folder "themes" that was mounted from Egg with mpg123 and resumes MPD.

It needs paho installed. More info about installing paho here: Shutdown Script


The script is on https://gist.github.com/buzztiaan/141ab1dc469b8f7db1d362b273b73746