mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
bump mediabrowser again, log authed account name
This commit is contained in:
parent
e623897fc1
commit
4b564d7f4a
2
go.mod
2
go.mod
@ -43,7 +43,7 @@ require (
|
|||||||
github.com/hrfee/jfa-go/logger v0.0.0-20240829123003-65662c57bc2a
|
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/logmessages v0.0.0-20240829123003-65662c57bc2a
|
||||||
github.com/hrfee/jfa-go/ombi 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/itchyny/timefmt-go v0.1.6
|
||||||
github.com/lithammer/shortuuid/v3 v3.0.7
|
github.com/lithammer/shortuuid/v3 v3.0.7
|
||||||
github.com/mailgun/mailgun-go/v4 v4.15.0
|
github.com/mailgun/mailgun-go/v4 v4.15.0
|
||||||
|
2
go.sum
2
go.sum
@ -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/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 h1:+BiSE+GlzTZEazyuLvLyhI3nRbrR8DnocgAHEusBh14=
|
||||||
github.com/hrfee/mediabrowser v0.3.22/go.mod h1:PnHZbdxmbv1wCVdAQyM7nwPwpVj9fdKx2EcET7sAk+U=
|
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/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 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q=
|
||||||
github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg=
|
github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg=
|
||||||
|
@ -54,6 +54,7 @@ const (
|
|||||||
UsingLocalAuth = "Using local username/pw authentication (NOT RECOMMENDED)"
|
UsingLocalAuth = "Using local username/pw authentication (NOT RECOMMENDED)"
|
||||||
|
|
||||||
AuthJellyfin = "Authenticated with " + Jellyfin + " @ \"%s\""
|
AuthJellyfin = "Authenticated with " + Jellyfin + " @ \"%s\""
|
||||||
|
AsUser = "As user \"%s\""
|
||||||
FailedAuthJellyfin = "Failed to authenticate with " + Jellyfin + " @ \"%s\" (code %d): %v"
|
FailedAuthJellyfin = "Failed to authenticate with " + Jellyfin + " @ \"%s\" (code %d): %v"
|
||||||
FailedAuth = "Failed to authenticate with %s @ \"%s\" (code %d): %v"
|
FailedAuth = "Failed to authenticate with %s @ \"%s\" (code %d): %v"
|
||||||
|
|
||||||
|
1
main.go
1
main.go
@ -446,6 +446,7 @@ func start(asDaemon, firstCall bool) {
|
|||||||
app.err.Fatalf(lm.FailedAuthJellyfin, server, status, err)
|
app.err.Fatalf(lm.FailedAuthJellyfin, server, status, err)
|
||||||
}
|
}
|
||||||
app.info.Printf(lm.AuthJellyfin, server)
|
app.info.Printf(lm.AuthJellyfin, server)
|
||||||
|
app.debug.Printf(lm.AsUser, app.jf.Username)
|
||||||
|
|
||||||
runMigrations(app)
|
runMigrations(app)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user