Fixed offline video state to use fMP4 segments instead of launching ffmpeg with the old TS file.

This commit is contained in:
2026-04-02 09:11:00 -04:00
parent 9c290fa0d7
commit f0aa545d32
7 changed files with 72 additions and 61 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ func getAllFilesRecursive(baseDirectory string) (map[string][]os.FileInfo, error
directory = info.Name()
}
if filepath.Ext(info.Name()) == ".m4s" {
if filepath.Ext(info.Name()) == ".m4s" || filepath.Ext(info.Name()) == ".mp4" {
files[directory] = append(files[directory], info)
}