diff --git a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross index 0aa8020..24c3c69 100644 --- a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross +++ b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross @@ -964,7 +964,7 @@ class TYTD.Downloader { if(notify) { this.PutVideoInfoIfNotExists(videoId); - var res = this.GetVideo(id); + var res = this.GetVideo(videoId); if(res != null) this.Bell.Invoke(this,{ Video = res @@ -972,7 +972,7 @@ class TYTD.Downloader { } if(downloadRes != Resolution.NoDownload) { - this.DownloadVideo(id,downloadRes); + this.DownloadVideo(videoId,downloadRes); } } }