Extracted browsing entry points

This commit is contained in:
emeric
2023-10-02 00:04:58 +02:00
parent 247975d304
commit 4fbacd691d
10 changed files with 593 additions and 506 deletions
+7
View File
@@ -20,6 +20,7 @@
#include "Utils.hpp"
#include "utils/Service.hpp"
#include "utils/String.hpp"
#include "services/auth/IPasswordService.hpp"
#include "SubsonicResponse.hpp"
@@ -31,4 +32,10 @@ namespace API::Subsonic::Utils
if (!passwordService || !passwordService->canSetPasswords())
throw NotImplementedGenericError{};
}
std::string makeNameFilesystemCompatible(const std::string& name)
{
return StringUtils::replaceInString(name, "/", "_");
}
}