Skip to content

Commit 121a387

Browse files
committed
snapcast: show snapweb placeholder
snapserver has a built-in webserver which is able to host a web player: snapweb. [1] It is accessible at http://snapserver:1780/ but with enabled "doc_root" setting and with missing directory the browser shows an empty page with a message: "The resource '/' was not found." Fix this with disabling the "doc_root" setting in "/etc/snapserver.conf" This "doc_root" was enabled and set to "/usr/share/snapserver/snapweb" in upstream commit fcbe40585875 ("Install snapweb") [2], back in 2020 and released in v0.21.0 of Snapcast. This was reported in an upstream discussion by Robert Muth. [3] [1]: https://github.com/badaix/snapweb [2]: snapcast/snapcast@fcbe405 [3]: snapcast/snapcast#1417 (reply in thread) Fixes: eeb8d13 ("snapcast: add package snapserver and snapclient") Signed-off-by: Szabolcs Hubai <[email protected]>
1 parent 4845c95 commit 121a387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/snapcast/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
44

55
PKG_NAME:=snapcast
66
PKG_VERSION:=0.28.0
7-
PKG_RELEASE:=1
7+
PKG_RELEASE:=2
88

99
PKG_SOURCE_PROTO:=git
1010
PKG_SOURCE_URL:=https://github.com/badaix/snapcast.git
@@ -84,9 +84,9 @@ define Package/snapserver/install
8484
$(INSTALL_DIR) $(1)/etc/init.d
8585
$(INSTALL_BIN) ./files/snapserver.init $(1)/etc/init.d/snapserver
8686
$(INSTALL_CONF) $(PKG_BUILD_DIR)/server/etc/snapserver.conf $(1)/etc/snapserver.conf
87+
$(SED) 's/.*doc_root *=/#doc_root =/' $(1)/etc/snapserver.conf
8788
$(INSTALL_DIR) $(1)/etc/config
8889
$(INSTALL_CONF) ./files/snapserver.conf $(1)/etc/config/snapserver
89-
9090
endef
9191

9292
define Package/snapclient/install

0 commit comments

Comments
 (0)