diff --git a/MusicApp/Resources/Portable Class/Downloader.cs b/MusicApp/Resources/Portable Class/Downloader.cs index 361613f..0747f83 100644 --- a/MusicApp/Resources/Portable Class/Downloader.cs +++ b/MusicApp/Resources/Portable Class/Downloader.cs @@ -118,7 +118,7 @@ namespace MusicApp.Resources.Portable_Class string title = videoInfo.Title; foreach(char c in Path.GetInvalidFileNameChars()) //Make the title a valid filename (remove /, \, : etc). { - title.Replace(c, ' '); + title = title.Replace(c, ' '); } string fileExtension = streamInfo.Container.GetFileExtension();