Skip to content

Commit

Permalink
Showing 3 changed files with 9 additions and 4 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

## 0.16.6 - 2018-12-15
## 0.16.8 - 2018-12-15
* Update to ASP.NET 2.2

## 0.15.11 - 2018-11-05
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 = "0.16.6"
let Version = "0.16.8"

let IsPrerelease = false

let Notes = """
# Release Notes
## 0.16.6 - 2018-12-15
## 0.16.8 - 2018-12-15
* Update to ASP.NET 2.2
## 0.15.11 - 2018-11-05
7 changes: 6 additions & 1 deletion src/Server/Server.fs
Original file line number Diff line number Diff line change
@@ -150,14 +150,19 @@ let discoverYoutubeLink (youtubeURL:string) = task {
proc.StartInfo <- startInfo

proc.Start() |> ignore

while not proc.StandardOutput.EndOfStream do
let! line = proc.StandardOutput.ReadLineAsync()
lines.Add line

while not proc.StandardError.EndOfStream do
let! line = proc.StandardError.ReadLineAsync()
lines.Add line

let lines = Seq.toArray lines
let links =
lines
|> Array.filter (fun x -> x.Contains "&mime=audio")
// |> Array.filter (fun x -> x.Contains "&mime=audio")

return youtubeURL,links
}

0 comments on commit b67331e

Please sign in to comment.