Bug 508920

Summary: [FR] Create new project on start with media file specification
Product: [Applications] kdenlive Reporter: Narcis Garcia <narcisgarcia>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: ASSIGNED ---    
Severity: wishlist CC: fritzibaby
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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