From 16619f7c44cc166407e6a7aea931d7bfb2e5aef8 Mon Sep 17 00:00:00 2001 From: glucaci Date: Tue, 20 Dec 2016 14:54:57 +0100 Subject: [PATCH] Class for Playlist commands added. Test playlists created. --- LibMpc/Commands/Commands.Playlists.cs | 24 ++++++++++++++++++++ LibMpcTest/Server/Playlists/Playlist One.m3u | 5 ++++ LibMpcTest/Server/Playlists/Playlist Two.m3u | 3 +++ LibMpcTest/Server/Playlists/_My Playlist.m3u | 5 ++++ LibMpcTest/Server/Playlists/dummy | 0 5 files changed, 37 insertions(+) create mode 100644 LibMpc/Commands/Commands.Playlists.cs create mode 100644 LibMpcTest/Server/Playlists/Playlist One.m3u create mode 100644 LibMpcTest/Server/Playlists/Playlist Two.m3u create mode 100644 LibMpcTest/Server/Playlists/_My Playlist.m3u delete mode 100644 LibMpcTest/Server/Playlists/dummy diff --git a/LibMpc/Commands/Commands.Playlists.cs b/LibMpc/Commands/Commands.Playlists.cs new file mode 100644 index 0000000..72df4aa --- /dev/null +++ b/LibMpc/Commands/Commands.Playlists.cs @@ -0,0 +1,24 @@ +namespace LibMpc +{ + public partial class Commands + { + public static class Playlists + { + /// + /// https://www.musicpd.org/doc/protocol/queue.html + /// + public static class Current + { + + } + + /// + /// https://www.musicpd.org/doc/protocol/playlist_files.html + /// + public static class Stored + { + + } + } + } +} \ No newline at end of file diff --git a/LibMpcTest/Server/Playlists/Playlist One.m3u b/LibMpcTest/Server/Playlists/Playlist One.m3u new file mode 100644 index 0000000..7001dbe --- /dev/null +++ b/LibMpcTest/Server/Playlists/Playlist One.m3u @@ -0,0 +1,5 @@ +teaspoon-stirring-mug-of-coffee.mp3 +whistle-kettle-boiling.mp3 +wine-glass-double-chink-clink-cheers.mp3 +Directory With Spaces/coin-spin-light.mp3 +Directory With Spaces/finger-snap-click.mp3 diff --git a/LibMpcTest/Server/Playlists/Playlist Two.m3u b/LibMpcTest/Server/Playlists/Playlist Two.m3u new file mode 100644 index 0000000..98e2fb4 --- /dev/null +++ b/LibMpcTest/Server/Playlists/Playlist Two.m3u @@ -0,0 +1,3 @@ +A long name directory with some spaces/pouring-water-into-mug-of-coffee.mp3 +A long name directory with some spaces/Sub Directory Two/short-trouser-pants-zip-closing.mp3 +Directory/2-Kids-Laughing.mp3 diff --git a/LibMpcTest/Server/Playlists/_My Playlist.m3u b/LibMpcTest/Server/Playlists/_My Playlist.m3u new file mode 100644 index 0000000..5d6f216 --- /dev/null +++ b/LibMpcTest/Server/Playlists/_My Playlist.m3u @@ -0,0 +1,5 @@ +A long name directory with some spaces/Ghost-Sounds.mp3 +Directory/ambient-noise-server-room.mp3 +Directory With Spaces/SubDirectory One/central-locking-Ford-Mondeo-Mk-3.mp3 +_My Directory/gas-fire-lighting.mp3 +A long name directory with some spaces/Sub Directory Two/starting-engine-Ford-Mondeo-Mk-3-diesel.mp3 diff --git a/LibMpcTest/Server/Playlists/dummy b/LibMpcTest/Server/Playlists/dummy deleted file mode 100644 index e69de29..0000000