Skip to content

Follow symlinks #15

Description

@LightArrowsEXE

Currently, dottorrent does not appear to follow symlinks. DISC_1 here is a symlink to a different directory so I can seed it across multiple platforms.

dottorrent --tracker -snip- "Blue Archive the Animation 2024" "[BDMV][Blue Archive the Animation][Vol.1].torrent"
dottorrent/1.10.1 (https://github.com/kz26/dottorrent)
Input: Blue Archive the Animation 2024
Traceback (most recent call last):
  File "/home/lightarrowsexe/.pyenv/versions/3.12.2/bin/dottorrent", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lightarrowsexe/.pyenv/versions/3.12.2/lib/python3.12/site-packages/dtcli/cli.py", line 114, in main
    t_info = t.get_info()
             ^^^^^^^^^^^^
  File "/home/lightarrowsexe/.pyenv/versions/3.12.2/lib/python3.12/site-packages/dottorrent/__init__.py", line 176, in get_info
    fsize = os.path.getsize(fpath)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 62, in getsize
FileNotFoundError: [Errno 2] No such file or directory: 'Blue Archive the Animation 2024/DISC_1'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions