Add marker end seconds import/export (#5777)

* skip importing markers if scene is skipped
This commit is contained in:
bob123491234
2025-03-28 00:50:26 -05:00
committed by GitHub
parent c0d5d1e5a7
commit 4bfc93b7ae
4 changed files with 23 additions and 5 deletions

View File

@@ -235,6 +235,10 @@ func GetSceneMarkersJSON(ctx context.Context, markerReader models.SceneMarkerFin
UpdatedAt: json.JSONTime{Time: sceneMarker.UpdatedAt},
}
if sceneMarker.EndSeconds != nil {
sceneMarkerJSON.EndSeconds = getDecimalString(*sceneMarker.EndSeconds)
}
results = append(results, sceneMarkerJSON)
}