Added mp3 streaming for songs and a player to the app (experimental)

This commit is contained in:
lukeIam committed 2014-12-09 17:58:42 +01:00
1 parent 18bdb7aa05
commit 1e71360366
7 files changed
+52 -2

No files matched your search

+5
View File
@@ -127,6 +127,11 @@ namespace ServerLib
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "/getAllSongs")]
SSongInfo[] GetAllSongs();
[OperationContract, WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "/getMp3?songId={songId}")]
Stream GetMp3File(int songId);
#endregion
#region playlist