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

@@ -709,6 +709,11 @@ func (t *ImportTask) ImportScenes(ctx context.Context) {
return err
}
// skip importing markers if the scene was not created
if sceneImporter.ID == 0 {
return nil
}
// import the scene markers
for _, m := range sceneJSON.Markers {
markerImporter := &scene.MarkerImporter{