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

[Suggestion] "lazy mode" for torrent verify comamnd #535

Open
DerBunteBall opened this issue Mar 20, 2024 · 0 comments
Open

[Suggestion] "lazy mode" for torrent verify comamnd #535

DerBunteBall opened this issue Mar 20, 2024 · 0 comments

Comments

@DerBunteBall
Copy link

DerBunteBall commented Mar 20, 2024

imdl should be a bit more tolerant when checking torrents with regard to file names and other things.

Two simple examples:

In practice, torrents are sometimes created from very messy folders.

A classic example is the protruding space character.

Even 0-byte files occur frequently.

Torrent clients sometimes handle this quite clumsily. For example, Transmission removes protruding spaces and does not create 0-byte files.

This procedure means that these torrents are valid and clean for Transmission. In imdl a check fails because of missing files although they are actually there.

This can be remedied by "unclean" renaming and creating empty files with touch.

It might be useful if files were found even if they are there but really only have spaces in front of them. Also 0-byte files should be considered "irrelevant" and simply ignored. This should not break hashes. It would be useful to be able to activate this with an option in the verify command. Something like -lazy or something similar.

Edit: Transmission also appears to remove trailing spaces.

Edit 2: Transmission performs the cleanup for all path parts.

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

1 participant