diff --git a/src/playlist.js b/src/playlist.js index 8442621..604e415 100644 --- a/src/playlist.js +++ b/src/playlist.js @@ -106,7 +106,7 @@ const playlistDownloader = { loadInitialConfig() { // yt-dlp path this.state.ytDlpPath = localStorage.getItem("ytdlp"); - this.state.ytDlp = new YTDlpWrap(`"${this.state.ytDlpPath}"`); + this.state.ytDlpWrap = new YTDlpWrap(`"${this.state.ytDlpPath}"`); const defaultDownloadsDir = path.join(os.homedir(), "Downloads"); let preferredDir =