summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2024-08-13 20:26:59 +0200
committerSamantaz Fox <coding@samantaz.fr>2024-08-13 20:26:59 +0200
commit2d7869b48ba1c1aca04fd66c52d37853321775cf (patch)
treeca3e1d1addf89aa1a69669f4a29686b6f9e177ba /config
parent88b9f173886169720f80a65485c23641ed4e323c (diff)
parentcc36a8293359764c8df38605818242c60f41bbec (diff)
downloadinvidious-2d7869b48ba1c1aca04fd66c52d37853321775cf.tar.gz
invidious-2d7869b48ba1c1aca04fd66c52d37853321775cf.tar.bz2
invidious-2d7869b48ba1c1aca04fd66c52d37853321775cf.zip
Add support for an external signature server (#4772)
This PR adds support for inv_sig_helper, which offloads the player fetching, function extraction and signature parsing, which in turn allows to use the web client to watch videos. When the new config option "signature_server" is not set, the logic for the external signature server is not enabled and invidious behaves like before. This PR also updates the crystal overrides because the stdlib changed quite a while ago (See issue 11049 at crystal-lang/crystal) and those were required to properly use TCP/unix sockets. Closes issue 4649
Diffstat (limited to 'config')
-rw-r--r--config/config.example.yml30
1 files changed, 14 insertions, 16 deletions
diff --git a/config/config.example.yml b/config/config.example.yml
index 38085a20..2f5228a6 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -1,6 +1,6 @@
#########################################
#
-# Database configuration
+# Database and other external servers
#
#########################################
@@ -41,6 +41,19 @@ db:
#check_tables: false
+##
+## Path to an external signature resolver, used to emulate
+## the Youtube client's Javascript. If no such server is
+## available, some videos will not be playable.
+##
+## When this setting is commented out, no external
+## resolver will be used.
+##
+## Accepted values: a path to a UNIX socket or "<IP>:<Port>"
+## Default: <none>
+##
+#signature_server:
+
#########################################
#
@@ -343,21 +356,6 @@ full_refresh: false
##
feed_threads: 1
-##
-## Enable/Disable the polling job that keeps the decryption
-## function (for "secured" videos) up to date.
-##
-## Note: This part of the code generate a small amount of data every minute.
-## This may not be desired if you have bandwidth limits set by your ISP.
-##
-## Note 2: This part of the code is currently broken, so changing
-## this setting has no impact.
-##
-## Accepted values: true, false
-## Default: false
-##
-#decrypt_polling: false
-
jobs: