borzunov / bit-torrent

📁 🌎 BitTorrent client built with Python + asyncio
MIT License
155 stars 28 forks source link

Is supported relative paths? #4

Closed latot closed 6 years ago

latot commented 6 years ago

Hi!, i have a qustion, well the title, a have torrents in a external hdd, and i seed them, but it change the absolute path when i reconnect it, so, the project supports relative path? (ex. ./torrents/fuuu)

Thx.

borzunov commented 6 years ago

Hi @latot!

The CLI version supports relative paths by default (you can use --download-dir option). The GUI version does not support them by default, but you can change this line to hardcode such a path:

self._download_dir = './torrents/fuuu'