mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
Mention emby in README, add notices about password resets
This commit is contained in:
parent
8d0dc232d7
commit
e532000ad0
@ -1,6 +1,6 @@
|
||||
# ![jfa-go](images/banner.svg)
|
||||
|
||||
jfa-go is a user management app for [Jellyfin](https://github.com/jellyfin/jellyfin) that provides invite-based account creation as well as other features that make one's instance much easier to manage.
|
||||
jfa-go is a user management app for [Jellyfin](https://github.com/jellyfin/jellyfin) (and now [Emby](https://emby.media/)) that provides invite-based account creation as well as other features that make one's instance much easier to manage.
|
||||
|
||||
I chose to rewrite the python [jellyfin-accounts](https://github.com/hrfee/jellyfin-accounts) in Go mainly as a learning experience, but also to slightly improve speeds and efficiency.
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
||||
"emby"
|
||||
],
|
||||
"value": "jellyfin",
|
||||
"description": "Note: Emby integration works, but is not much of a priority. Jellyfin branding will still appear accross jfa-go."
|
||||
"description": "Note: Emby integration works is missing some features, such as Password Resets."
|
||||
},
|
||||
"substitute_jellyfin_strings": {
|
||||
"name": "Substitute occurrences of \"Jellyfin\"",
|
||||
|
4
main.go
4
main.go
@ -447,7 +447,7 @@ func start(asDaemon, firstCall bool) {
|
||||
serverType = mediabrowser.EmbyServer
|
||||
timeoutHandler = common.NewTimeoutHandler("Emby", server, true)
|
||||
app.info.Println("Using Emby server type")
|
||||
fmt.Println(aurora.Yellow("WARNING: Emby compatibility is experimental, and support is limited.\nSee the jfa-go wiki for more info."))
|
||||
fmt.Println(aurora.Yellow("WARNING: Emby compatibility is experimental, and support is limited.\nPassword resets are not available."))
|
||||
} else {
|
||||
app.info.Println("Using Jellyfin server type")
|
||||
}
|
||||
@ -555,7 +555,7 @@ func start(asDaemon, firstCall bool) {
|
||||
inviteDaemon := newRepeater(time.Duration(60*time.Second), app)
|
||||
go inviteDaemon.run()
|
||||
|
||||
if app.config.Section("password_resets").Key("enabled").MustBool(false) {
|
||||
if app.config.Section("password_resets").Key("enabled").MustBool(false) && serverType == mediabrowser.JellyfinServer {
|
||||
go app.StartPWR()
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user