Page 1 of 1

Featur suggestion: Torrent paths

PostPosted: 28 Apr 2014 01:46
by old_death
I would like to suggest that Shareaza automatically looks for and removes double slashes within the file paths of torrents it downloads. It seems to be a common encoding error that paths within torrents don't have one slash separating two folders in a path but two. This causes trouble when trying to allocate the files later while moving them to the completed directory. Therefore I suggest running a simple for loop over the filepath+name of all files included in a torrent and remove any double slashes within that path. This would eliminate troubles with such wrongly encoded torrents.

Example of torrent file details dialog of a torrent that shows the specified problem:
Torrent encoding error.png

Re: Featur suggestion: Torrent paths

PostPosted: 07 May 2014 16:55
by queuesclimber
Yes, this can be optimized. But it is working.
No need to change.

Re: Featur suggestion: Torrent paths

PostPosted: 08 May 2014 01:21
by old_death
Yes, there is a need. Shareaza seems to be able to download the files just fine - however uploading seems not to work in some/all cases (not sure).

Re: Featur suggestion: Torrent paths

PostPosted: 08 May 2014 13:54
by raspopov
A torrent content never used in uploading process except TigerTree.

Re: Featur suggestion: Torrent paths

PostPosted: 09 May 2014 04:11
by old_death

Re: Featur suggestion: Torrent paths

PostPosted: 09 May 2014 05:38
by raspopov
Fixed in r9395.

Re: Featur suggestion: Torrent paths

PostPosted: 14 May 2014 11:38
by old_death
This fixes it only for newly started torrents, am I correct?

Re: Featur suggestion: Torrent paths

PostPosted: 14 May 2014 16:36
by raspopov
Yes.

Re: Featur suggestion: Torrent paths

PostPosted: 15 May 2014 16:37
by old_death
Thx!