Bug 508920 - [FR] Create new project on start with media file specification
Summary: [FR] Create new project on start with media file specification
Status: ASSIGNED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 25.08.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-30 06:18 UTC by Narcis Garcia
Modified: 2025-10-21 15:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Narcis Garcia 2025-08-30 06:18:26 UTC
When a file is specified as application-start parameter, Kdenlive assumes it to be an XML file (project).
My petition is to check MIME-type and, when it is not detected as XML project, create an empty one and add specified files as project's elements to work on (eg. video clip).
Comment 1 Narcis Garcia 2025-08-30 06:20:02 UTC
This would help for a quick click-and-edit task from OS file browser.
Comment 2 Bug Janitor Service 2025-09-01 07:03:23 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/722
Comment 3 Jean-Baptiste Mardelle 2025-10-21 15:35:12 UTC
Git commit e4966f6dfbd8bb3888271baa7eef4dd749542cb8 by Jean-Baptiste Mardelle.
Committed on 21/10/2025 at 15:35.
Pushed by mardelle into branch 'master'.

Allow appending video clips directly to a project in command line

This allows opening video files in a blank project by calling:
kdenlive video1.mp4 video2.mp4 [...]

M  +1    -1    src/core.cpp
M  +1    -1    src/core.h
M  +31   -6    src/main.cpp
M  +29   -11   src/project/projectmanager.cpp
M  +5    -2    src/project/projectmanager.h

https://invent.kde.org/multimedia/kdenlive/-/commit/e4966f6dfbd8bb3888271baa7eef4dd749542cb8