Skip to content

Commit

Permalink
Merge pull request #311 from jwallet/310
Browse files Browse the repository at this point in the history
310 throw before attempting to create unknown track / ignore empty track  --- added settings to report
  • Loading branch information
jwallet authored Jan 5, 2021
2 parents 75ef06d + f61f8fa commit 98da6a1
Show file tree
Hide file tree
Showing 13 changed files with 216 additions and 151 deletions.
20 changes: 10 additions & 10 deletions EspionSpotify.Tests/EspionSpotify.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="EmbedIO, Version=3.4.3.0, Culture=neutral, PublicKeyToken=5e5f048b6e04267e, processorArchitecture=MSIL">
<HintPath>..\packages\EmbedIO.3.4.3\lib\netstandard2.0\EmbedIO.dll</HintPath>
<HintPath>..\packages\Castle.Core.4.4.0\lib\net45\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Moq, Version=4.15.0.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
Expand All @@ -64,9 +61,6 @@
<Reference Include="SpotifyAPI.Web.Auth, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SpotifyAPI.Web.Auth.5.1.1\lib\netstandard2.0\SpotifyAPI.Web.Auth.dll</HintPath>
</Reference>
<Reference Include="Swan.Lite, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Unosquare.Swan.Lite.3.1.0\lib\net461\Swan.Lite.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
Expand All @@ -76,8 +70,8 @@
<Reference Include="System.IO.Abstractions.TestingHelpers, Version=13.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Abstractions.TestingHelpers.13.2.8\lib\net461\System.IO.Abstractions.TestingHelpers.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
Expand All @@ -91,6 +85,12 @@
<Reference Include="TagLibSharp, Version=2.2.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
<HintPath>..\packages\TagLibSharp.2.2.0\lib\net45\TagLibSharp.dll</HintPath>
</Reference>
<Reference Include="Unosquare.Labs.EmbedIO, Version=2.9.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EmbedIO.2.9.2\lib\netstandard2.0\Unosquare.Labs.EmbedIO.dll</HintPath>
</Reference>
<Reference Include="Unosquare.Swan.Lite, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Unosquare.Swan.Lite.1.3.1\lib\net461\Unosquare.Swan.Lite.dll</HintPath>
</Reference>
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll</HintPath>
<Private>True</Private>
Expand Down Expand Up @@ -143,8 +143,8 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.4.1\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.4.1\build\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.core.2.4.1\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.4.1\build\xunit.core.targets'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.4.3\build\net452\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.4.3\build\net452\xunit.runner.visualstudio.props'))" />
<Error Condition="!Exists('..\packages\NAudio.Lame.1.1.6\build\NAudio.Lame.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NAudio.Lame.1.1.6\build\NAudio.Lame.targets'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.4.3\build\net452\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.4.3\build\net452\xunit.runner.visualstudio.props'))" />
</Target>
<Import Project="..\packages\xunit.core.2.4.1\build\xunit.core.targets" Condition="Exists('..\packages\xunit.core.2.4.1\build\xunit.core.targets')" />
<Import Project="..\packages\NAudio.Lame.1.1.6\build\NAudio.Lame.targets" Condition="Exists('..\packages\NAudio.Lame.1.1.6\build\NAudio.Lame.targets')" />
Expand Down
12 changes: 4 additions & 8 deletions EspionSpotify.Tests/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Handlebars" publicKeyToken="22225d0bf33cd661" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.3.0" newVersion="2.0.3.0" />
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="DotNetZip" publicKeyToken="6583c7c814667745" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.15.0.0" newVersion="1.15.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
8 changes: 4 additions & 4 deletions EspionSpotify.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Castle.Core" version="4.4.1" targetFramework="net461" />
<package id="EmbedIO" version="3.4.3" targetFramework="net461" />
<package id="Castle.Core" version="4.4.0" targetFramework="net461" />
<package id="EmbedIO" version="2.9.2" targetFramework="net461" />
<package id="Moq" version="4.15.2" targetFramework="net461" />
<package id="NAudio" version="1.10.0" targetFramework="net461" />
<package id="NAudio.Lame" version="1.1.6" targetFramework="net461" />
Expand All @@ -10,11 +10,11 @@
<package id="SpotifyAPI.Web.Auth" version="5.1.1" targetFramework="net461" />
<package id="System.IO.Abstractions" version="13.2.8" targetFramework="net461" />
<package id="System.IO.Abstractions.TestingHelpers" version="13.2.8" targetFramework="net461" />
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net461" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net461" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net461" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
<package id="TagLibSharp" version="2.2.0" targetFramework="net461" />
<package id="Unosquare.Swan.Lite" version="3.1.0" targetFramework="net461" />
<package id="Unosquare.Swan.Lite" version="1.3.1" targetFramework="net461" />
<package id="xunit" version="2.4.1" targetFramework="net461" />
<package id="xunit.abstractions" version="2.0.3" targetFramework="net461" />
<package id="xunit.analyzers" version="0.10.0" targetFramework="net461" />
Expand Down
18 changes: 5 additions & 13 deletions EspionSpotify/App.config
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="EspionSpotify.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="EspionSpotify.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Handlebars" publicKeyToken="22225d0bf33cd661" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.3.0" newVersion="2.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="DotNetZip" publicKeyToken="6583c7c814667745" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.15.0.0" newVersion="1.15.0.0" />
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
23 changes: 10 additions & 13 deletions EspionSpotify/EspionSpotify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,14 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
<Reference Include="DotNetZip, Version=1.15.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
<HintPath>..\packages\DotNetZip.1.15.0\lib\net40\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="EmbedIO, Version=3.4.3.0, Culture=neutral, PublicKeyToken=5e5f048b6e04267e, processorArchitecture=MSIL">
<HintPath>..\packages\EmbedIO.3.4.3\lib\netstandard2.0\EmbedIO.dll</HintPath>
<Reference Include="DotNetZip, Version=1.11.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
<HintPath>..\packages\DotNetZip.1.11.0\lib\net20\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="ExceptionReporter.NET, Version=4.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExceptionReporter.4.0.2\lib\net40\ExceptionReporter.NET.dll</HintPath>
</Reference>
<Reference Include="Handlebars, Version=2.0.3.0, Culture=neutral, PublicKeyToken=22225d0bf33cd661, processorArchitecture=MSIL">
<HintPath>..\packages\Handlebars.Net.2.0.3\lib\net46\Handlebars.dll</HintPath>
<Reference Include="Handlebars, Version=1.8.1.0, Culture=neutral, PublicKeyToken=22225d0bf33cd661, processorArchitecture=MSIL">
<HintPath>..\packages\Handlebars.Net.1.9.0\lib\net40\Handlebars.dll</HintPath>
</Reference>
<Reference Include="MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a, processorArchitecture=MSIL">
<HintPath>..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.dll</HintPath>
Expand Down Expand Up @@ -150,9 +147,6 @@
<Reference Include="SpotifyAPI.Web.Auth, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SpotifyAPI.Web.Auth.5.1.1\lib\netstandard2.0\SpotifyAPI.Web.Auth.dll</HintPath>
</Reference>
<Reference Include="Swan.Lite, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Unosquare.Swan.Lite.3.1.0\lib\net461\Swan.Lite.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
Expand All @@ -162,9 +156,6 @@
<Reference Include="System.Management" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
Expand All @@ -176,6 +167,12 @@
<Reference Include="TagLibSharp, Version=2.2.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
<HintPath>..\packages\TagLibSharp.2.2.0\lib\net45\TagLibSharp.dll</HintPath>
</Reference>
<Reference Include="Unosquare.Labs.EmbedIO, Version=2.9.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EmbedIO.2.9.2\lib\netstandard2.0\Unosquare.Labs.EmbedIO.dll</HintPath>
</Reference>
<Reference Include="Unosquare.Swan.Lite, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Unosquare.Swan.Lite.1.3.1\lib\net461\Unosquare.Swan.Lite.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Analytics.cs" />
Expand Down
2 changes: 2 additions & 0 deletions EspionSpotify/Models/OutputFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ internal void Increment()

public override string ToString()
{
if (string.IsNullOrWhiteSpace(_file)) return null;
return $@"{Path}\{_file}{GetAddedCount()}.{Extension}";
}

public string ToPendingFileString()
{
if (string.IsNullOrWhiteSpace(_file)) return null;
return $@"{Path}\{_file}{GetAddedCount()}.{SPYTIFY}";
}

Expand Down
10 changes: 10 additions & 0 deletions EspionSpotify/Native/FileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ public OutputFile UpdateOutputFileWithLatestTrackInfo(OutputFile outputFile, Tra

public void DeleteFile(string currentFile)
{
if (string.IsNullOrWhiteSpace(currentFile))
{
throw new Exception($"Current file cannot be null.");
}
try
{
if (_fileSystem.File.Exists(currentFile))
Expand All @@ -90,6 +94,10 @@ public void DeleteFile(string currentFile)

public void RenameFile(string source, string destination)
{
if (string.IsNullOrWhiteSpace(source) || string.IsNullOrWhiteSpace(destination))
{
throw new Exception($"Source / Destination paths cannot be null.");
}
try
{
if (_fileSystem.File.Exists(source))
Expand Down Expand Up @@ -121,6 +129,8 @@ public static string GetFolderPath(Track track, UserSettings userSettings)
var artistDir = GetArtistFolderPath(track, userSettings.TrackTitleSeparator);
var albumDir = GetAlbumFolderPath(track, userSettings.TrackTitleSeparator);

if (string.IsNullOrEmpty(artistDir) || string.IsNullOrEmpty(albumDir)) throw new Exception("Artist / Album cannot be null.");

return $@"\{artistDir}\{albumDir}";
}

Expand Down
2 changes: 1 addition & 1 deletion EspionSpotify/Normalize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace EspionSpotify
{
internal static class Normalize
{
private static char[] _reservedSystemChars = { '\\', '/', ':', '*', '?', '"', '<', '>', '|' };
private static readonly char[] _reservedSystemChars = { '\\', '/', ':', '*', '?', '"', '<', '>', '|' };

public static string RemoveDiacritics(string text)
{
Expand Down
71 changes: 70 additions & 1 deletion EspionSpotify/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using ExceptionReporting;
using EspionSpotify.Properties;
using ExceptionReporting;
using NAudio.Lame;
using System;
using System.Threading;
using System.Windows.Forms;
Expand Down Expand Up @@ -50,6 +52,72 @@ internal static void CurrentDomain_UnhandledException(object sender, UnhandledEx
// Creates the error message and displays it.
internal static void ReportException(Exception ex)
{
string template = null;
try
{
template = @"# {{App.Title}}
**Version**: {{App.Version}}
**Region**: {{App.Region}}
{{#if App.User}}
**User**: {{App.User}}
{{/if}}
**Date**: {{Error.Date}}
**Time**: {{Error.Time}}
{{#if Error.Explanation}}
**User Explanation**: {{Error.Explanation}}
{{/if}}
**Error Message**: {{Error.Message}}
## Stack Traces
```shell
{{Error.FullStackTrace}}
```
## Logs
```console
{{Logs}}
```
## Settings
{{Settings}}
## Assembly References
{{#App.AssemblyRefs}}
- {{Name}}, Version={{Version}}
{{/App.AssemblyRefs}}
## System Info
```console
{{SystemInfo}}
```
".Replace("{{Logs}}", string.Join(@"\n\r", Settings.Default.Logs.Split(';'))).Replace("{{Settings}}", $@"**Output Directory**: {Settings.Default.Directory}
**Bitrate**: {(LAMEPreset)Settings.Default.Bitrate}
**Media Format**: {(Enums.MediaFormat)Settings.Default.MediaFormat}
**Min. Media Length**: {Settings.Default.MinimumRecordedLengthSeconds}
**Group Media in Folder**: {Settings.Default.GroupByFoldersEnabled}
**Track Title Separator Underscore**: {Settings.Default.TrackTitleSeparatorEnabled}
**Counter In File Name**: {Settings.Default.OrderNumberInfrontOfFileEnabled}
**Counter In Media Tag**: {Settings.Default.OrderNumberInMediaTagEnabled}
**Language**: {(Enums.LanguageType)Settings.Default.Language}
**Tab No**: {Settings.Default.TabNo}
**Delay When Track Ends**: {Settings.Default.EndingSongDelayEnabled}
**Mute Ads**: {Settings.Default.MuteAdsEnabled}
**Record Everything**: {Settings.Default.RecordEverythingEnabled}
**Analytics CID**: {Settings.Default.AnalyticsCID}
**Record Over Recordings**: {Settings.Default.RecordOverRecordingsEnabled}
**Last Version Prompted**: {Settings.Default.LastVersionPrompted}
**External API**: {(Enums.ExternalAPIType)Settings.Default.ExternalAPI}
**Audio Endpoint Device ID**: {Settings.Default.AudioEndPointDeviceID}
**Record Duplicate Recordings**: {Settings.Default.RecordDuplicateRecordingsEnabled}
**Counter Mask**: {Settings.Default.OrderNumberMask}
**Spotify API IDs**: {!string.IsNullOrWhiteSpace(Settings.Default.SpotifyAPISecretId) && !string.IsNullOrWhiteSpace(Settings.Default.SpotifyAPIClientId)}
**Extra Title To Subtitle**: {Settings.Default.ExtraTitleToSubtitleEnabled}
**Record Ads**: {Settings.Default.RecordAdsEnabled}");
}
catch { };

ExceptionReporter er = new ExceptionReporter()
{
Config =
Expand All @@ -63,6 +131,7 @@ internal static void ReportException(Exception ex)
TopMost = true,
ShowFlatButtons = true,
ShowLessDetailButton = true,
ReportCustomTemplate = !string.IsNullOrWhiteSpace(template) ? template : null,
ReportTemplateFormat = TemplateFormat.Markdown,
},
};
Expand Down
4 changes: 2 additions & 2 deletions EspionSpotify/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
[assembly: AssemblyVersion("1.9.0.0")]
[assembly: AssemblyFileVersion("1.9.0.0")]
2 changes: 1 addition & 1 deletion EspionSpotify/Recorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private async void WaveIn_RecordingStopped(object sender, StoppedEventArgs e)
}

var length = TimeSpan.FromSeconds(CountSeconds).ToString(@"mm\:ss");
_form.WriteIntoConsole(I18nKeys.LogRecorded, _track.ToString(), length);
_form.WriteIntoConsole(I18nKeys.LogRecorded, _currentOutputFile.File, length);

_fileManager.UpdateOutputFileWithLatestTrackInfo(_currentOutputFile, _track, _userSettings);
_fileManager.RenameFile(_currentOutputFile.ToPendingFileString(), _currentOutputFile.ToString());
Expand Down
Loading

0 comments on commit 98da6a1

Please sign in to comment.