aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-01 07:10:20 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-01 07:10:20 +0200
commit211982f321830691038cb79698fb55dcd015c9fc (patch)
tree8129be2fd107bbca3b465399b99e4eeb12eee1ab /src
parent9602603135f456d906192112288dcd84429c8fee (diff)
wip
Diffstat (limited to 'src')
-rw-r--r--src/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index ac93ecc..c93b5e8 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -101,7 +101,7 @@ namespace QuickMedia {
/*
std::string ytdl_options_arg;
- if(!plugin_name.empty()) {
+ if(!use_tor && !plugin_name.empty()) {
Path cookies_filepath;
if(get_cookies_filepath(cookies_filepath, plugin_name) != 0) {
fprintf(stderr, "Warning: Failed to create %s cookies file\n", plugin_name.c_str());