Skip to content

Commit

Permalink
Bumping version to 1.5.19
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Aug 21, 2019
1 parent 216f6c7 commit c7c1eb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes

## 1.5.18 - 2019-08-21
## 1.5.19 - 2019-08-21
* Sonos support
* Removed Youtube

Expand Down
4 changes: 2 additions & 2 deletions src/Client/ReleaseNotes.fs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module internal ReleaseNotes

let Version = "1.5.18"
let Version = "1.5.19"

let IsPrerelease = false

let Notes = """
# Release Notes
## 1.5.18 - 2019-08-21
## 1.5.19 - 2019-08-21
* Sonos support
* Removed Youtube
Expand Down
4 changes: 2 additions & 2 deletions src/Server/Sonos.fs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ type Session =
{ ID = get.Required.Field "sessionId" Decode.string }
)


let playModeToSingle (log:ILogger) accessToken group = task {
let headers = ["Authorization", "Bearer " + accessToken]
let url = sprintf "https://api.ws.sonos.com/control/api/v1/groups/%s/playBack/playMode" group
let url = sprintf "https://api.ws.sonos.com/control/api/v1/groups/%s/playback/playMode" group
let body = """{
"playModes": {
"repeat": false,
Expand All @@ -66,6 +65,7 @@ let playModeToSingle (log:ILogger) accessToken group = task {

()
}

let createOrJoinSession (log:ILogger) accessToken group = task {
let headers = ["Authorization", "Bearer " + accessToken]
let url = sprintf "https://api.ws.sonos.com/control/api/v1/groups/%s/playbackSession" group
Expand Down

0 comments on commit c7c1eb6

Please sign in to comment.