mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-19 07:05:46 -04:00
chore: change from inv-sig-helper to companion for required playback
This commit is contained in:
parent
e57ed1bb93
commit
daac172712
@ -171,16 +171,9 @@ DECRYPT_FUNCTION =
|
||||
if sig_helper_address = CONFIG.signature_server.presence
|
||||
IV::DecryptFunction.new(sig_helper_address)
|
||||
else
|
||||
LOGGER.warn("WARNING: inv-sig-helper is required for video playback. For more information see https://docs.invidious.io/installation")
|
||||
nil
|
||||
end
|
||||
|
||||
{% for field in %w(po_token visitor_data) %}
|
||||
if !CONFIG.{{field.id}}
|
||||
LOGGER.warn("WARNING: {{field.id}} is required to view and playback videos. For more information see https://docs.invidious.io/installation")
|
||||
end
|
||||
{% end %}
|
||||
|
||||
# Start jobs
|
||||
|
||||
if CONFIG.channel_threads > 0
|
||||
|
@ -271,6 +271,8 @@ class Config
|
||||
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 or more."
|
||||
exit(1)
|
||||
end
|
||||
else
|
||||
LOGGER.warn("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/companion-installation/")
|
||||
end
|
||||
|
||||
# HMAC_key is mandatory
|
||||
|
Loading…
x
Reference in New Issue
Block a user