Skip to content

Conversation

@Cedric-Boucher
Copy link
Contributor

@Cedric-Boucher Cedric-Boucher commented Oct 13, 2023

resolved: #457
resolved: #460

there is now a new type of result, duplicate files
these are files that already exist in the destination
folder and are not imported if not importing duplicates

I have thoroughly verified that my changes do not cause
any other part of the code to break or act in an
unexpected manner. I have also removed some code
that could never get used:
elodie/localstorage.py: checksum() could never return None,
code was not accessible due to earlier return
because of this:
elodie/filesystem.py: process_checksum() did not need
to check if checksum was None after calculating it
this is what allowed my new code to use None
as a flag meaning that the file being imported and skipped
is a duplicate file
@CLAassistant
Copy link

CLAassistant commented Oct 13, 2023

CLA assistant check
All committers have signed the CLA.

@Cedric-Boucher
Copy link
Contributor Author

Cedric-Boucher commented Oct 13, 2023

The fail on ci/circleci is due to the printed output being changed in result.py. This is expected behavior for this PR (Issue #460)
the solution to #460 was to clarify in the printed output when files are not imported due to being duplicates of already imported files, instead of referring to them as "errors"

@Cedric-Boucher
Copy link
Contributor Author

I am working on updating the tests for my code, I'll need to create another PR when it's done.

I have noticed that my code does fail 4 tests, even after updating the tests. so I will figure that out now

@coveralls
Copy link

coveralls commented Oct 13, 2023

Coverage Status

coverage: 90.884% (+0.3%) from 90.61% when pulling 6e946d6 on D3Zyre:main into 76ad823 on jmathai:master.

@Cedric-Boucher
Copy link
Contributor Author

oh I don't need to make a new PR apparently. cool.

Well as you can see I've updated the tests to the new formatting and fixed the minor issue that had caused 4 of them to fail

@Cedric-Boucher
Copy link
Contributor Author

On this note:

We should really add some test cases to test the functionality of trying to import a file that has already been imported, to see if the duplicate count goes up

@Cedric-Boucher
Copy link
Contributor Author

the test that has now failed (for whatever reason) has nothing to do with any code I have changed. Odd

@Cedric-Boucher
Copy link
Contributor Author

I changed nothing and now the test passes. It seems that the failed test was a HTTPS call to that geolocation server. Annoying

@Cedric-Boucher
Copy link
Contributor Author

Another note. Is there any documentation that needs to be updated with this "UI" change?

@jmathai
Copy link
Owner

jmathai commented Oct 29, 2025

Were you able to get mkv files to work?

@Cedric-Boucher
Copy link
Contributor Author

it's been so long, I don't remember. to be honest I don't use Elodie anymore. I've moved completely over to Immich now

@jmathai
Copy link
Owner

jmathai commented Oct 31, 2025

Understood, thanks. I've been looking at Immich the past few weeks and it looks great. Any complaints?

I'm planning to migrate away from Google Photos to Immich. Created gh-496.

@Cedric-Boucher
Copy link
Contributor Author

I don't have any complaints, really. Immich is now stable and I rarely have any issues at all with it. It's still in active development so they are constantly fixing minor issues and making improvements! It's very impressive. I'd say it might still be missing some features compared to Google photos but for the most part it works exactly like Google photos, with automatic background sync and being able to share albums with other users (who can access your server), as well as multi-user support of course. I would definitely recommend trying it out. If you already have a NAS such as truenas it's very easy to install there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Elodie not recognizing videos with the .mkv file extension Hard to tell what the problem is when there's errors importing files

4 participants