AndreasSko / ios-jwlm

An iOS app to easily merge JW Library backup files.
MIT License
47 stars 3 forks source link

Url/shortcut support #51

Open mattapperson opened 1 year ago

mattapperson commented 1 year ago

Any chance we might get support for helping to automate this task on jwlibrary open/close via shortcut automations?

AndreasSko commented 1 year ago

That sounds like an interesting idea! What kind of shortcut actions did you think of that would help to automate the process?

mattapperson commented 1 year ago

Basically I created 2 automations as a POC, a share action so when you create a backup, you “share” it to a shortcut that maintains a txt file of when the backup was created, the device it was created on, and saves the file. It then merged the newly created backup file with the master backup file. then a second automation uses the opening of jwlibrary as a trigger… it checks to see when the last restore of this devices jwlibrary was and if the master backup is newer, it opens the backup in jwlibrary.

the result is a manual backup process, but automated notification and sync of any backup created across all devices. The automated nature of this makes it super easy to ensure there are few (no?) merge conflicts, and all devices stay in sync.

I was going to do the merge on a small web service… but locally using your app would be even better 😊