client: call Options() automatically

This commit is contained in:
aler9
2022-02-19 22:51:54 +01:00
parent 95117f0aa4
commit bc9be686d9
10 changed files with 45 additions and 69 deletions

View File

@@ -33,12 +33,6 @@ func main() {
}
defer c.Close()
// get available methods
_, err = c.Options(u)
if err != nil {
panic(err)
}
// find published tracks
tracks, baseURL, _, err := c.Describe(u)
if err != nil {