Entrance themes

From NURDspace
Revision as of 20:51, 9 May 2022 by Buzz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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