Commit Graph

4 Commits

Author SHA1 Message Date
Alexey Kostin
0b305dd2f9
Fix windows prohibited simbols (#46)
* handle windows fs prohibited symbols

* fix abs path symbols replace

* more readable code

* better replacer
new replacer function with tests

* return zero files from torrent info file tree if there are single file torrent

* don't harm torrent file function, handle filelist size in another places

* more accurate handling single files

* use mapped files for directories or torrent names with space on ending

* normalize backslases too

* Don't normalize cesu8\prohibited symbols on torrent name if torrent file contain several files. But normalize for single file torrent and normalize last space character for both

* Better torrent name and torrent file paths handling
helpers
tests

* move torrents functions to torrents functions
cache single flag

* update README.md

* fix deprecation warnings
2023-12-05 21:17:43 +03:00
Alexey Kostin
fda659db74
Cesu8 (#44)
* cesu8 handler

* resume file cesu8 handle

* utf8 emoji filepaths

* cesu8 emoji filepaths and torrent names

* cesu8 emoji filepaths and torrent names handling
improve tests

* add fastresume Name field

* update golang ver

* handle torrent files with cesu8 encoded file paths and handle them as NoSubfolder torrents for better compatibility

* fix cesu8 named single file torrents
2023-11-25 22:47:40 +03:00
Alexey Kostin
47e0028bc1
Fixstructures (#39)
* Fix structures

* torrents v2 file tree interface

* get files vrom both v1 and v2 torrents

* fix typo

* style

* cleanup makefile

* new test fileset with real qBittorrent files and new tests

* counting files using torrent file

* Handle v2 and hybryd torrents
2022-04-17 16:01:18 +03:00
rumanzo
b66b5f8e75 Rewrite handle trackers function. Respect trackers tier
Expect for different types in resumeItem trackers.
New recursion function for dig interface for strings in helpers

https://github.com/rumanzo/bt2qbt/issues/36
2022-04-09 00:09:33 +03:00