Skip to content

Commit fe45bea

Browse files
committed
Fix bug where saving album got track start positions wrong.
1 parent 8082634 commit fe45bea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MainForm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ void saveAlbum() {
412412
string dest = Path.Combine(folder, string.Format("{0:00} - {1}", t + 1, filename(name))) + Properties.Settings.Default.OutputType;
413413
Status("Saving {0} {1}", t + 1, name);
414414
ExtractWaveProvider p = new ExtractWaveProvider(m_Reader, start, trk.LengthSeconds);
415+
start += trk.LengthSeconds;
415416
switch (Properties.Settings.Default.OutputType) {
416417
case ".wma":
417418
MediaFoundationEncoder.EncodeToWma(p, dest);

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("1.0.1.0")]
36+
[assembly: AssemblyFileVersion("1.0.1.0")]

0 commit comments

Comments
 (0)