1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

Mention emby in README, add notices about password resets

This commit is contained in:
Harvey Tindall 2021-01-10 16:00:26 +00:00 committed by Harvey Tindall
parent 8d0dc232d7
commit e532000ad0
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# ![jfa-go](images/banner.svg) # ![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. 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.

View File

@ -65,7 +65,7 @@
"emby" "emby"
], ],
"value": "jellyfin", "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": { "substitute_jellyfin_strings": {
"name": "Substitute occurrences of \"Jellyfin\"", "name": "Substitute occurrences of \"Jellyfin\"",

View File

@ -447,7 +447,7 @@ func start(asDaemon, firstCall bool) {
serverType = mediabrowser.EmbyServer serverType = mediabrowser.EmbyServer
timeoutHandler = common.NewTimeoutHandler("Emby", server, true) timeoutHandler = common.NewTimeoutHandler("Emby", server, true)
app.info.Println("Using Emby server type") 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 { } else {
app.info.Println("Using Jellyfin server type") app.info.Println("Using Jellyfin server type")
} }
@ -555,7 +555,7 @@ func start(asDaemon, firstCall bool) {
inviteDaemon := newRepeater(time.Duration(60*time.Second), app) inviteDaemon := newRepeater(time.Duration(60*time.Second), app)
go inviteDaemon.run() 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() go app.StartPWR()
} }
} else { } else {