Add relaxation background sound to bitreich.org. - bitreich-httpd - Bitreich HT… | |
git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 541b20740b10f45a13f1f3c05bde2f176b2817c8 | |
parent d91240a05f9f9ccb93d93e7bea44fc7cbf79e779 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 21 Oct 2023 15:05:23 +0200 | |
Add relaxation background sound to bitreich.org. | |
Diffstat: | |
M bitreich-httpd.c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/bitreich-httpd.c b/bitreich-httpd.c | |
@@ -231,6 +231,9 @@ main(int argc, char *argv[]) | |
} else if (strstr(request, "startup.mp3")) { | |
asprintf(&path, "%s/s/startup.mp3", wwwbase); | |
ctype = "audio/mpeg"; | |
+ } else if (strstr(request, "padme-hum.mp3")) { | |
+ asprintf(&path, "%s/s/padme-hum.mp3", wwwbase); | |
+ ctype = "audio/mpeg"; | |
} else if (strstr(request, "dickbutt")) { | |
asprintf(&path, | |
"/home/annna/bin/locate-cake-hater \"%s\" \"%s\"", |