[Bug]: camera export name not matching #15243
Replies: 2 comments 1 reply
-
This is not a bug, the name refers to the name field not the file name |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ehm, that is exactly why I posted the API description from the official Frigate page. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Describe the problem you are having
Given this documentation:
`POST /api/export//start//end/
Export recordings from start-timestamp to end-timestamp for camera as a single mp4 file. These recordings will be exported to the /media/frigate/exports folder.
It is also possible to export this recording as a time-lapse using the "playback" key in the json body, or specify a custom export filename, using the "name" key.
Optional Body:
{
"playback": "realtime", // playback factor: realtime or timelapse_25x
"name": "custom export name" // override the default export filename with a custom name
}`
Steps to reproduce
If I send a request like this:
curl -X POST \ http://127.0.0.1:5000/api/export/camera_1/start/1732818565/end/2000000000 \ -H "Content-Type: application/json" \ -d '{"playback": "realtime", "name": "camera_1_2024_11_28_19_30__gZj2F8Kywk.mp4"}' {"message":"Starting export of recording.","success":true}
I would expect the file to be named camera_1_2024_11_28_19_30__gZj2F8Kywk.mp4. But instead, it is named with the id.
In fact look at this output:
curl localhost:5000/api/exports [{"camera":"camera_1","date":1732818867,"id":"camera_1_t083j6","in_progress":false,"name":"camera_1_2024_11_28_19_30__gZj2F8Kywk.mp4","thumb_path":"/media/frigate/clips/export/camera_1_t083j6.webp","video_path":"/media/frigate/exports/camera_1_t083j6.mp4"}]
Version
0.14.1-f4f3cfa
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
Not needed
docker-compose file or Docker CLI command
Not needed
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Debian
Install method
Docker Compose
Network connection
Wired
Camera make and model
Not needed
Screenshots of the Frigate UI's System metrics pages
Not needed
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions