Simple.MPD 0.6.3.2

.NET 5.0 .NET Core 2.1 .NET Standard 2.0 .NET Framework 4.5
dotnet add package Simple.MPD --version 0.6.3.2
NuGet\Install-Package Simple.MPD -Version 0.6.3.2
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="Simple.MPD" Version="0.6.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Simple.MPD --version 0.6.3.2
#r "nuget: Simple.MPD, 0.6.3.2"
#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 Simple.MPD as a Cake Addin
#addin nuget:?package=Simple.MPD&version=0.6.3.2

// Install Simple.MPD as a Cake Tool
#tool nuget:?package=Simple.MPD&version=0.6.3.2

Simple MPD

A simple client MPD (Music Player Daemon) protocol implementation in C#

Does it compile?

.NET Core

Installing

Get from NuGet and start testing

Can I mess with it ?

NuGet

PM> Install-Package Simple.MPD

Compatibility

High compatibility, currently supports:

  • .Net 5
  • .Net Core 3.1
  • .Net Framework 4.5
  • .Net Standard 2.0
    • .NetCore 2.0+
    • .Net Framework 4.6.1+
    • Mono 5.4+
    • Xamarin.iOS 10.14+
    • Xamarin.Android 8.0+
    • UWP 10.0.16299+
    • Unity 2018.1+

Table of Contents

What is MPD ?

MPD is a Server-Side application for playing music

This repository is a C# implementation of the Client-Side protocol, this code allow you to communicate with a MPD

MPD Website: https://www.musicpd.org/

MPD Documentation

Protocol documentation

musicpd.org Protocol

The MPD command protocol exchanges line-based text records between client and server over TCP. Once the client is connected to the server, they conduct a conversation until the client closes the connection. The conversation flow is always initiated by the client.

What this lib does ?

Currently it has all crucial commands to understand and control the MPD server

Current implemented commands

  • Ping
  • Close - Closes the socket as docs request
  • Config - Gets configuration, only in local endpoint
  • Commands - List all available commands
  • NotCommands - List all unavailable commands
  • UrlHandlers - List all available Url Handlers
  • Decoders - List all available decoders
  • Idle - Waits for commands
  • Stats - General info
  • Status - Current song info
  • CurrentSong - Current song Name and File
  • Consume - Set Consume mode On/Off
  • CrossFade - Set cross fade seconds
  • Random - Set Random mode On/Off
  • Repeat - Set Repeat mode On/Off
  • SetVol - Set volume value
  • Single - Set single mode
  • Play / Pause / Stop
  • Next / Previous
  • PlayListInfo - Get Queue song's
  • Clear - Clear queue
  • Add - Adds (recursively) to the queue
  • AddId - Add a file to the queue and return it's Id
  • Delete - Deletes a song from the queue
  • DeleteId - Deletes the song SongId from the queue
  • Shuffle - Shuffles the queue
  • Swap - Swap two songs
  • Move - Move song to position
  • ListAll - Lists all songs and directories in URI. Do not use this command
  • LsInfo - Lists the contents of the directory URI
  • Find - find files - Case-Sensitive
  • Search - find files - Case-Insensitive
  • ListPlayLists - List all playlists
  • ListPlaylistInfo - List files in playlist
  • Rename - Rename a playlist
  • Rm - Delete a playlist
  • Save - Save the queue as a playlist
  • Load - Load the queue as a playlist
  • PlaylistDelete - Deletes SongPos from the playlist
  • PlaylistMove - Moves the song at position FROM to the position TO

Once this code does something more useful, this section wil be replaced

License

This library is licensed under the MIT License

A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.1

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.3.2 357 3/13/2022
0.6.3.1 188 1/1/2022
0.6.2.1 218 4/26/2021
0.6.2 259 4/25/2021
0.6.1 205 4/24/2021
0.6.0 212 4/11/2021
0.5.1 206 3/31/2021
0.5.0 211 3/28/2021
0.4.8 270 3/27/2021
0.4.7 206 3/26/2021
0.4.6 252 3/24/2021
0.4.5 243 3/24/2021
0.4.4 434 3/24/2021

See examples and documentation on the GitHub page
Paired with commit 551f788
https://github.com/RafaelEstevamReis/SimpleMPD