diff --git a/src/api/subsonic/SubsonicResource.cpp b/src/api/subsonic/SubsonicResource.cpp index 436e6699..629fefe2 100644 --- a/src/api/subsonic/SubsonicResource.cpp +++ b/src/api/subsonic/SubsonicResource.cpp @@ -1837,8 +1837,8 @@ static std::map requestEntryPoints using MediaRetrievalHandlerFunc = std::function; static std::map mediaRetrievalHandlers { - {"/rest/stream", handleStream}, - {"/rest/getCoverArt", handleGetCoverArt}, + {"stream", handleStream}, + {"getCoverArt", handleGetCoverArt}, }; void diff --git a/src/database/Session.cpp b/src/database/Session.cpp index cff23723..69c857fe 100644 --- a/src/database/Session.cpp +++ b/src/database/Session.cpp @@ -100,7 +100,7 @@ Session::doDatabaseMigrationIfNeeded() { default: LMS_LOG(DB, ERROR) << "Database version " << version << " cannot be handled using migration"; - throw LmsException {outdatedMsg}; + throw LmsException { LMS_DATABASE_VERSION > version ? outdatedMsg : "Server binary outdated, please upgrade it to handle this database"}; } VersionInfo::get(*this).modify()->setVersion(LMS_DATABASE_VERSION);