MetaBrainz.MusicBrainz.CoverArt
7.1.0
dotnet add package MetaBrainz.MusicBrainz.CoverArt --version 7.1.0
NuGet\Install-Package MetaBrainz.MusicBrainz.CoverArt -Version 7.1.0
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="7.1.0" />
<PackageVersion Include="MetaBrainz.MusicBrainz.CoverArt" Version="7.1.0" />
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" />
paket add MetaBrainz.MusicBrainz.CoverArt --version 7.1.0
#r "nuget: MetaBrainz.MusicBrainz.CoverArt, 7.1.0"
#:package MetaBrainz.MusicBrainz.CoverArt@7.1.0
#addin nuget:?package=MetaBrainz.MusicBrainz.CoverArt&version=7.1.0
#tool nuget:?package=MetaBrainz.MusicBrainz.CoverArt&version=7.1.0
MetaBrainz.MusicBrainz.CoverArt

This is a .NET implementation of the libcoverart library (wrapping the CoverArtArchive API). An attempt has been made to keep the same basic class hierarchy.
Debugging
The CoverArt class provides a TraceSource that can be used to
configure debug output; its name is MetaBrainz.MusicBrainz.CoverArt.
Configuration
In Code
In code, you can enable tracing like follows:
// Use the default switch, turning it on.
CoverArt.TraceSource.Switch.Level = SourceLevels.All;
// Alternatively, use your own switch so multiple things can be
// enabled/disabled at the same time.
var mySwitch = new TraceSwitch("MyAppDebugSwitch", "All");
CoverArt.TraceSource.Switch = mySwitch;
// By default, there is a single listener that writes trace events to
// the debug output (typically only seen in an IDE's debugger). You can
// add (and remove) listeners as desired.
var listener = new ConsoleTraceListener {
Name = "MyAppConsole",
TraceOutputOptions = TraceOptions.DateTime | TraceOptions.ProcessId,
};
CoverArt.TraceSource.Listeners.Clear();
CoverArt.TraceSource.Listeners.Add(listener);
In Configuration
Your application can also be set up to read tracing configuration from the application configuration file. To do so, the following needs to be added to its startup code:
System.Diagnostics.TraceConfiguration.Register();
(Provided by the System.Configuration.ConfigurationManager package.)
The application config file can then have a system.diagnostics section
where sources, switches and listeners can be configured.
<configuration>
<system.diagnostics>
<sharedListeners>
<add name="console" type="System.Diagnostics.ConsoleTraceListener" traceOutputOptions="DateTime,ProcessId" />
</sharedListeners>
<sources>
<source name="MetaBrainz.MusicBrainz.CoverArt" switchName="MetaBrainz.MusicBrainz.CoverArt">
<listeners>
<add name="console" />
<add name="caa-log" type="System.Diagnostics.TextWriterTraceListener" initializeData="caa.log" />
</listeners>
</source>
</sources>
<switches>
<add name="MetaBrainz.MusicBrainz.CoverArt" value="All" />
</switches>
</system.diagnostics>
</configuration>
Release Notes
These are available on GitHub.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MetaBrainz.Common (>= 4.1.1)
- MetaBrainz.Common.Json (>= 7.2.0)
- System.Drawing.Common (>= 10.0.0)
-
net8.0
- MetaBrainz.Common (>= 4.1.1)
- MetaBrainz.Common.Json (>= 7.2.0)
- System.Drawing.Common (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on MetaBrainz.MusicBrainz.CoverArt:
| Repository | Stars |
|---|---|
|
NickvisionApps/Tagger
Tag your music
|