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

Shoko generates different ED2k hash than avdump for 2 files #1092

Open
t0815 opened this issue Oct 24, 2023 · 8 comments
Open

Shoko generates different ED2k hash than avdump for 2 files #1092

t0815 opened this issue Oct 24, 2023 · 8 comments

Comments

@t0815
Copy link

t0815 commented Oct 24, 2023

VERSION INFORMATION

Server Version: 4.2.2

Desktop Version: 4.2.1

LOG FILE

2023-10-24 18:15:12
Info
Get AniDB file info: 70542
2023-10-24 18:15:14
Info
File 70542 (96E58FE1043EFC6A3302FFC6FC620651 | [Vivid] Suisei no Gargantia - Meguru Kouro, Haruka OVA - 01 [BD 1080p FLAC] [3D363369].mkv) could not be found on AniDB
2023-10-24 18:15:14
Info
Get AniDB file info: 70543
2023-10-24 18:15:16
Info
File 70543 (F3104CE90318AF633A31C74C48C0AA5B | [Vivid] Suisei no Gargantia - Meguru Kouro, Haruka OVA - 02 [BD 1080p FLAC] [EDE34F81].mkv) could not be found on AniDB
2023-10-24 18:15:16
Info
Get AniDB file info: 70535

DESCRIPTION

Very strange issue. Did add OVA for Suisei no Gargantia: Meguru Kouro, Haruka from SubGroup Vivid, for the following files:

Suisei no Gargantia: Meguru Kouro, Haruka - 1
Suisei no Gargantia: Meguru Kouro, Haruka - 1

For some reason, shoko is generating a different ed2k hash than avdump for those files, while all other hashes do match:

EP1, Shoko Hashes:
CRC 32: 3D363369
MD5: F7725C6EFD96F65971A2EBFBE359E638
SHA1: 9012ED7854BFCC9AB9A11B8E3E4F1074D2A72CCE
ed2k: ed2k://|file|[Vivid] Suisei no Gargantia - Meguru Kouro, Haruka OVA - 01 [BD 1080p FLAC] [3D363369].mkv|4353287981|96E58FE1043EFC6A3302FFC6FC620651|/

AniDB File Info:

grafik

avdump result: ed2k://|file|[Vivid] Suisei no Gargantia - Meguru Kouro, Haruka OVA - 01 [BD 1080p FLAC] [3D363369].mkv|4353287981|A375B63AD1DA809BBE3A4AE31E399261|/

shoko result: ed2k://|file|[Vivid] Suisei no Gargantia - Meguru Kouro, Haruka OVA - 01 [BD 1080p FLAC] [3D363369].mkv|4353287981|96E58FE1043EFC6A3302FFC6FC620651|/

When i try to add the files to anidb, after dumping them i get error, files exist:

grafik

Im not quite sure, what is going on here, why shoko for those files is generating a different ed2k hash. Other files are still importing fine so far.

STEPS TO REPRODUCE

1.) download specified files
2,) import files
3.) compare shoko ed2k hash with anidb, avdump hash.

@t0815 t0815 changed the title Shoko generates different Shoko generates different ED2k hash than avdump for 2 files Oct 24, 2023
@harshithmohan
Copy link
Member

Removed nyaa link

@revam
Copy link
Member

revam commented Oct 24, 2023

Just to be sure, but you've tried rehashing the file(s), right? @t0815

(Also, your Shoko Desktop is out of date, update it nvm me)

@t0815
Copy link
Author

t0815 commented Oct 24, 2023

yep. but, its happening for other files now too lol wth??? I'm starting to think my shoko installation might have a small corruption. Never happened before, did not update or change something. CRCs and other hashes match... so makes no sense at all. I will reinstall shoko. But whats strange, it does not happen for ALL files. Some still get correctly hashed.... unbelievable. I did try disabling AV software too... no change.

@t0815
Copy link
Author

t0815 commented Oct 24, 2023

ok reinstall, no change... hmmm. I will look for an ed2k hasher tool lol and will check against calculated hash.... question is, who is wrong 😄

@t0815
Copy link
Author

t0815 commented Oct 24, 2023

meh, well looks like shoko actually generates wrong hashes sometimes. Did rehash the files with eMule LinkCreator and got same result as AVDump.

@revam
Copy link
Member

revam commented Oct 25, 2023

And did a rehash of the file in shoko fix the hash? Or is it still wrong even after ypu have performed a rehash? (I'm asking again since i didn't get a concrete answer "yes it fixed it" or "no it didn't fix it" yesterday) @t0815

@t0815
Copy link
Author

t0815 commented Oct 26, 2023

oh sorry, rehash did not fix it! I deleted (renamed and deleted from shoko, since rehash isnt working currently) the files and imported them again, still wrong hash.

But corrupt video files couldn't have been the issue anyway, since as I was writing, all other hashes did match.

@revam
Copy link
Member

revam commented Oct 26, 2023

Thank you for the clarifications.

@da3dsoul any ideas as to why the hash might be wrong a d rehashing is nit working (before i try to look into this)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants