LRReader icon indicating copy to clipboard operation
LRReader copied to clipboard

Ability to sync duplicate exceptions between multiple computers

Open ChronoStriker1 opened this issue 2 years ago • 4 comments

There may be a way to do this but I didn't see anything that jumped out at me. I occasionally do a deduplication from two different computers. Due to some Manga being released in chapters setting exceptions can be a large task. Since I am doing it from two computers I have to do the same exceptions multiple times, when a series have 20 chapters released as volumes I'd like to only have to do this once (granted it would be nice to be able to group a series of volumes or chapters into a single entry, but that's more of a request for lanraragi itself then lrreader.)

ChronoStriker1 avatar Sep 08 '23 16:09 ChronoStriker1

Hello!

This used to be a thing when MS still hadn't "Killed" UWP, but now... It's quite hard. I could take a hit at it and make my own account/settings/sync platform thing, but I don't really have the time. I have thought about it, tho.

As of right now, what you could do is go to the following paths and copy the entire profile json or only the field MarkedAsNonDuplicated for each profile which holds the exceptions.

For store C:\Users\<user>\AppData\Local\Packages\63705Guerra24.LRReader_pd6jswmanqqw0\LocalState

For sideload C:\Users\<user>\AppData\Local\Packages\Guerra24.LRReader_3fr0p4qst6948\LocalState

Guerra24 avatar Sep 23 '23 17:09 Guerra24

That will work fine for me but a quick and dirty way that I think most people would be ok with is if we can manually set the path, that way in my situation I would sync it to a google drive location or even a network share that both computers have access to.

On Sep 23, 2023, at 1:30 PM, Guerra24 @.***> wrote:

Hello!

This used to be a thing when MS still hadn't "Killed" UWP, but now... It's quite hard. I could take a hit at it and make my own account/settings/sync platform thing, but I don't really have the time. I have thought about it, tho.

As of right now, what you could do is go to the following paths and copy the entire profile json or only the field MarkedAsNonDuplicated for each profile which holds the exceptions.

For store C:\Users<user>\AppData\Local\Packages\63705Guerra24.LRReader_pd6jswmanqqw0\LocalState

For sideload C:\Users<user>\AppData\Local\Packages\Guerra24.LRReader_3fr0p4qst6948\LocalState

— Reply to this email directly, view it on GitHub https://github.com/Guerra24/LRReader/issues/37#issuecomment-1732370903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASR7CB7Y3RWHDF6WKI7CX3X34MDXANCNFSM6AAAAAA4QSZ3XQ. You are receiving this because you authored the thread.

ChronoStriker1 avatar Sep 23 '23 17:09 ChronoStriker1

After checking some docs, this seems doable. I could let users pick a file path where the profile config would be stored. The main issue is retaining read/write access to it, but that appears to be covered already. I will take a look.

For reference so I don't forget: https://learn.microsoft.com/en-us/uwp/api/windows.storage.accesscache.storageitemaccesslist?view=winrt-22621

Guerra24 avatar Sep 23 '23 23:09 Guerra24

It should work with local drives, network drives, network paths and One Drive/Google Drive. You can try it on the nightly version. It might be missing an option to use an existing file, but we will see if it is really needed.

image

Guerra24 avatar Sep 29 '23 20:09 Guerra24

v1.8.2 is now out with this change!

Guerra24 avatar May 30 '24 01:05 Guerra24