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

[TUTORIAL] GetNotOnTachi #9

Open
Psychocrysma opened this issue Jul 8, 2023 · 7 comments
Open

[TUTORIAL] GetNotOnTachi #9

Psychocrysma opened this issue Jul 8, 2023 · 7 comments

Comments

@Psychocrysma
Copy link

Hi, I'm not very adept with python scripts in general. I've been trying to figure out how to use that function, but I've no idea. Could you put an example of how to use it?
Thanks!

@Jacekun
Copy link
Owner

Jacekun commented Jul 8, 2023

That script fetch anilist entries that are not on your tachiyomi backup provided.

@Jacekun
Copy link
Owner

Jacekun commented Jul 8, 2023

I will put together a tutorial in the future, whenever I have time

@Psychocrysma
Copy link
Author

I will put together a tutorial in the future, whenever I have time

Thank you!

@Psychocrysma
Copy link
Author

I got it to work for the GetNotOnTachi, but when I try to restore the backup to Tachiyomi, it doesn't work. Maybe I am not using it right. The TLDR: My phone was destroyed on the highway and the only backup I can get is from Anilist. Is this not capable of achieving this perhaps?

@Psychocrysma
Copy link
Author

UPDATE: After looking into it further, I think the protobuf schema is wrong. Maybe it was updated at some point by the tachiyomi team? I'm not sure, but it doesn't work. I get:
kotlinx.serialization.protobuf.internal.ProtobufDecodingException: Expected wire type 2, but found 0
Unfortunately, I've never worked with protobuf so I don't know how this works, but the error might help you figure it out?

@Psychocrysma
Copy link
Author

UPDATE once again: I used a version of tachiyomi from 2021 (that you fixed back then) to restore the backup and it worked.

@Jacekun
Copy link
Owner

Jacekun commented Jul 10, 2023

Glad it worked out for you. Really. The main reason I wrote these scripts is exactly for that reason. In case I experience data loss myself, I could import from backups.

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

No branches or pull requests

2 participants