[DOC] update readme
This commit is contained in:
parent
bf346d2f26
commit
879cb30426
18
README.md
18
README.md
@ -16,6 +16,24 @@ Start The router interface:
|
|||||||
lutin -cclang -mdebug zeus-package-base?build?run%zeus-router
|
lutin -cclang -mdebug zeus-package-base?build?run%zeus-router
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You need for the current version create your user configuration file...
|
||||||
|
|
||||||
|
Add the file ```~/.local/share/zeus-router/router-database.json``` and edit it:
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"users":[
|
||||||
|
{
|
||||||
|
"name":"User Name A",
|
||||||
|
"path":"/PATH/TO/The/User/PERSONAL/FOLDER_1/"
|
||||||
|
},{
|
||||||
|
"name":"USER_NAME B",
|
||||||
|
"path":"/PATH/TO/The/User/PERSONAL/FOLDER_2/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
You have now multiple choice:
|
You have now multiple choice:
|
||||||
|
|
||||||
* Single process start:
|
* Single process start:
|
||||||
|
@ -437,7 +437,7 @@ int main(int _argc, const char *_argv[]) {
|
|||||||
zeus::ProxyMedia media = remoteServiceVideo.get(it).waitFor(echrono::seconds(2000)).get();
|
zeus::ProxyMedia media = remoteServiceVideo.get(it).waitFor(echrono::seconds(2000)).get();
|
||||||
if (media.exist() == false) {
|
if (media.exist() == false) {
|
||||||
APPL_ERROR("get media error");
|
APPL_ERROR("get media error");
|
||||||
return false;
|
return -1;
|
||||||
}
|
}
|
||||||
std::string name = media.getMetadata("title").wait().get();
|
std::string name = media.getMetadata("title").wait().get();
|
||||||
std::string serie = media.getMetadata("series-name").wait().get();
|
std::string serie = media.getMetadata("series-name").wait().get();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user