Skip to content

Commit

Permalink
Bumping version to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 5, 2018
1 parent 4dd67bb commit cd78e3d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## 0.1.0 - 2018-10-05

* Stream from Azure Blob Storage

## 0.0.37 - 2018-10-05

* Initial release
6 changes: 5 additions & 1 deletion src/Client/ReleaseNotes.fs
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
module internal ReleaseNotes

let Version = "0.0.37"
let Version = "0.1.0"

let IsPrerelease = false

let Notes = """
# Release Notes
## 0.1.0 - 2018-10-05
* Stream from Azure Blob Storage
## 0.0.37 - 2018-10-05
* Initial release
Expand Down
2 changes: 1 addition & 1 deletion src/PiServer/PiServer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ let executeAction (nodeServices : INodeServices) (action:TagAction) =
| TagAction.PlayBlobMusik guid ->
task {
let! r = stop nodeServices
let url = sprintf "%s/audio/%O" tagServer guid
let url = sprintf "%s/api/audio/%O" tagServer guid
currentTask <- play nodeServices url
return (sprintf "Playing %s" url)
}
Expand Down
3 changes: 1 addition & 2 deletions src/Server/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ let blobMusikEndpoint mediaID =
let blobClient = connection.CreateCloudBlobClient()
let mediaContainer = blobClient.GetContainerReference("media")
let! _x = mediaContainer.CreateIfNotExistsAsync()

let blockBlob = mediaContainer.GetBlockBlobReference(mediaID)
use stream = new MemoryStream()
do! blockBlob.DownloadToStreamAsync(stream)
Expand Down Expand Up @@ -75,7 +74,7 @@ let startupEndpoint =
pipeline {
set_header "Content-Type" "application/json"
plug (fun next ctx -> task {
let actions = [TagAction.PlayMusik (sprintf @"%s/%s" URLs.mp3Server "d97cdddb-8a19-4690-8ba5-b8ea43d3641f")]
let actions = [TagAction.PlayBlobMusik (System.Guid "d97cdddb-8a19-4690-8ba5-b8ea43d3641f")]

let txt =
actions
Expand Down

0 comments on commit cd78e3d

Please sign in to comment.