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

feature request: Add advanced options for built-in torrent client under Torrent Streaming #200

Open
2 of 3 tasks
TnTora opened this issue Jan 12, 2025 · 0 comments
Open
2 of 3 tasks
Labels
feature request New feature or request

Comments

@TnTora
Copy link

TnTora commented Jan 12, 2025

Checklist

  • I checked that this feature has not been requested before
  • I checked that this feature is not in the "Not planned" list
  • This feature will benefit the majority of users

Problem Description / Use Case

The only router I have access to (the one I got from my ISP) crashes my entire internet connection for all other apps and devices whenever I use the torrent streaming function of Seanime for a certain amount of time (usually around 10 minutes), even if the file has already finished downloading by then.

I'm pretty sure it's not a Seanime problem since it also happens with other torrent streaming tools.

The workaround I've been using is simply to drop the torrent as soon as it reaches 100% in getTorrentPercentage. It seems to work fine and I think it would be a nice feature to have for those who want to use the app while using a connection with data caps (i.e. phone hotspot). However having a bit more control over the built-in client could allow users to tune the parameters for their specific needs.

I also noticed that DisableIPv6 is always set to true in torrentstram/client.go even though there is an option in the settings which is off by default, is this option applied elsewhere?

Proposed Solution

Adding the following settings under Torrent Streaming/Torrent Client:

  • Drop torrent as soon as it completes downloading
  • An "Advanced Options" section exposing the following ClientConfig properties from the torrent package:
    DisableUTP
    DisableTCP
    EstablishedConnsPerTorrent
    HalfOpenConnsPerTorrent
    TotalHalfOpenConns
    TorrentPeersHighWater
    TorrentPeersLowWater
    UploadRateLimiter
    DownloadRateLimiter
@TnTora TnTora added the feature request New feature or request label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant