Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MarckTomack committed Jul 15, 2020
1 parent 59c5747 commit 99c9cff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ I will provide more packages and installation types.
# Usage

```
Usage of ./aloneMP:
Usage of aloneMP:
-addr string
aloneMP daemon address (default "127.0.0.1:3777")
-dir string
Directory with audio files (default "~/Music")
-srv string
aloneMP daemon server type (default "tcp")
-tui
run tui client (default true)
-version
show version
```

Expand All @@ -37,9 +41,9 @@ You can pass a directory with audio files:

Or by default it will load audio files from `~/Music`

You need to provide the daemon http server address the default one is 127.0.0.1:3777, same on the daemon
You need to provide the daemon server type and the address, the default one is 127.0.0.1:3777, same on the daemon

Docs for http server and http server it self is under construction
Docs for servers and servers it self is under construction

Supported formats are <b>MP3</b>, <b>FLAC</b>, <b>OGG</b> and <b>WAV</b>

Expand Down
2 changes: 1 addition & 1 deletion app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
var dir *string
var address = flag.String("addr", "127.0.0.1:3777", "aloneMP daemon address")
var tui = flag.Bool("tui", true, "run tui client")
var srv = flag.String("srv", "tcp", "aloneMPd server type")
var srv = flag.String("srv", "tcp", "aloneMP daemon server type")
var ver = flag.Bool("version", false, "show version")

var version string
Expand Down

0 comments on commit 99c9cff

Please sign in to comment.