Skip to content

A self-hosted media server and file management system

fix: video resolution is not included in search query

aminnausind3f449d3991c
diff --git a/resources/js/stores/ContentStore.ts b/resources/js/stores/ContentStore.ts
index c59f4392..528670b9 100644
--- a/resources/js/stores/ContentStore.ts
+++ b/resources/js/stores/ContentStore.ts
@@ -98,6 +98,7 @@ export const useContentStore = defineStore('Content', () => {
video.metadata?.codec ?? '',
video.metadata?.album ?? '',
video.metadata?.artist ?? '',
+ video.metadata?.resolution_height ? `${video.metadata.resolution_height}p` : '',
];
return strRepresentation.join(' ').toLowerCase().includes(searchTerm);
} catch (error) {