Importing files by hash, not filename

I’m not sure whether this app can do this or no, so this could be either a request for help, or a feature request.

This is the situation:

A few days ago I accidentally ran rm -R * . * / on my file server, wiping everything. I quickly disconnected the drive, plugged into an enclosure, mounted it on Ubuntu and ran PhotoRec, which recovered everything. But PhotoRec does not recover the filesystem structure, so the folders and file names were lost. Basically all the recovered files are named something like this “f4987584794783.ext” where ext means file extension. So I have a bunch of f87685545476.mp4, f86574853.mkv, f485749853.avi, etcetera. I can play these files and thousands of them are series episodes.

Does Sonarr import files by the MD5 hash or something similar? Can it recognise a release without filename?

I tried to drop some MKV files of Lost inside the Drone Factory but it’s not processing.

We have talked about it a bit, but not something we’re considering at this time, sorry.

Thanks for letting me know. What’s the reason why this is not being considered? I’m just curious to know why not.

We looked at it for finding sub titlss, but different sources use different hashing mechanisms, making it tougher to choose one that is universal (anime also hash their own hash).

Its mostly an effort/time vs reward, effort to implement and time to find a viable source.

I see. Makes sense. I thought that release groups published hashes for their files and all the app needed to do was to compare it to a database like eztv or something… Well thanks anyway, what the app does is very good already. Just wish I didn’t have to redownload several terabytes of data :frowning: