Commit Graph

3 Commits (47093910a6ae0184450be5a13c3612f5e6a9ef8d)

Author SHA1 Message Date
DiMartinoXBMC 43fe7d5c6f dht off 2016-05-28 08:42:49 +03:00
Palatosino 23da8f77fd Fix magnetToTorrent
magnetToTorrent was broken because torrentFile.files is not indexable (but is iterable).
The only reason to use files[0] is to generate a "baseName" that is finally used to do self.md5(baseName) for the torrent file.

I can iterate to the first element (to emulate files[0]) and get the name, but I think that is useless.

We can remove this and use the magnet. I think that the best will be use the magnet ID information from the magnet link, not all the magnet, to remove optional arguments, but his is acceptable as a fast fix, and much better that the initial approach that can colisitionate with other files that have the same initial file (imagine a README.txt!!!!)
2016-05-08 13:58:59 +02:00
DiMartinoXBMC 106e42279d SkorbaLoader 2016-03-21 19:36:44 +03:00