Open JKarthaus opened 8 years ago
What python version are you running?
Can you try running this script on the PI? It is the date parsing code from this project. If will crash if the date parsing doesn't work.
Any update on this bugs? I can't get it to work. I test using the script by eirism, its work fine. However using the sortphotos, I have the exact problem as JKaurthaus, I use Python 2.7.13.
Does it work if you use all groups, i.e. drop the --use-only-groups EXIF
argument?
I managed to solve it by having a work around. I am running this sortphotos.py inside another program, so instead of running sortphotos.py straightaway, i let my other python program to wait for some seconds before it execute sortphotos.py. Now my photo sorting works.
I'm not a Python Guy but it seems there is a strange Date parsing Issue on RPI. I hava a Test JPG that run correctly on my Ubuntu Notebook
on a RPI the Script cannot parse the Exif Data
python sortphotos.py -t -r /root/test/src/ /root/test/dest/ --use-only-groups EXIF
[1/1](TEST - no files are being moved/copied) Source: /root/test/src/DSC_0013_12.JPG No valid dates were found using the specified tags. File will remain where it is.