Skip to content

Commit

Permalink
Let's allow setting key/values on mp3 using one method call.
Browse files Browse the repository at this point in the history
  • Loading branch information
AddictedCS committed Mar 2, 2024
1 parent 09ca62b commit 8c13689
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/SoundFingerprinting.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("4cac962e-ebc5-4006-a1e0-7ffb3e2483c2")]
[assembly: AssemblyVersion("9.4.2.100")]
[assembly: AssemblyInformationalVersion("9.4.2.100")]
[assembly: AssemblyVersion("9.4.4.100")]
[assembly: AssemblyInformationalVersion("9.4.4.100")]
9 changes: 5 additions & 4 deletions src/SoundFingerprinting/Audio/ITagService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
namespace SoundFingerprinting.Audio
{
using System.Collections.Generic;

/// <summary>
/// Service that allows extracting tag information.
/// </summary>
Expand All @@ -20,13 +22,12 @@ public interface ITagService
/// <param name="value">Value.</param>
/// <returns>True if successful, otherwise false.</returns>
bool TryGetTagByKey(string pathToAudioFile, string key, out string? value);

/// <summary>
/// Set tag by key in the audio file.
/// </summary>
/// <param name="pathToAudioFile">Path to audio file (mp3)</param>
/// <param name="key">Key.</param>
/// <param name="value">Value.</param>
void SetTagByKey(string pathToAudioFile, string key, string value);
/// <param name="tags">Key/Values.</param>
void SetTagByKey(string pathToAudioFile, IEnumerable<KeyValuePair<string, string>> tags);
}
}
4 changes: 2 additions & 2 deletions src/SoundFingerprinting/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
[assembly: InternalsVisibleTo("SoundFingerprinting.FFT.FFTW")]
[assembly: InternalsVisibleTo("SoundFingerprinting.FFT.FFTW.Tests")]

[assembly: AssemblyVersion("9.4.2.100")]
[assembly: AssemblyInformationalVersion("9.4.2.100")]
[assembly: AssemblyVersion("9.4.4.100")]
[assembly: AssemblyInformationalVersion("9.4.4.100")]
4 changes: 3 additions & 1 deletion src/SoundFingerprinting/SoundFingerprinting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Nullable>enable</Nullable>
<PackageVersion>9.4.2</PackageVersion>
<PackageVersion>9.4.4</PackageVersion>
<Authors>Sergiu Ciumac</Authors>
<PackageDescription>SoundFingerprinting is a C# framework that implements an efficient algorithm of audio fingerprinting and identification. Designed for developers, enthusiasts, researchers in the fields of audio processing, data mining, digital signal processing.</PackageDescription>
<PackageProjectUrl>https://github.com/addictedcs/soundfingerprinting</PackageProjectUrl>
<RepositoryUrl>https://github.com/AddictedCS/soundfingerprinting</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>
Version 9.4.4
- Improving the design for ITagService, let's allow setting key/values in one method call.
Version 9.4.2
- Contains an important improvement to QueryCommand, allowing a much faster lookup for the use-cases when the track and the query are very long and almost identical.
- The improvement is rooted in the idea of returning Candidates from the IModelService instead of list of SubFingerprints. This provided knowledge on which hashed fingerprint matched with the query.
Expand Down

0 comments on commit 8c13689

Please sign in to comment.