diff options
author | Pieter Goetschalckx | 2019-09-18 13:26:59 +0200 |
---|---|---|
committer | Pieter Goetschalckx | 2019-09-18 13:26:59 +0200 |
commit | 249395f1a355cfc8ba24aff04cb7c0104497b441 (patch) | |
tree | 3220344faecb273ca7f5c269813d728434a197b2 /externalplayer.patch | |
parent | 8b724fd5e6aa38e006c3015be5d8a6f60287f139 (diff) | |
download | aur-249395f1a355cfc8ba24aff04cb7c0104497b441.tar.gz |
Fix external player
Diffstat (limited to 'externalplayer.patch')
-rw-r--r-- | externalplayer.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/externalplayer.patch b/externalplayer.patch new file mode 100644 index 000000000000..7ae26a269246 --- /dev/null +++ b/externalplayer.patch @@ -0,0 +1,20 @@ +--- a/src/renderer/lib/state.js ++++ b/src/renderer/lib/state.js +@@ -119,7 +119,7 @@ + downloadPath: config.DEFAULT_DOWNLOAD_PATH, + isFileHandler: false, + openExternalPlayer: false, +- externalPlayerPath: null, ++ externalPlayerPath: '', + startup: false, + soundNotifications: true, + autoAddTorrents: false, +@@ -207,6 +207,8 @@ + onSavedState(err) + return + } ++ } else if (saved.prefs.externalPlayerPath == null) { ++ saved.prefs.externalPlayerPath = '' + } + onSavedState(null, saved) + }) |