I’m hoping to organize the original-video-files folder a little better. I’ve written up a script to handle renaming and moving the files, as well as updating “videoSource”.”keptOriginalFilename” and “videoSource”.”inputFilename”.
The problem I’m running into is when one tries to download the original file from the video-watch page, you get the following error:
{"type":"about:blank","title":"Not Found","detail":"Original video file not found","status":404}
It appears to be creating the URL correctly. For example if I’ve moved the file to /original-video-files/newDir/filename.mp4 and renamed the keptOriginalFilename to “newDir/filename.mp4“ the URL looks like https://siteurl.com/download/original-video-files/newDir/filename.mp4?videoFileToken=xyz
I’m presuming there’s some sort of sanitization going on with the filepath. This is not super important, just an organization thing I was attempting and was curious if it’s possible. Thanks!