Giter VIP home page Giter VIP logo

Comments (19)

moham96 avatar moham96 commented on September 25, 2024 1

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:

https://github.com/moham96/dtorrent_task/blob/2ea9ea685a8fcfe5c4059106d60baf2bedda73b6/example/metadata_example.dart#L67C1-L78

from dtorrent_task.

moham96 avatar moham96 commented on September 25, 2024

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.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

@moham96 i will be waiting for you update thank you 😃 .

from dtorrent_task.

moham96 avatar moham96 commented on September 25, 2024

@PURUSHOTHAM-REDDY-N could you try the dev branch and see if it's working for you

from dtorrent_task.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

@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.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

@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.

moham96 avatar moham96 commented on September 25, 2024

@PURUSHOTHAM-REDDY-N yes, see the example in https://github.com/moham96/dtorrent_task/blob/dev/example/metadata_example.dart

from dtorrent_task.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

@moham96 HI , for magnet link also it is coming as previous download is not happening
SEE
image

i used the dev branch this time

https://github.com/PURUSHOTHAM-REDDY-N/Flutter-video-player/blob/master/lib/src/pages/magnet_download.dart

from dtorrent_task.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

is it working in your android device

from dtorrent_task.

moham96 avatar moham96 commented on September 25, 2024

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.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

i tried it but no use .
image

please resolve this when you are free , im ready to pay you for this if you want.

from dtorrent_task.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

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.

PURUSHOTHAM-REDDY-N avatar PURUSHOTHAM-REDDY-N commented on September 25, 2024

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.

wengxianxun avatar wengxianxun commented on September 25, 2024

so , this bug is fix now?

from dtorrent_task.

moham96 avatar moham96 commented on September 25, 2024

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.

wengxianxun avatar wengxianxun commented on September 25, 2024

I only see downloading through torrent, or is there a way to convert magnet links to torrent first?

from dtorrent_task.

wengxianxun avatar wengxianxun commented on September 25, 2024

MetadataDownloader

can you upload one demo code ? thank you .

from dtorrent_task.

moham96 avatar moham96 commented on September 25, 2024

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.

moham96 avatar moham96 commented on September 25, 2024

I will close this issue, feel free to re-open

from dtorrent_task.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.