diff --git a/server/docs/docs.go b/server/docs/docs.go index ad7ff29..1b10d1d 100644 --- a/server/docs/docs.go +++ b/server/docs/docs.go @@ -475,6 +475,13 @@ const docTemplate = `{ "name": "poster", "in": "query", "required": true + }, + { + "type": "string", + "description": "Stream / playlist without authentication", + "name": "not_auth", + "in": "query", + "required": true } ], "responses": { diff --git a/server/docs/swagger.json b/server/docs/swagger.json index 454c1e7..ca920d0 100644 --- a/server/docs/swagger.json +++ b/server/docs/swagger.json @@ -468,6 +468,13 @@ "name": "poster", "in": "query", "required": true + }, + { + "type": "string", + "description": "Stream / playlist without authentication", + "name": "not_auth", + "in": "query", + "required": true } ], "responses": { diff --git a/server/docs/swagger.yaml b/server/docs/swagger.yaml index 79174d1..61c0876 100644 --- a/server/docs/swagger.yaml +++ b/server/docs/swagger.yaml @@ -606,6 +606,11 @@ paths: name: poster required: true type: string + - description: Stream / playlist without authentication + in: query + name: poster + required: true + type: string produces: - application/octet-stream responses: diff --git a/server/go.mod b/server/go.mod index cc62bd4..ca44074 100644 --- a/server/go.mod +++ b/server/go.mod @@ -2,7 +2,7 @@ module server go 1.20 -replace github.com/anacrolix/torrent v1.54.1 => github.com/tsynik/torrent v1.2.13 +replace github.com/anacrolix/torrent v1.54.1 => github.com/tsynik/torrent v1.2.14 require ( github.com/agnivade/levenshtein v1.1.1 diff --git a/server/go.sum b/server/go.sum index d163acf..df3c5ce 100644 --- a/server/go.sum +++ b/server/go.sum @@ -332,8 +332,8 @@ github.com/swaggo/swag v1.16.3/go.mod h1:DImHIuOFXKpMFAQjcC7FG4m3Dg4+QuUgUzJmKjI github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= -github.com/tsynik/torrent v1.2.13 h1:PyOTz6dpzsoIT0IhiEmg6H5VD+mFqF93Q2L9iFyqPtQ= -github.com/tsynik/torrent v1.2.13/go.mod h1:NDxg14AwVqi3PWt1oStYLnyUxHYHX3qGKBAZVh/6Jk8= +github.com/tsynik/torrent v1.2.14 h1:1KdjnSTzVpyCwCNcdgQ/uCFJN59OGK3MxefcegXDBzc= +github.com/tsynik/torrent v1.2.14/go.mod h1:nw/6nj2Zy0/p7AgzUsfpK7WOexDeo1bArDLjeBq1u70= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= diff --git a/web/yarn.lock b/web/yarn.lock index d8d09f9..33fd644 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -7063,9 +7063,9 @@ ip-regex@^2.1.0: integrity sha512-58yWmlHpp7VYfcdTwMTvwMmqx/Elfxjd9RXTDyMsbL7lLWmhMylLEqiYVLKuLzOZqVgiWXD9MfR62Vv89VRxkw== ip@^1.1.0, ip@^1.1.5: - version "1.1.8" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" - integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== + version "1.1.9" + resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.9.tgz#8dfbcc99a754d07f425310b86a99546b1151e396" + integrity sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ== ipaddr.js@1.9.1, ipaddr.js@^1.9.0: version "1.9.1"