# /etc/conf.d/vdr.satip:

# Configuration:

# The plugin accepts a "--devices" (-d) command-line parameter defaulting
# to one. This parameter defines how many simultaneous transponders can
# 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 "<ipaddress>|<model>|<description>" entries. The model
# consists of a DVB system (DVBS2,DVBT2,DVBT,DVBC) and number of available
# frontends separated by a hyphen:

#   vdr -P 'satip -s <ipaddress>|<model>|<description>;...'
#   vdr -P 'satip -s 192.168.0.1|DVBS2-2,DVBT2-2|Octo1'
#   vdr -P 'satip -s 192.168.0.1|DVBS2-4|Octo1;192.168.0.2|DVBT2-4|Octo2'

# Some SAT>IP tuners need quirks, which the plugin tries to autodetect.
# Check vdr log for lines like "SATIP: Adding server" what devices are found
# and added.
# If this autodetection is not enough, quirks can be overridden with a hexadecimal
# number behind the description:

#   vdr -P 'satip -s 192.168.0.1|DVBS2-2,DVBT2-2|EXIP414:0x40'

# available quirks:
#   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
#
# the quirks parameter must be the summary of the single quirks needed

# Warning: specify <description> always without spaces - the gentoo vdr framework
# will break parameters

# other parameters:
#
#  -c, --caids=<CAM1_ID1>[,<CAM1_ID2,...][;<CAM2_ID1>[,<CAM2_ID2>,...]]
#                                set the CAIDs of up to 4 CAMs
#  -d <num>, --devices=<number>  set number of devices to be created
#  -t <mode>, --trace=<mode>     set the tracing mode
#  -D, --detach                  set the detached mode on
#  -S, --single                  set the single model server mode on
#  -n, --noquirks                disable autodetection of the server quirks
#  -N, --nodisconnect            disable disconnect for idle streams
#  -p, --portrange=<start>-<end> set a range of ports used for the RT[C]P server
#                                a minimum of 2 ports per device is required.
#  -r, --rcvbuf                  override the size of the RTP receive buffer in bytes

# no default parameters
# uncomment the next line and add your personal settings,
# depend on the infos from ahead

#_EXTRAOPTS="-d 2 -s 192.168.0.1|DVBS2-2|Octo1"
