Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect Picture storage on SD card and sync it #30

Merged
merged 3 commits into from May 4, 2019

Conversation

@Karry
Copy link
Contributor

commented May 4, 2019

Hi.

Sync daemon for GhostCloud is great, but I was missing support for SD card. And from openrepos comments, I am not alone. For that reason, I prepare support for multiple photo locations.

  • Filesystem::rescan lookup all picture locations
  • location dir and name is added to fileFound signal
  • locationFound signal was introduced
  • Uploader now supports subdirectories and prevents sync enqueue for already processing location
@fredldotme
Copy link
Owner

left a comment

Looks good, please take a look at the comments.

src/daemon/uploader.cpp Outdated Show resolved Hide resolved
src/daemon/filesystem.cpp Outdated Show resolved Hide resolved

Karry added some commits May 4, 2019

remove check for queue size
we are checking already synchronising locations already with m_syncingPaths
@fredldotme

This comment has been minimized.

Copy link
Owner

commented May 4, 2019

PR approved. Awesome work!

@fredldotme fredldotme merged commit 7332168 into fredldotme:master May 4, 2019

@Karry

This comment has been minimized.

Copy link
Contributor Author

commented May 4, 2019

You are welcome :-)

@Karry Karry deleted the Karry:sync-sd-card branch May 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.