chore: change from inv-sig-helper to companion for required playback

This commit is contained in:
Émilien (perso) 2025-03-13 14:16:03 +00:00
parent e57ed1bb93
commit daac172712
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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