mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-14 01:18:30 +00: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
|
if sig_helper_address = CONFIG.signature_server.presence
|
||||||
IV::DecryptFunction.new(sig_helper_address)
|
IV::DecryptFunction.new(sig_helper_address)
|
||||||
else
|
else
|
||||||
LOGGER.warn("WARNING: inv-sig-helper is required for video playback. For more information see https://docs.invidious.io/installation")
|
|
||||||
nil
|
nil
|
||||||
end
|
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
|
# Start jobs
|
||||||
|
|
||||||
if CONFIG.channel_threads > 0
|
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."
|
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 or more."
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
# HMAC_key is mandatory
|
# HMAC_key is mandatory
|
||||||
|
Loading…
Reference in New Issue
Block a user