Git Product home page Git Product logo

torrentcore's People

Contributors

samuelfisher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torrentcore's Issues

Extract an interface for the TorrentClient class

I'm just about to start using this in a project and noticed whilst looking at the code that the TorrentClient class does not have a corresponding interface.

This means consumers of the library may not easily be able to unit test the interactions with this particular external code.

Would you consider extracting an ITorrentClient interface, or accepting a pull request?
Thanks,
Sean.

Is there a way to get logs out of this lib?

I have been unable to download files, it like makes the files and a has file. but it then dies to an error without a log or anything.

also a discord or something could be cool :P

Looking for developer

Looking for developer for custom sharing solution.(user created content, free contributions) (paid)

Problems with sub directories

I am having trouble torrenting a file that contains a folder

[getting . torrent file to drive]
C:\Users\moarc\AppData\Local\Temp\tmp5C50.tmp.torrent
https://nyaa.si//download/964646.torrent

[Lib error]
[12:55:37 INF] Contacting tracker
[12:55:37 INF] Announcing to http://nyaa.tracker.wf:7777/announce
[12:55:37 INF] Received response from http://nyaa.tracker.wf:7777/announce
[12:55:37 ERR] Unable to contact tracker
System.NullReferenceException: Object reference not set to an instance of an object.
at TorrentCore.Tracker.Http.HttpTracker.ProcessResponse(Stream response) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\Http\HttpTracker.cs:line 97
at TorrentCore.Tracker.Http.HttpTracker.Announce(AnnounceRequest request) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\Http\HttpTracker.cs:line 62
at TorrentCore.Tracker.AggregatedTracker.Announce(AnnounceRequest request) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Tracker\AggregatedTracker.cs:line 52
at TorrentCore.PipelineRunner.ContactTracker() in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Engine\PipelineRunner.cs:line 150
[12:55:37 INF] Starting pipeline stage VerifyDownloadedPiecesStage
[12:55:37 ERR] Unhandled exception in pipeline stage VerifyDownloadedPiecesStage
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Downloads\sintel\Extra[Reaktor] Serial Experiments Lain - OP [1080p][x265][10-bit][Dual-Audio].mkv'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at System.IO.File.WriteAllText(String path, String contents)
at TorrentCore.Data.DiskFileHandler.GetFileStream(String fileName) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\DiskFileHandler.cs:line 46
at TorrentCore.Data.BlockDataHandler.TryReadBlockData(Int64 offset, Int64 length, Byte[]& data) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\BlockDataHandler.cs:line 73
at TorrentCore.Data.PieceCheckerHandler.TryReadBlockData(Int64 offset, Int64 length, Byte[]& data) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Data\PieceCheckerHandler.cs:line 90
at TorrentCore.Application.BitTorrent.Pipelines.VerifyDownloadedPiecesStage.HashPiecesData(IStageInterrupt interrupt, IProgress1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\BitTorrent\Pipelines\VerifyDownloadedPiecesStage.cs:line 56 at TorrentCore.Application.BitTorrent.Pipelines.VerifyDownloadedPiecesStage.Run(IStageInterrupt interrupt, IProgress1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\BitTorrent\Pipelines\VerifyDownloadedPiecesStage.cs:line 43
at TorrentCore.Application.Pipelines.Pipeline.Run(IStageInterrupt interrupt, IProgress`1 progress) in C:\Users\moarc\source\repos\SamuelFisher\torrentcore\TorrentCore\Application\Pipelines\Pipeline.cs:line 34

Status?

This library is awesome - any idea of when the rest of the features on the ToDo list are implemented?

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.