-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Video file names are altered during upload #21
Comments
I've spent some time poking at this today, and there's two rename patterns I've seen, with no seeming reason triggering the rename. Given a file named FOO.EXT (where EXT in my case is always either mp4 or MP4), I've seen the following: FOO_EXT.MP4 A related-but-different problem is that sometimes uploaded videos (all uploaded by smugcli!) are missing I'm working on patches for both. |
FWIW I've never seen this on .MOV or .mov files, but I have those. |
This unblocks removing movies with `smugcli rm`, which helped me while I was debugging duplicated movies resulting from graveljp#21.
Experimentally FOO.mp4 can get renamed either to FOO_mp4.MP4 or FOO.MP4. It's unclear what triggers this behavior (presumably something about the video content, maybe something that triggers a re-encode or re-mux), but this avoids duplicating the video on every `smugcli sync` invocation for files that get renamed like this. Fixes graveljp#21. (As far as I can tell.)
Cool! I'll hopefully have a chance to test your fix here shortly. |
This unblocks removing movies with `smugcli rm`, which helped me while I was debugging duplicated movies resulting from #21.
Moved off of Smugmug. Will leave this open in case others are interested. |
For example, I used smugcli to upload
20200703_200206.mp4
and after upload the filename shown on the website is20200703_200206_mp4.MP4
. This causes bothsmugcli sync
and uploads from the website to upload the video again because the filename doesn't match.Thanks!
(sorry to spam you with several issues in a row! Useful project!)
The text was updated successfully, but these errors were encountered: