2020-04-11 14:20:25 +00:00
|
|
|
[jellyfin]
|
2020-06-29 22:06:58 +00:00
|
|
|
; settings for connecting to jellyfin
|
|
|
|
; it is recommended to create a limited admin account for this program.
|
2020-04-11 14:20:25 +00:00
|
|
|
username = username
|
|
|
|
password = password
|
2020-06-29 22:06:58 +00:00
|
|
|
; jellyfin server address. can be public, or local for security purposes.
|
2020-06-03 11:17:29 +00:00
|
|
|
server = http://jellyfin.local:8096
|
2020-06-29 22:06:58 +00:00
|
|
|
; publicly accessible jellyfin address for invite form. leave blank to reuse the above address.
|
2020-06-03 11:17:29 +00:00
|
|
|
public_server = https://jellyf.in:443
|
2020-06-29 22:06:58 +00:00
|
|
|
; this and below settings will show on the jellyfin dashboard when the program connects. you may as well leave them alone.
|
2020-04-11 14:20:25 +00:00
|
|
|
client = jf-accounts
|
2020-07-06 19:53:14 +00:00
|
|
|
version = 0.3.2
|
2020-04-11 14:20:25 +00:00
|
|
|
device = jf-accounts
|
2020-07-06 19:53:14 +00:00
|
|
|
device_id = jf-accounts-0.3.2
|
2020-04-11 14:20:25 +00:00
|
|
|
|
|
|
|
[ui]
|
2020-06-29 22:06:58 +00:00
|
|
|
; settings related to the ui and program functionality.
|
2020-07-06 19:53:14 +00:00
|
|
|
; default appearance for all users.
|
2020-07-05 14:09:42 +00:00
|
|
|
theme = Jellyfin (Dark)
|
2020-06-29 22:06:58 +00:00
|
|
|
; set 0.0.0.0 to run on localhost
|
2020-04-15 10:16:29 +00:00
|
|
|
host = 0.0.0.0
|
2020-04-11 14:20:25 +00:00
|
|
|
port = 8056
|
2020-06-29 22:06:58 +00:00
|
|
|
; enable this to use jellyfin users instead of the below username and pw.
|
2020-04-25 16:20:46 +00:00
|
|
|
jellyfin_login = true
|
2020-06-29 22:06:58 +00:00
|
|
|
; allows only admin users on jellyfin to access the admin page.
|
2020-04-25 16:20:46 +00:00
|
|
|
admin_only = true
|
2020-06-29 22:06:58 +00:00
|
|
|
; username for admin page (leave blank if using jellyfin_login)
|
2020-04-11 14:20:25 +00:00
|
|
|
username = your username
|
2020-06-29 22:06:58 +00:00
|
|
|
; password for admin page (leave blank if using jellyfin_login)
|
2020-04-11 14:20:25 +00:00
|
|
|
password = your password
|
|
|
|
debug = false
|
2020-06-29 22:06:58 +00:00
|
|
|
; displayed at bottom of all pages except admin
|
2020-04-11 14:20:25 +00:00
|
|
|
contact_message = Need help? contact me.
|
2020-06-29 22:06:58 +00:00
|
|
|
; display at top of invite form.
|
|
|
|
help_message = Enter your details to create an account.
|
|
|
|
; displayed when a user creates an account
|
2020-04-11 14:20:25 +00:00
|
|
|
success_message = Your account has been created. Click below to continue to Jellyfin.
|
2020-07-05 13:38:07 +00:00
|
|
|
; use bootstrap 5 (currently in alpha). this also removes the need for jquery, so the page should load faster.
|
|
|
|
bs5 = false
|
2020-04-11 14:20:25 +00:00
|
|
|
|
2020-04-14 20:31:44 +00:00
|
|
|
[password_validation]
|
2020-06-29 22:06:58 +00:00
|
|
|
; password validation (minimum length, etc.)
|
|
|
|
enabled = true
|
2020-04-14 20:31:44 +00:00
|
|
|
min_length = 8
|
|
|
|
upper = 1
|
2020-04-16 13:33:23 +00:00
|
|
|
lower = 0
|
2020-04-14 20:31:44 +00:00
|
|
|
number = 1
|
|
|
|
special = 0
|
|
|
|
|
2020-04-12 20:25:27 +00:00
|
|
|
[email]
|
2020-06-29 22:06:58 +00:00
|
|
|
; general email settings. ignore if not using email features.
|
|
|
|
; use email address from invite form as username on jellyfin.
|
2020-06-28 23:35:51 +00:00
|
|
|
no_username = false
|
2020-04-12 20:25:27 +00:00
|
|
|
use_24h = true
|
2020-06-29 22:06:58 +00:00
|
|
|
; date format used in emails. follows datetime.strftime format.
|
2020-04-25 21:08:59 +00:00
|
|
|
date_format = %d/%m/%y
|
2020-06-29 22:06:58 +00:00
|
|
|
; message displayed at bottom of emails.
|
2020-04-12 20:25:27 +00:00
|
|
|
message = Need help? contact me.
|
2020-06-29 22:06:58 +00:00
|
|
|
; method of sending email to use.
|
2020-04-12 20:25:27 +00:00
|
|
|
method = smtp
|
2020-06-29 22:06:58 +00:00
|
|
|
; address to send emails from
|
2020-04-12 20:25:27 +00:00
|
|
|
address = jellyfin@jellyf.in
|
2020-06-29 22:06:58 +00:00
|
|
|
; the name of the sender
|
2020-04-12 20:25:27 +00:00
|
|
|
from = Jellyfin
|
|
|
|
|
2020-04-19 21:35:51 +00:00
|
|
|
[password_resets]
|
2020-06-29 22:06:58 +00:00
|
|
|
; settings for the password reset handler.
|
|
|
|
; enable to store provided email addresses, monitor jellyfin directory for pw-resets, and send reset pins
|
2020-04-19 21:35:51 +00:00
|
|
|
enabled = true
|
2020-06-29 22:06:58 +00:00
|
|
|
; path to the folder jellyfin puts password-reset files.
|
2020-04-19 21:35:51 +00:00
|
|
|
watch_directory = /path/to/jellyfin
|
2020-06-29 22:06:58 +00:00
|
|
|
; path to custom email html
|
|
|
|
email_html =
|
|
|
|
; path to custom email in plain text
|
2020-04-19 21:35:51 +00:00
|
|
|
email_text =
|
2020-06-29 22:06:58 +00:00
|
|
|
; subject of password reset emails.
|
2020-04-19 21:35:51 +00:00
|
|
|
subject = Password Reset - Jellyfin
|
|
|
|
|
|
|
|
[invite_emails]
|
2020-06-29 22:06:58 +00:00
|
|
|
; settings for sending invites directly to users.
|
2020-04-19 21:35:51 +00:00
|
|
|
enabled = true
|
2020-06-29 22:06:58 +00:00
|
|
|
; path to custom email html
|
|
|
|
email_html =
|
|
|
|
; path to custom email in plain text
|
2020-04-19 21:35:51 +00:00
|
|
|
email_text =
|
2020-06-29 22:06:58 +00:00
|
|
|
; subject of invite emails.
|
2020-04-19 21:35:51 +00:00
|
|
|
subject = Invite - Jellyfin
|
2020-06-29 22:06:58 +00:00
|
|
|
; base url for jf-accounts. this is necessary because using a reverse proxy means the program has no way of knowing the url itself.
|
2020-04-19 21:35:51 +00:00
|
|
|
url_base = http://accounts.jellyf.in:8056/invite
|
|
|
|
|
2020-04-12 20:25:27 +00:00
|
|
|
[mailgun]
|
2020-06-29 22:06:58 +00:00
|
|
|
; mailgun api connection settings
|
2020-04-12 20:25:27 +00:00
|
|
|
api_url = https://api.mailgun.net...
|
|
|
|
api_key = your api key
|
|
|
|
|
|
|
|
[smtp]
|
2020-06-29 22:06:58 +00:00
|
|
|
; smtp server connection settings.
|
|
|
|
; your email provider should provide different ports for each encryption method. generally 465 for ssl_tls, 587 for starttls.
|
2020-04-26 20:28:55 +00:00
|
|
|
encryption = starttls
|
2020-06-29 22:06:58 +00:00
|
|
|
; smtp server address.
|
2020-04-12 20:25:27 +00:00
|
|
|
server = smtp.jellyf.in
|
|
|
|
port = 465
|
|
|
|
password = smtp password
|
2020-04-11 14:20:25 +00:00
|
|
|
|
|
|
|
[files]
|
2020-06-29 22:06:58 +00:00
|
|
|
; optional settings for changing storage locations.
|
|
|
|
; location of stored invites (json).
|
2020-04-11 14:20:25 +00:00
|
|
|
invites =
|
2020-06-29 22:06:58 +00:00
|
|
|
; location of stored email addresses (json).
|
2020-04-11 14:20:25 +00:00
|
|
|
emails =
|
2020-06-29 22:06:58 +00:00
|
|
|
; location of stored user policy template (json).
|
|
|
|
user_template =
|
|
|
|
; location of stored user configuration template (used for setting homescreen layout) (json)
|
|
|
|
user_configuration =
|
|
|
|
; location of stored displaypreferences template (also used for homescreen layout) (json)
|
|
|
|
user_displayprefs =
|
|
|
|
; location of custom bootstrap css.
|
2020-05-17 14:22:50 +00:00
|
|
|
custom_css =
|
2020-04-11 14:20:25 +00:00
|
|
|
|