#93: Add flac support #101

Merged
kdeng00 merged 25 commits from tsk-93 into master 2024-07-27 13:19:12 -04:00
Showing only changes of commit 08a76007b7 - Show all commits
+6 -3
View File
@@ -224,10 +224,13 @@ public class SongManager : BaseManager
_logger.Info("Temporary song path: {0}", tempPath); _logger.Info("Temporary song path: {0}", tempPath);
using (var filestream = new FileStream(tempPath, FileMode.Create)) if (!System.IO.File.Exists(tempPath))
{ {
_logger.Info("Saving song to temporary directory"); using (var filestream = new FileStream(tempPath, FileMode.Create))
songFile.CopyTo(filestream); {
_logger.Info("Saving song to temporary directory");
songFile.CopyTo(filestream);
}
} }
var coverMgr = new CoverArtManager(_config); var coverMgr = new CoverArtManager(_config);