aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoPlayer.cpp')
-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());