fix: logic where we want to have the invidious logic if companion is not used

This commit is contained in:
Emilien 2025-03-08 23:35:54 +01:00
parent 48ddd7ea86
commit 790eba42fb

View File

@ -108,7 +108,7 @@ def extract_video_info(video_id : String)
params = parse_video_info(video_id, player_response) params = parse_video_info(video_id, player_response)
params["reason"] = JSON::Any.new(reason) if reason params["reason"] = JSON::Any.new(reason) if reason
if CONFIG.invidious_companion.present? if !CONFIG.invidious_companion.present?
new_player_response = nil new_player_response = nil
# Don't use Android test suite client if po_token is passed because po_token doesn't # Don't use Android test suite client if po_token is passed because po_token doesn't