From 879cb30426337765c0489dff216c19c775289232 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 24 Apr 2017 23:00:18 +0000 Subject: [PATCH] [DOC] update readme --- README.md | 18 ++++++++++++++++++ .../cli-video/appl/main-tool-client-video.cpp | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd80495..16d8f0c 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/tools/cli-video/appl/main-tool-client-video.cpp b/tools/cli-video/appl/main-tool-client-video.cpp index c8620e1..9813a67 100644 --- a/tools/cli-video/appl/main-tool-client-video.cpp +++ b/tools/cli-video/appl/main-tool-client-video.cpp @@ -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();