[DOC] update readme

This commit is contained in:
Edouard DUPIN 2017-04-24 23:00:18 +00:00
parent bf346d2f26
commit 879cb30426
2 changed files with 19 additions and 1 deletions

View File

@ -16,6 +16,24 @@ Start The router interface:
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:
* Single process start:

View File

@ -437,7 +437,7 @@ int main(int _argc, const char *_argv[]) {
zeus::ProxyMedia media = remoteServiceVideo.get(it).waitFor(echrono::seconds(2000)).get();
if (media.exist() == false) {
APPL_ERROR("get media error");
return false;
return -1;
}
std::string name = media.getMetadata("title").wait().get();
std::string serie = media.getMetadata("series-name").wait().get();