From 02296fa8d7aec88dbfaafa01d64798c6d2a09e18 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sat, 29 May 2021 17:47:45 +0300 Subject: [PATCH] Update README --- README | 36 +++++++++++++++++++++++++++++++----- satip.c | 27 +++++++++++++++++++++++++-- 2 files changed, 56 insertions(+), 7 deletions(-) diff --git a/README b/README index 61c70db..e3e1643 100644 --- a/README +++ b/README @@ -47,12 +47,38 @@ be received, if there are available SAT>IP tuners. The plugin accepts also a "--server" (-s) command-line parameter, that can be used to manually configure static SAT>IP servers if autodetection -via UPnP somehow can't be used. The parameter string is a semicolon -separated list of "||" entries. The model -consists of a DVB system (DVBS2,DVBT2,DVBT,DVBC) and number of available -frontends separated by a hyphen: +via UPnP somehow can't be used. Multiple service entries can be given +separated by a semicolon: + +[@][:]|[:]|[:];... + +- srcaddress (Optional) Source address can be used to define used + networking interface on a host, e.g. 127.0.0.1. +- ipaddress IP address of SAT>IP server, e.g. 127.0.0.1. +- port (Optional) IP port number of SAT>IP server, e.g 443. +- model Model defines DVB modulation system (DVBS2, + DVBT2, DVBT, DVBC) and number of available + frontends separated by a hyphen, e.g. DVBT2-4. +- filter (Optional) Filter can be used to limit satellite frontends + to certain satellite position, e.g. S19.2E. +- description Friendly name of SAT>IP server. This is used + for autodetection of quirks. +- quirk (Optional) Quirks are non-standard compliant features and + bug fixes of SAT>IP server defined by a + hexadecimal number. Multiple quirks can be + defined by combining values by addition: + + 0x01: Fix session id bug + 0x02: Fix play parameter (addpids/delpids) bug + 0x04: Fix frontend locking bug + 0x08: Support for RTP over TCP + 0x10: Support the X_PMT protocol extension + 0x20: Support the CI TNR protocol extension + 0x40: Fix auto-detection of pilot tones bug + 0x80: Fix re-tuning bug by teardowning a session + +Examples: -vdr -P 'satip -s [@][:]|[:]|[:];...' vdr -P 'satip -s 192.168.0.1|DVBS2-2,DVBT2-2|OctopusNet' vdr -P 'satip -s 192.168.0.1|DVBS2-4|OctopusNet;192.168.0.2|DVBT2-4|minisatip:0x18' vdr -P 'satip -s 192.168.0.1:554|DVBS2-2:S19.2E|OctopusNet;192.168.0.2:8554|DVBS2-4:S19.2E,S1W|minisatip' diff --git a/satip.c b/satip.c index 433952f..63f79ac 100644 --- a/satip.c +++ b/satip.c @@ -85,8 +85,31 @@ const char *cPluginSatip::CommandLineHelp(void) // Return a string that describes all known command line options. return " -d , --devices= set number of devices to be created\n" " -t , --trace= set the tracing mode\n" - " -s ||, --server=||;:|:|:\n" - " define hard-coded SAT>IP server(s)\n" + " -s ||, --server=[@][:]|[:]|[:];...\n" + " define hard-coded SAT>IP server(s)\n\n" + " srcaddress (Optional) Source address can be used to define used\n" + " networking interface on a host, e.g. 127.0.0.1.\n" + " ipaddress IP address of SAT>IP server, e.g. 127.0.0.1.\n" + " port (Optional) IP port number of SAT>IP server, e.g 443.\n" + " model Model defines DVB modulation system (DVBS2,\n" + " DVBT2, DVBT, DVBC) and number of available\n" + " frontends separated by a hyphen, e.g. DVBT2-4.\n" + " filter (Optional) Filter can be used to limit satellite frontends\n" + " to certain satellite position, e.g. S19.2E.\n" + " description Friendly name of SAT>IP server. This is used\n" + " for autodetection of quirks.\n" + " quirk (Optional) Quirks are non-standard compliant features and\n" + " bug fixes of SAT>IP server defined by a\n" + " hexadecimal number. Multiple quirks can be\n" + " defined by combining values by addition:\n\n" + " 0x01: Fix session id bug\n" + " 0x02: Fix play parameter (addpids/delpids) bug\n" + " 0x04: Fix frontend locking bug\n" + " 0x08: Support for RTP over TCP\n" + " 0x10: Support the X_PMT protocol extension\n" + " 0x20: Support the CI TNR protocol extension\n" + " 0x40: Fix auto-detection of pilot tones bug\n" + " 0x80: Fix re-tuning bug by teardowning a session\n" " -D, --detach set the detached mode on\n" " -S, --single set the single model server mode on\n" " -n, --noquirks disable autodetection of the server quirks\n"