mirror of
https://github.com/recloudstream/cloudstream.git
synced 2025-08-06 11:31:45 +08:00
Lazy system.load torrent lib
This commit is contained in:
@ -196,11 +196,9 @@ object Torrent {
|
|||||||
).parsed<TorrentStatus>()
|
).parsed<TorrentStatus>()
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Spins up the torrent server.
|
/** Spins up the torrent server. */
|
||||||
*
|
|
||||||
* FYI this will throw a os.Exit(1) if port is taken and is not currently checked,
|
|
||||||
* so if someone complains then add an extra check. */
|
|
||||||
private suspend fun setup(dir: String): Boolean {
|
private suspend fun setup(dir: String): Boolean {
|
||||||
|
go.Seq.load()
|
||||||
if (echo()) {
|
if (echo()) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ safefile = "0.0.8"
|
|||||||
shimmer = "0.5.0"
|
shimmer = "0.5.0"
|
||||||
swiperefreshlayout = "1.1.0"
|
swiperefreshlayout = "1.1.0"
|
||||||
tmdbJava = "2.11.0"
|
tmdbJava = "2.11.0"
|
||||||
torrentserver = "883c17942d"
|
torrentserver = "7861970e038b35cd8c6918384e49caf26903e09e"
|
||||||
tvprovider = "1.0.0"
|
tvprovider = "1.0.0"
|
||||||
video = "1.0.0"
|
video = "1.0.0"
|
||||||
workRuntime = "2.10.0"
|
workRuntime = "2.10.0"
|
||||||
|
Reference in New Issue
Block a user