mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 11:42:16 +00:00
merge cli examples and the quickstart
This commit is contained in:
parent
325a8829b3
commit
628e0cbe70
34
README.md
34
README.md
@ -29,7 +29,6 @@ For more details, go check the [API implementation status][api].
|
|||||||
+ [Other options](#other-options)
|
+ [Other options](#other-options)
|
||||||
* [Transcoding](#transcoding)
|
* [Transcoding](#transcoding)
|
||||||
* [Command line interface](#command-line-interface)
|
* [Command line interface](#command-line-interface)
|
||||||
+ [Examples](#examples)
|
|
||||||
* [Quickstart](#quickstart)
|
* [Quickstart](#quickstart)
|
||||||
* [Scanner daemon](#scanner-daemon)
|
* [Scanner daemon](#scanner-daemon)
|
||||||
* [Upgrading](#upgrading)
|
* [Upgrading](#upgrading)
|
||||||
@ -328,33 +327,24 @@ Arguments:
|
|||||||
scan Scan a specified folder
|
scan Scan a specified folder
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
|
||||||
|
|
||||||
You can add a new admin user this way:
|
|
||||||
|
|
||||||
$ supysonic-cli user add spl0k -a -p MyAwesomePassword
|
|
||||||
|
|
||||||
To add a new folder, you can use something like this:
|
|
||||||
|
|
||||||
$ supysonic-cli folder add MyLibrary /home/spl0k/Music
|
|
||||||
|
|
||||||
Once you've added it, you will need to scan it:
|
|
||||||
|
|
||||||
$ supysonic-cli folder scan MyLibrary
|
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
To start using Supysonic, you'll first have to specify where your music library
|
To start using Supysonic, you'll first have to specify where your music library
|
||||||
is located and create a user to allow calls to the API.
|
is located and create a user to allow calls to the API.
|
||||||
|
|
||||||
Let's start by creating the user. To do so, use the [command-line interface][cli]
|
Let's start by creating a new admin user this way:
|
||||||
(`cli.py`). For the folder(s) (music library) you can either use the CLI, or go
|
|
||||||
to the web interface if you gave admin rights to the user. Once the folder is
|
|
||||||
created, don't forget to scan it to build the music database (it might take a
|
|
||||||
while depending on your library size, so be patient). Once scanning is done,
|
|
||||||
you can enjoy your music with the client of your choice.
|
|
||||||
|
|
||||||
[cli]: #command-line-interface
|
$ supysonic-cli user add spl0k -a -p MyAwesomePassword
|
||||||
|
|
||||||
|
To add a new folder to your music library, you can do something like this:
|
||||||
|
|
||||||
|
$ supysonic-cli folder add MyLibrary /home/spl0k/Music
|
||||||
|
|
||||||
|
Once you've added a folder, you will need to scan it:
|
||||||
|
|
||||||
|
$ supysonic-cli folder scan MyLibrary
|
||||||
|
|
||||||
|
You should now be able to enjoy your music with the client of your choice!
|
||||||
|
|
||||||
## Scanner daemon
|
## Scanner daemon
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user