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

Faulty torrent name and 'name' field when using relative path '.' #11

Closed
rsnitsch opened this issue Jan 5, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@rsnitsch
Copy link
Owner

rsnitsch commented Jan 5, 2022

@SMooxx reported in #10 that creating a torrent for a directory referenced via "." results in faulty torrent names.

Original report:

Another issue here. I used to use mktorrent which can support ‘relative path'.
But it seems py3createtorrent can't support 'relative path' here. For example, If I use it like this,
py3createtorrent -v -p 8192 -P -s FL -o ~/example.torrent -d -1 -t https://tracker/announce.php --exclude-pattern "(^.*\.r.*|sfv)$" ./
It will create a torrent with a wierd name [. ] in its name field, and I can't add this torrent to my torrent client anyway.
image

If I change the path to full path, the torrent created will be OK.

Link: #10 (comment)

@rsnitsch rsnitsch added the bug Something isn't working label Jan 5, 2022
@rsnitsch rsnitsch changed the title Faulty torrent 'name' when using relative path '.' as Faulty torrent name and 'name' field when using relative path '.' as Jan 5, 2022
@rsnitsch rsnitsch changed the title Faulty torrent name and 'name' field when using relative path '.' as Faulty torrent name and 'name' field when using relative path '.' Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant