Some "orignal" videos are been exported as xml. #1379
Replies: 5 comments 7 replies
-
I am not able to replicate this. Please run the following command and send the output to osxphotos.py@gmail.com
|
Beta Was this translation helpful? Give feedback.
-
After a few hours of testing, it seems to me that, this mostly happens to videos that were been "trimmed" and saved on the orignal file, and the orignal is often The first export (with --download-missing) of a such file will produce a xml (plist?) file with .mov extention, but the next fresh export (at a different folder) would export the actual video content. My testing commands:
A SummaryI'm assuming this issue related to videos that were been "trimed and saved on orignal". I'm looking into the code, right now I'm at |
Beta Was this translation helpful? Give feedback.
-
I did some more digging with the built in osxphotos When I export this with osxphotos, osxphotos exports only the original video and doesn't even report that the editing photo is missing, which it should:
The XML plist file you got is not exported nor is an edited version of the video. So there may be more than one bug here. I'll do some more debugging to see what I can figure out. |
Beta Was this translation helpful? Give feedback.
-
I've done quite a bit more experimentation with editing videos and exporting and I cannot reproduce the behavior you're seeing. Will keep working on this as time permits. Nothing in the log files you sent jumps out. |
Beta Was this translation helpful? Give feedback.
-
I avoided the problem by using Regards to Apple Script exporting, upon a 1000 video export, about 20 will be exported as a small plist XML file upon the first attempt. I looked into the code at https://github.com/RhetTbull/PhotoScript/blob/ffe1b0f892c1e8ab788ffe5a1467e341459292ed/photoscript/__init__.py#L566-L569, it seems that there is a filename rename logic, it seems to me that it's likely somehow the Apple Script exported the plist file and it's been mistakenly renamed to .MOV? Maybe we could add some log here or do not delete the TemporaryDirectory to figure out what happened? |
Beta Was this translation helpful? Give feedback.
-
I found that the orignal videos were exported as a xml file with .mov extention, meanwhile edited videos were exported correctly.
I'm assuming that this only happen to videos?
The content of that xml file
IMG_4990.mov
isBeta Was this translation helpful? Give feedback.
All reactions