Simple.MPD 0.6.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Simple.MPD --version 0.6.3.1                
NuGet\Install-Package Simple.MPD -Version 0.6.3.1                
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.1" />                
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.1                
#r "nuget: Simple.MPD, 0.6.3.1"                
#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.1

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

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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.5 170 3/26/2024
0.6.4 239 8/8/2023
0.6.3.2 709 3/13/2022
0.6.3.1 296 1/1/2022
0.6.2.1 330 4/26/2021
0.6.2 387 4/25/2021 0.6.2 is deprecated.
0.6.1 311 4/24/2021
0.6.0 317 4/11/2021
0.5.1 314 3/31/2021
0.5.0 320 3/28/2021
0.4.8 380 3/27/2021
0.4.7 319 3/26/2021
0.4.6 356 3/24/2021
0.4.5 356 3/24/2021
0.4.4 552 3/24/2021

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