theophanemayaud / video-simili-duplicate-cleaner

https://theophanemayaud.github.io/video-simili-duplicate-cleaner/
GNU General Public License v3.0
51 stars 5 forks source link

Apple photos: if file coundn't be deleted, don't say it was in mainwindow log after just saying it was #72

Open theophanemayaud opened 2 years ago

theophanemayaud commented 2 years ago

The implementation of void Comparison::deleteVideo(const int &side, const bool auto_trash_mode) skips / prevents deletion of specific files but doesn't skip the success message afterwards !

theophanemayaud commented 2 years ago

Specifically when

emit sendStatusMessage(QString("Unknown error adding %1 into Apple Photos Library album.").arg(QDir::toNativeSeparators(filename)));

within

if(!returnValue.contains(OBJ_C_SUCCESS_STRING))