Added mp3 streaming for songs and a player to the app (experimental)
This commit is contained in:
1 parent
18bdb7aa05
commit
1e71360366
7 files changed
+52
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user