AniPy icon indicating copy to clipboard operation
AniPy copied to clipboard

[TUTORIAL] GetNotOnTachi

Open Psychocrysma opened this issue 2 years ago • 7 comments

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!

Psychocrysma avatar Jul 08 '23 01:07 Psychocrysma

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

Jacekun avatar Jul 08 '23 11:07 Jacekun

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

Jacekun avatar Jul 08 '23 11:07 Jacekun

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

Thank you!

Psychocrysma avatar Jul 08 '23 11:07 Psychocrysma

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 avatar Jul 09 '23 18:07 Psychocrysma

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 avatar Jul 09 '23 19:07 Psychocrysma

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

Psychocrysma avatar Jul 09 '23 19:07 Psychocrysma

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.

Jacekun avatar Jul 10 '23 10:07 Jacekun