Skip to content

Commit

Permalink
Bumping version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Dec 21, 2018
1 parent f04ee57 commit 2803e3e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 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.0.5 - 2018-12-21
## 1.0.6 - 2018-12-21
* Christmas edition

## 0.16.25 - 2018-12-18
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.0.5"
let Version = "1.0.6"

let IsPrerelease = false

let Notes = """
# Release Notes
## 1.0.5 - 2018-12-21
## 1.0.6 - 2018-12-21
* Christmas edition
## 0.16.25 - 2018-12-18
Expand Down
14 changes: 14 additions & 0 deletions src/Server/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,18 @@ let youtubeEndpoint =
pipeline {
set_header "Content-Type" "application/json"
plug (fun next ctx -> task {

let! tags = getAllTags()
for tag in tags do
match tag.Action with
| TagAction.PlayYoutube url ->
let! _,urls = discoverYoutubeLink url
let urls =
urls
|> Array.filter (fun x -> x.Contains "&mime=audio")
let! _ = saveLinks tag urls
()
| _ -> ()
let! _,urls = discoverYoutubeLink "https://www.youtube.com/watch?v=DeTePthFfDY"
let txt = sprintf "%A" urls
return! setBodyFromString txt next ctx
Expand Down Expand Up @@ -261,4 +273,6 @@ let discoverTask = task {
return ()
}

discoverTask.Start()

run app

0 comments on commit 2803e3e

Please sign in to comment.