1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-09 11:50:11 +00:00

bump mediabrowser again, log authed account name

This commit is contained in:
Harvey Tindall 2024-09-04 20:03:09 +01:00
parent e623897fc1
commit 4b564d7f4a
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
4 changed files with 5 additions and 1 deletions

2
go.mod
View File

@ -43,7 +43,7 @@ require (
github.com/hrfee/jfa-go/logger v0.0.0-20240829123003-65662c57bc2a
github.com/hrfee/jfa-go/logmessages v0.0.0-20240829123003-65662c57bc2a
github.com/hrfee/jfa-go/ombi v0.0.0-20240829123003-65662c57bc2a
github.com/hrfee/mediabrowser v0.3.22
github.com/hrfee/mediabrowser v0.3.23
github.com/itchyny/timefmt-go v0.1.6
github.com/lithammer/shortuuid/v3 v3.0.7
github.com/mailgun/mailgun-go/v4 v4.15.0

2
go.sum
View File

@ -212,6 +212,8 @@ github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hrfee/mediabrowser v0.3.22 h1:+BiSE+GlzTZEazyuLvLyhI3nRbrR8DnocgAHEusBh14=
github.com/hrfee/mediabrowser v0.3.22/go.mod h1:PnHZbdxmbv1wCVdAQyM7nwPwpVj9fdKx2EcET7sAk+U=
github.com/hrfee/mediabrowser v0.3.23 h1:y1Sd4pSpFCWPTlp7exlPhCYIa3jN7UxxsBEHjVQJrI4=
github.com/hrfee/mediabrowser v0.3.23/go.mod h1:PnHZbdxmbv1wCVdAQyM7nwPwpVj9fdKx2EcET7sAk+U=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q=
github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg=

View File

@ -54,6 +54,7 @@ const (
UsingLocalAuth = "Using local username/pw authentication (NOT RECOMMENDED)"
AuthJellyfin = "Authenticated with " + Jellyfin + " @ \"%s\""
AsUser = "As user \"%s\""
FailedAuthJellyfin = "Failed to authenticate with " + Jellyfin + " @ \"%s\" (code %d): %v"
FailedAuth = "Failed to authenticate with %s @ \"%s\" (code %d): %v"

View File

@ -446,6 +446,7 @@ func start(asDaemon, firstCall bool) {
app.err.Fatalf(lm.FailedAuthJellyfin, server, status, err)
}
app.info.Printf(lm.AuthJellyfin, server)
app.debug.Printf(lm.AsUser, app.jf.Username)
runMigrations(app)