Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torrent intents not recognized #57

Open
subiol opened this issue Dec 14, 2016 · 5 comments
Open

Torrent intents not recognized #57

subiol opened this issue Dec 14, 2016 · 5 comments

Comments

@subiol
Copy link

subiol commented Dec 14, 2016

When I add a new torrent from another another program (f.e. clicking a link in a browser), if it is a magnet link gearshift adds the new torrent correctly, but if it is a .torrent file it fails.

If I save the same .torrent file in the phone and use the add torrent option, then select the .torrent file, it gets added correctly. Since the same .torrent file works when added manually from local memory, but not when coming from another app, that is why I suspect the problem is in how gearshift handles .torrent intents.

@simba83
Copy link

simba83 commented Dec 14, 2016

Same issue here, but sometimes it works though. Always works when using add function in app. Might be a chrome/Android based problem? I'm using cm N based ROM.

@hatogit
Copy link

hatogit commented Dec 15, 2016

If sometimes it worked, most probably it was the website you were downloading the torrent from didn't set the MIME type correctly. Gearshift has nothing to do with this.

@subiol
Copy link
Author

subiol commented Dec 15, 2016

If you add a torrent from IPTorrents it always gives error. I use Firefox for Android. The same torrent but saved locally and added through Add Torrent works fine always.

@urandom
Copy link
Owner

urandom commented Dec 17, 2016

@subiol
Since I have no idea what iptorrents is, check what content type it returns for a torrent file. Use curl or similar to look at the headers.

@TothCsanad
Copy link

I really like your solution to managing destination folders. I would be very happy to use the app, but unfortunately I faced the problem discussed above. It seems to me that there is a problem with intent-based file sharing introduced at SDK24. The intent sharing operation does not work, but the same .torrent file can be opened manually without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants