From d861b61214c7e7e722c4bda77a5c9ebb19635729 Mon Sep 17 00:00:00 2001 From: popcorn Date: Fri, 14 Aug 2020 19:52:11 -0500 Subject: [PATCH] fixed the file missing .m4b --- ProcessAudiobooks-UI/AddAudiobookWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessAudiobooks-UI/AddAudiobookWindow.xaml.cs b/ProcessAudiobooks-UI/AddAudiobookWindow.xaml.cs index a9b929e..0a4b3ed 100644 --- a/ProcessAudiobooks-UI/AddAudiobookWindow.xaml.cs +++ b/ProcessAudiobooks-UI/AddAudiobookWindow.xaml.cs @@ -134,7 +134,7 @@ private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs private void tbSave_Click(object sender, RoutedEventArgs e) { List fileList = lvListFiles.Items.Cast().ToList(); - book = new DataObjects.Audiobook(tbName.Text, tbOutputName.Text, tbArtist.Text, tbAlbum.Text, tbGenre.Text, tbYear.Text, tbWriter.Text, fileList, tbOutputPath.Text); + book = new DataObjects.Audiobook(tbName.Text, tbOutputName.Text + ".m4b" , tbArtist.Text, tbAlbum.Text, tbGenre.Text, tbYear.Text, tbWriter.Text, fileList, tbOutputPath.Text); this.Close(); } }