Simple.MPD
0.6.5
dotnet add package Simple.MPD --version 0.6.5
NuGet\Install-Package Simple.MPD -Version 0.6.5
<PackageReference Include="Simple.MPD" Version="0.6.5" />
paket add Simple.MPD --version 0.6.5
#r "nuget: Simple.MPD, 0.6.5"
// Install Simple.MPD as a Cake Addin #addin nuget:?package=Simple.MPD&version=0.6.5 // Install Simple.MPD as a Cake Tool #tool nuget:?package=Simple.MPD&version=0.6.5
Simple MPD
A simple client MPD (Music Player Daemon) protocol implementation in C#
Does it compile?
Installing
Get from NuGet and start testing
Can I mess with it ?
PM> Install-Package Simple.MPD
Compatibility
High compatibility, currently supports:
- .Net 6
- .Net Core 3.1
- .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/
Protocol documentation
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
- List - list tags
- 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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. 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. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net8.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 | 157 | 3/26/2024 | |
0.6.4 | 237 | 8/8/2023 | |
0.6.3.2 | 635 | 3/13/2022 | |
0.6.3.1 | 294 | 1/1/2022 | |
0.6.2.1 | 328 | 4/26/2021 | |
0.6.2 | 385 | 4/25/2021 | |
0.6.1 | 309 | 4/24/2021 | |
0.6.0 | 315 | 4/11/2021 | |
0.5.1 | 312 | 3/31/2021 | |
0.5.0 | 318 | 3/28/2021 | |
0.4.8 | 374 | 3/27/2021 | |
0.4.7 | 317 | 3/26/2021 | |
0.4.6 | 354 | 3/24/2021 | |
0.4.5 | 354 | 3/24/2021 | |
0.4.4 | 550 | 3/24/2021 |
See examples and documentation on the GitHub page
Paired with commit 551f788
https://github.com/RafaelEstevamReis/SimpleMPD