khalidkhan020 / transdroid

Automatically exported from code.google.com/p/transdroid
GNU General Public License v3.0
0 stars 0 forks source link

cannot add torrent #460

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Android 4.1.1, Samsung s3. Try to download torrent from website. Transdroid 
will try to open it rather than download it. Transdroid will try to add the 
torrent and say it has and refresh list but it hasn't added it. 1.1.10 allowed 
you to download the file and import it by adding it manually.

What version of the product are you using?
1.1.12

What torrent client are you using?
Rtorrent

Original issue reported on code.google.com by keelan.h...@gmail.com on 12 Mar 2013 at 12:47

GoogleCodeExporter commented 9 years ago
In fact, I fixed a bug that caused Transdroid not to pick up certain torrent 
files, while it does now correctly. That's why Transdroid tries to 'open' it 
now (while before the browser just handled it and started a download).

The fact that it is not added, it probably because your torrent client cannot 
download it. Transdroid sends the URL to your torrent client. If it is an URL 
that needs some login (authentication, such as signing in to a website) than 
your torrent client will not be able to grab the torrent file. Instead you will 
need to download the file on your device first. In a browser use long-click and 
select 'Save link' (or your browser's equivalent).

Original comment by erickok@gmail.com on 18 Mar 2013 at 2:29

GoogleCodeExporter commented 9 years ago
Oh ok, thank you for the explanation. 

I am going to stick with 1.1.10 though as i like how i will not have to do the 
extra step. To download the .torrent file. Im sure most people (i'd hope) were 
with private trackers which will require you to login. I tried to play with the 
cookies in rutorrent to achieve this but doesn't seem to work.

Much appreciated.

Original comment by keelan.h...@gmail.com on 18 Mar 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Issue 465 has been merged into this issue.

Original comment by erickok@gmail.com on 19 Mar 2013 at 8:02

GoogleCodeExporter commented 9 years ago
Isn't there a way to make this an option so some of us that need the old method 
of opening torrents still can benefit from fixes upstream?

Original comment by petter.s...@gmail.com on 19 Mar 2013 at 8:08

GoogleCodeExporter commented 9 years ago
Issue 468 has been merged into this issue.

Original comment by erickok@gmail.com on 28 Mar 2013 at 7:26

GoogleCodeExporter commented 9 years ago
Okay. It seems to harm more people than help. I am going to revert this change. 
Sorry for the inconvenience and thanks for your constructive criticism.

Original comment by erickok@gmail.com on 28 Mar 2013 at 7:27

GoogleCodeExporter commented 9 years ago
I've reverted the chang in r188a77f445a1 and uploaded a test version at 
https://code.google.com/p/transdroid/downloads/detail?name=transdroid-1.1.14.apk
&can=2&q=

Could you give this version a try and report back if this solves your issue?

Original comment by erickok@gmail.com on 10 Apr 2013 at 1:48

GoogleCodeExporter commented 9 years ago
For me, 1.1.14 still fails to actually add the torrent (although it reports to 
do so) 

Original comment by petter.s...@gmail.com on 10 Apr 2013 at 2:50

GoogleCodeExporter commented 9 years ago
I get the same as #8. Tries to add straight to transdroid,  doesn't work. 
Reverted back to .10.

Original comment by keelan.h...@gmail.com on 10 Apr 2013 at 9:10

GoogleCodeExporter commented 9 years ago
Same problem as you guys on Nexus 4.

Original comment by yochai...@gmail.com on 15 Apr 2013 at 1:36

GoogleCodeExporter commented 9 years ago
I've uploaded a new version. Could you give this a try? 
https://code.google.com/p/transdroid/downloads/detail?name=transdroid-1.1.14-rc2
.apk&can=2&q= If this doesn't work either, could you supply me with an example 
of a torrent that doesn't work for your?

Original comment by erickok@gmail.com on 15 Apr 2013 at 11:31

GoogleCodeExporter commented 9 years ago
Seems public torrents like tpb work, but closed sites do not

Original comment by petter.s...@gmail.com on 15 Apr 2013 at 11:39

GoogleCodeExporter commented 9 years ago
How about the newly release 1.1.14 (marked as rc3 on this site's downloads) 
version?

Original comment by erickok@gmail.com on 23 Apr 2013 at 10:53

GoogleCodeExporter commented 9 years ago
Nope. Same result as before, only auto adds on public torrents. I did notice on 
public torrents it asks me which program to use with the file. On private 
torrents it does not. Maybe and issue with the way private torrent sites 
produce the torrent file for the end user. Though when downloading from a 
private site it does open transdroid and refreshes but never actually adds the 
torrent. Thank you. 

Original comment by keelan.h...@gmail.com on 23 Apr 2013 at 12:47

GoogleCodeExporter commented 9 years ago
Well the problem is that every private tracker does it differently so unless 
someone van provide me with a test account it's a bit of a shot in the dark. 
Some trackers have their torrent files end in .torrent, others use a 
x-bittorrent mime type, yet other rely on every different methods.

Original comment by erickok@gmail.com on 23 Apr 2013 at 1:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I will send you an invite for IPT, they do use .torrent. Send to your email 
noted above.

EDIT: Nevermind says email already in use. I guess you already have an account.

Original comment by keelan.h...@gmail.com on 23 Apr 2013 at 1:27

GoogleCodeExporter commented 9 years ago
I have an account there. I'll check it out.

Original comment by erickok@gmail.com on 23 Apr 2013 at 1:44

GoogleCodeExporter commented 9 years ago
Issue 473 has been merged into this issue.

Original comment by erickok@gmail.com on 10 May 2013 at 8:10

GoogleCodeExporter commented 9 years ago
I've removed the handling of all http links in Transdroid 1.1.15. Unfortunately 
this also goes for public sites, but I belief this is a minor annoyance. 
Perhaps I can think of a better solution for the new Transdroid version that I 
am working on. Fix in re5440b2569d7.

Original comment by erickok@gmail.com on 15 May 2013 at 12:58

GoogleCodeExporter commented 9 years ago
So this will work exactly the same as 1.1.10? It will download it to the phone 
and you import it from the app? If so, brilliant. 

Original comment by keelan.h...@gmail.com on 15 May 2013 at 1:01

GoogleCodeExporter commented 9 years ago
Works perfect now.  You are the man. 

Original comment by nus.m...@gmail.com on 15 May 2013 at 7:45

GoogleCodeExporter commented 9 years ago
I still cannot add torrents from private trackers via Chrome. Public torrents 
are working fine. But, in Firefox both tracker types are working. Can anyone 
confirm this or maybe have a look into it?

With Chrome i get the message "Torrent added", but it isn't. With Firefox, the 
message is the same, but it is really added there.

Original comment by mirkoajd...@gmail.com on 16 May 2013 at 10:29

GoogleCodeExporter commented 9 years ago
I'm using Android 4.2.2 and the last version of Transdroid 1.1.15. The issue 
with the torrents has been also there on 1.1.14. I didn't use Transdroid before.

Original comment by mirkoajd...@gmail.com on 16 May 2013 at 10:32

GoogleCodeExporter commented 9 years ago
I usually use the default Android browser, but I just tested with Chrome as 
well. I click a torrent (on IPTorrents, so private) and it downloads the 
.torrent file. I click that and it Transdroid opens and says 'Uploading 
torrent...'. It is then added correctly to my server.

Does it download a torrent file or does Transdroid try to open the link (send 
the URL to the server instead)?

Original comment by erickok@gmail.com on 16 May 2013 at 10:41

GoogleCodeExporter commented 9 years ago
I have a Nexus 4, so Chrome is my default Android browser.

When i click on a torrent link on the private site i use, the torrent is 
downloaded, then directly Transdroid comes up and says "Torrent added". With FF 
it is the same, with one small distinction; after Transdroid pops up, it says 
"Uploading Torrent" and then "Torrent added". If i download the torrent file 
manually with Chrome, TransDroid can't read the file. Private trackers don't 
allow hotlinking, so the real Torrent file is created/converted not until the 
download. There seems to be a difference in link handling and sending it to 
TransDroid between Chrome and FF.

Original comment by mirkoajd...@gmail.com on 16 May 2013 at 10:58

GoogleCodeExporter commented 9 years ago
Try closing Transdroid fully before clicking opening the torrent with 
Transdroid. Use the back button from Transdroid's main screen or open the list 
of activities with the Nexus 4's rightmost button and swipe away Transdroid. 
Now try again and it should work.

The problem is that Chrome now uses the Download Manager instead of directly 
download a file and passing the local file:/// uri to Transdroid. Transdroid 
then has to ask access to the Download Manager to that file. The Download 
Manager will provide this access yet only when Transdroid was freshly started - 
not when it was already running. I think this is an issue with the Download 
Manager, but I am not 100% sure. In any case I will try to fix this behaviour 
in the new Transdroid I am working on. Hope this helps.

Original comment by erickok@gmail.com on 16 May 2013 at 11:03

GoogleCodeExporter commented 9 years ago
Worked like a charm, thanks!

It now downloads the real torrent file, which i can add manually to TransDroid.

Hopefully you will get the Chrome download manager to work with TransDroid. I 
do not do that much torrenting, so i can live with this solution right now.

Original comment by mirkoajd...@gmail.com on 16 May 2013 at 11:25

GoogleCodeExporter commented 9 years ago
Works brilliant. Also sideloaded this onto a Blackberry z10, works too!

Original comment by keelan.h...@gmail.com on 16 May 2013 at 11:46