Featur suggestion: Torrent paths

Discuss Shareaza development as a user.
Forum rules
Home | Wiki | Rules

Featur suggestion: Torrent paths

Postby old_death » 28 Apr 2014 01:46

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
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Featur suggestion: Torrent paths

Postby queuesclimber » 07 May 2014 16:55

Yes, this can be optimized. But it is working.
No need to change.
queuesclimber
 
Posts: 299
Joined: 29 Oct 2013 16:24

Re: Featur suggestion: Torrent paths

Postby old_death » 08 May 2014 01:21

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).
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Featur suggestion: Torrent paths

Postby raspopov » 08 May 2014 13:54

A torrent content never used in uploading process except TigerTree.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Featur suggestion: Torrent paths

Postby old_death » 09 May 2014 04:11

User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Featur suggestion: Torrent paths

Postby raspopov » 09 May 2014 05:38

Fixed in r9395.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Featur suggestion: Torrent paths

Postby old_death » 14 May 2014 11:38

This fixes it only for newly started torrents, am I correct?
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Featur suggestion: Torrent paths

Postby raspopov » 14 May 2014 16:36

Yes.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Featur suggestion: Torrent paths

Postby old_death » 15 May 2014 16:37

Thx!
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19


Return to Bugs, Tasks, and Features Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron