Comments (19)
see this fork https://github.com/xhns/torrent_task it is working with torrent file but magnet link feature is not implemented
Well I had some time to test it and metadata download works fine on the dev branch, it is slow due to the nature of BitTorrent DHT (which I might be able to optimize when I have the time), you might want to speed it up by discovering peers from trackers along with DHT, see this code here:
from dtorrent_task.
I got the client to download and pass tests after migrating to null safety, but while trying to implement utp I broke something I think, I will look into this but I have many things on my schedule right now
from dtorrent_task.
@moham96 i will be waiting for you update thank you 😃 .
from dtorrent_task.
@PURUSHOTHAM-REDDY-N could you try the dev
branch and see if it's working for you
from dtorrent_task.
@moham96 i tried with this fork https://github.com/xhns/torrent_task
with little changes now it is working
this is my fork https://github.com/PURUSHOTHAM-REDDY-N/torrent_task
from dtorrent_task.
@moham96 is there any way that i can download torrents using magnetlinks , im searching all over internet about this thing but i didnt get any lead . if you know can you guide me please
from dtorrent_task.
@PURUSHOTHAM-REDDY-N yes, see the example in https://github.com/moham96/dtorrent_task/blob/dev/example/metadata_example.dart
from dtorrent_task.
@moham96 HI , for magnet link also it is coming as previous download is not happening
SEE
i used the dev branch this time
from dtorrent_task.
is it working in your android device
from dtorrent_task.
Well to be honest all my tests were done on MacOS
From the errors you'r posting it seems like 'reusePort' is not supported on android,
You can remove that option and try again to see if it's possible, you might need to comment out the lines that start the LSD service as well,
Again i will be solving these issues and start testing on android and other platform when i have the time
from dtorrent_task.
please resolve this when you are free , im ready to pay you for this if you want.
from dtorrent_task.
see this fork https://github.com/xhns/torrent_task it is working with torrent file but magnet link feature is not implemented
from dtorrent_task.
HI @moham96
i tested with dev branch still it is not working and im not getting any errors .
if you got time please look into this https://github.com/PURUSHOTHAM-REDDY-N/Flutter-video-player/blob/master/lib/src/pages/magnet_download.dart
from dtorrent_task.
so , this bug is fix now?
from dtorrent_task.
so , this bug is fix now?
The library can download fine with very good speed, it can also download metadata but you'll have to bootstrap the MetadataDownloader
with peers from trackers and not rely on DHT(since DHT is broken due to moham96/bittorrent_dht#1
if you have a minimal reproducible code for a download that is not working please post it here
also use the optimization
branch when testing
from dtorrent_task.
I only see downloading through torrent, or is there a way to convert magnet links to torrent first?
from dtorrent_task.
MetadataDownloader
can you upload one demo code ? thank you .
from dtorrent_task.
MetadataDownloader
can you upload one demo code ? thank you .
There is already an example in the repo https://github.com/moham96/dtorrent_task/blob/main/example/metadata_example.dart
from dtorrent_task.
I will close this issue, feel free to re-open
from dtorrent_task.
Related Issues (20)
- task.stop function does not stop the torrent at all
- update pub? missing exports HOT 3
- how get rid of print(), log(), dev.log() etc. HOT 3
- explain this .bt.state file HOT 3
- Use concurrency when possible
- Large torrents with large number of pieces cause an overflow HOT 8
- Parse magnet links HOT 1
- Doesn't work with flutter 3.19. Update packages. HOT 2
- Provide a way to create metainfo file ".torrent" file HOT 2
- Only one peer is connected at a time HOT 2
- Optimizing HOT 2
- high cpu usage
- progress and status are not updating HOT 15
- slow utp speed
- The problem arose when using the metadata obtained through the infohash for downloading. HOT 1
- add more tests and increase code coverage
- `reusePort` not supported for Windows.flutter HOT 5
- utp selectiveAck extension crashes sometimes HOT 1
- support webrtc peers
- Sequential download
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtorrent_task.