controlscript must be located in plugin_dir

This commit is contained in:
badaix 2025-01-21 22:25:04 +01:00
parent be266c07ce
commit 8e9806f35c
13 changed files with 137 additions and 46 deletions

View file

@ -1,6 +1,6 @@
/***
This file is part of snapcast
Copyright (C) 2014-2024 Johannes Pohl
Copyright (C) 2014-2025 Johannes Pohl
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -92,6 +92,7 @@ struct ServerSettings
struct Stream
{
size_t port{1704};
std::filesystem::path plugin_dir{"/usr/share/snapserver/plug-ins"};
std::vector<std::string> sources;
std::string codec{"flac"};
int32_t bufferMs{1000};