Skip to content

High performance self-hosted photo and video management solution.

chore(server): update asset not ready error messages (#28968)

Mees Frensel4ead3e697d92
diff --git a/server/src/services/hls.service.ts b/server/src/services/hls.service.ts
index fba8b8e060..f7f65466b8 100644
--- a/server/src/services/hls.service.ts
+++ b/server/src/services/hls.service.ts
@@ -58,7 +58,7 @@ export class HlsService extends BaseService {
const asset = await this.videoStreamRepository.getForMainPlaylist(assetId);
if (!asset) {
- throw new NotFoundException('Asset is not yet ready for streaming');
+ throw new NotFoundException('Asset metadata is not yet ready for streaming');
}
// Sharing the sessionId allows only one microservices worker to successfully insert to the session table.
@@ -76,7 +76,7 @@ export class HlsService extends BaseService {
const asset = await this.videoStreamRepository.getForMediaPlaylist(assetId, sessionId);
if (!asset) {
- throw new NotFoundException('Asset not found or not yet ready for streaming');
+ throw new NotFoundException('Asset not found or metadata not yet ready for streaming');
}
return this.generateMediaPlaylist(asset);