From aa7fa5279ef7cfb9f4a5afe64879e271bf3c1937 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 19 Dec 2022 04:36:58 +0200 Subject: [PATCH] disable songs on WPD --- files/events/templates/music.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/events/templates/music.html b/files/events/templates/music.html index 00805d218f..8876e8d41a 100644 --- a/files/events/templates/music.html +++ b/files/events/templates/music.html @@ -1,4 +1,4 @@ -{% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} +{% if SITE_NAME != 'WPD' and not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} {% if not song %} {% set path = "assets/media/event/music" %} {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}