Workaround in remote disk streaming server

This commit is contained in:
Henrik Rydgård committed 2026-03-08 12:40:22 +01:00
1 parent 0a1be41fa7
commit 9e0cb93085
1 file changed
+4
+4
View File
@@ -191,6 +191,10 @@ static std::string RemotePathForRecent(const std::string &filename) {
}
static Path LocalFromRemotePath(std::string_view path) {
// This happens for some reason...
if (startsWith(path, "//")) {
path.remove_prefix(1);
}
switch ((RemoteISOShareType)g_Config.iRemoteISOShareType) {
case RemoteISOShareType::RECENT:
for (const std::string &filename : g_recentFiles.GetRecentFiles()) {