You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Firstly first, wonderful software, thanks for that!
I was using SoundFingerprintingAudioService and wanted to switch to FFmpegAudioService. Unfortunately, I'm having trouble making it working properly with FFmpeg.
To Reproduce
It crashes when I'm trying to
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Here are the characteristics of the wave file I want to store in memory:
Here is the error I'm getting ("System.AggregateException: 'One or more errors occurred. (Specified method is not supported.)'" - "NotSupportedException: Specified method is not supported.")
Desktop (please complete the following information):
Windows 11
Visual studio
All nuget packages are there (Emy included)
FFMPEG is well placed in the required directory
Additional context
Here is the function where it's crashing with FFmpegAudioService (But working with SoundFingerprintingAudioService):
public string StoreFileInMemory(string filePath)
{
try
{
var track = new TrackInfo(filePath, filePath, "Unknown Artist");
var hashes = FingerprintCommandBuilder.Instance
.BuildFingerprintCommand()
.From(filePath)
.UsingServices(audioService)
.Hash()
.Result;
// Insert the track and fingerprints into the model service
modelService.Insert(track, hashes);
// Return the track ID (unique for each track)
return track.Id;
}
catch (AggregateException aggEx)
{
foreach (var inner in aggEx.InnerExceptions)
{
Debug.WriteLine($"Inner Exception: {inner.Message}");
Debug.WriteLine(inner.StackTrace);
}
throw;
}
catch (Exception ex)
{
Debug.WriteLine($"Unexpected Error: {ex.Message}");
Debug.WriteLine(ex.StackTrace);
throw;
}
}
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Describe the bug
Firstly first, wonderful software, thanks for that!
I was using SoundFingerprintingAudioService and wanted to switch to FFmpegAudioService. Unfortunately, I'm having trouble making it working properly with FFmpeg.
To Reproduce
It crashes when I'm trying to
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Here are the characteristics of the wave file I want to store in memory:
Here is the error I'm getting ("System.AggregateException: 'One or more errors occurred. (Specified method is not supported.)'" - "NotSupportedException: Specified method is not supported.")
Desktop (please complete the following information):
Additional context
Here is the function where it's crashing with FFmpegAudioService (But working with SoundFingerprintingAudioService):
public string StoreFileInMemory(string filePath)
{
try
{
var track = new TrackInfo(filePath, filePath, "Unknown Artist");
}
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: