MetaBrainz.MusicBrainz.CoverArt 6.0.0

This package has a SemVer 2.0.0 package version: 6.0.0+github.22.1.
dotnet add package MetaBrainz.MusicBrainz.CoverArt --version 6.0.0                
NuGet\Install-Package MetaBrainz.MusicBrainz.CoverArt -Version 6.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MetaBrainz.MusicBrainz.CoverArt" Version="6.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MetaBrainz.MusicBrainz.CoverArt --version 6.0.0                
#r "nuget: MetaBrainz.MusicBrainz.CoverArt, 6.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MetaBrainz.MusicBrainz.CoverArt as a Cake Addin
#addin nuget:?package=MetaBrainz.MusicBrainz.CoverArt&version=6.0.0

// Install MetaBrainz.MusicBrainz.CoverArt as a Cake Tool
#tool nuget:?package=MetaBrainz.MusicBrainz.CoverArt&version=6.0.0                

MetaBrainz.MusicBrainz.CoverArt Build Status NuGet Version

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

Starting from .NET 7 your application can also be set up to read tracing configuration from the application configuration file. To do so, the application needs to add the following 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 Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on MetaBrainz.MusicBrainz.CoverArt:

Repository Stars
NickvisionApps/Tagger
Tag your music
jamesbrindle/YTMusicUploader
Automatically upload your music library and playlists to YouTube Music .Net Application. Upload songs to YouTube Music and bulk delete music and playlists from YouTube Music. C#.
Version Downloads Last updated
6.0.0 1,793 1/1/2024
5.1.0 1,724 11/1/2023
5.0.0 5,070 1/29/2022
4.0.0 1,332 11/18/2021
3.0.0 1,876 4/26/2020
2.0.1 258 4/17/2020
2.0.0 295 3/21/2020
1.1.1 1,578 11/15/2018
1.1.0 1,500 8/14/2018
1.0.0 1,767 1/21/2018