From d3759b8865550939b39ed8a2e9fa0ae1ebb87f6e Mon Sep 17 00:00:00 2001 From: grimsi <9295182+grimsi@users.noreply.github.com> Date: Thu, 12 Jun 2025 10:09:33 +0200 Subject: [PATCH] Remove (non-working) SSL tracker support --- .../torrentdownload/TorrentDownloadPlugin.kt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/plugins/torrentdownload/src/main/kotlin/de/grimsi/gameyfinplugins/torrentdownload/TorrentDownloadPlugin.kt b/plugins/torrentdownload/src/main/kotlin/de/grimsi/gameyfinplugins/torrentdownload/TorrentDownloadPlugin.kt index 6796b21..1be98e8 100644 --- a/plugins/torrentdownload/src/main/kotlin/de/grimsi/gameyfinplugins/torrentdownload/TorrentDownloadPlugin.kt +++ b/plugins/torrentdownload/src/main/kotlin/de/grimsi/gameyfinplugins/torrentdownload/TorrentDownloadPlugin.kt @@ -59,13 +59,6 @@ class TorrentDownloadPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin type = String::class.java, isRequired = false ), - ConfigMetadata( - key = "trackerSsl", - label = "Use SSL for tracker", - description = "Enables use of SSL for the torrent tracker", - type = Boolean::class.java, - default = false - ), ConfigMetadata( key = "privateMode", label = "Create torrents with private mode enabled", @@ -137,7 +130,7 @@ class TorrentDownloadPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin } private fun getTrackerUri(): URI { - val protocol = if (config("trackerSsl")) "https" else "http" + val protocol = "http" // No SSL support in ttorrent: https://github.com/mpetazzoni/ttorrent/issues/4 val host = getHostname().getCanonicalHostName() val port = config("trackerPort") val path = "announce"