-
Notifications
You must be signed in to change notification settings - Fork 13
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
Allow writing to "local source" which is externally synced #18
Comments
Hi @stevenbell sorry for the radio silence.
|
Thanks, I'll take a shot at this and send a PR soon! |
Just a heads up: there's a new devel branch, you probably want to use that one as a base for the PR. |
Any update on this? I like the idea a lot. |
I hacked on it a bit but didn't get to the point of being ready to submit a PR. From what I recall, it was very easy to set up, but the syncing wasn't working immediately (due to some combination of Remy + Syncthing + reMarkable) and I didn't have time to debug further. Another catch is that xochitl doesn't recognize that new files have been added in the background, so you have to have some way to restart it before you can see anything you've synced. Rebooting the tablet is a bit tedious and I haven't taken time to install another launcher. |
@stevenbell Thanks for the heads-up. It sounds promising so far. I think a good first step was to simply accept the requirement of a restart. A full restart takes too much time, a different launcher is a burden. Wouldn't it be enough to run |
Yes, I think that would work. The issue is that if stuff is syncing in the background there's not an obvious mechanism for triggering a |
@stevenbell You are right. You would need something like a hook that needs to run on the reMarkable. It would need to have a proper time out and it should not restart when a notebook is open. This is challenging, because the hook must only fire when syncthing is done and the device is idle, or it should at least delay the restart until that point. |
I've been using syncthing on my rM1 to keep a continuous backup of my files on my computer, and I can use reMy to view those files. I'd like to be able to use reMy to upload files to that "backup" directory, which would then get synced over to the tablet.
Is there any reason not to do this? Perhaps the JSON config file should specify that a local source can be written to, to avoid the case of accidentally overwriting a backup?
I'm happy to submit a PR; does this just require changes in the
LocalFileSource
class?remy/remy/remarkable/filesource.py
Line 101 in 9c5d689
The text was updated successfully, but these errors were encountered: