nixos/music-assistant: open port for snapcast provider
This commit is contained in:
@@ -82,7 +82,8 @@ in
|
|||||||
allowedTCPPorts =
|
allowedTCPPorts =
|
||||||
lib.optional cfg.enable 8097 # Music Assistant stream port
|
lib.optional cfg.enable 8097 # Music Assistant stream port
|
||||||
++ lib.optional (lib.elem "airplay" cfg.providers) 7000
|
++ lib.optional (lib.elem "airplay" cfg.providers) 7000
|
||||||
++ lib.optional (lib.elem "sendspin" cfg.providers) 8927;
|
++ lib.optional (lib.elem "sendspin" cfg.providers) 8927
|
||||||
|
++ lib.optional (lib.elem "snapcast" cfg.providers) 1780;
|
||||||
# The information published by Apple 1 seem to not apply to libraop.
|
# The information published by Apple 1 seem to not apply to libraop.
|
||||||
# The closest we could find that represents the port range being used as observed by tcpdump is the ephemeral port range.
|
# The closest we could find that represents the port range being used as observed by tcpdump is the ephemeral port range.
|
||||||
# 1: https://support.apple.com/en-us/103229#:~:text=49152%E2%80%93-,65535,-TCP%2C%20UDP
|
# 1: https://support.apple.com/en-us/103229#:~:text=49152%E2%80%93-,65535,-TCP%2C%20UDP
|
||||||
|
|||||||
Reference in New Issue
Block a user