Access via ssh

When loading the data from your VDR, some data is loaded using shell commands. This is necessary because not all data can be retrieved via SVDRP. The connection to the VDR is encrypted via an ssh connection. The app is thus given access to the VDR and can execute command line commands.

All command line commands are executed with the rights of the user entered by you in iVDRclient settings.

The following is a list of the commands used when using iVDRclient on your computer.

Reading out the recording directory

The recording directory is scanned and the found titles and info are loaded into the app. The following commands are used:

ps aux

for determining the video directory passed to the VDR

find /video0/ -name "*.rec"

for determining all recording titles ("/ video0" in this example)

cat $AUFNAHMEVERZEICHNIS/info

for reading the description

Loading the Channel Logos

mkdir $WEBSERVERDIRECTORY/logo

to create a directory from which the logos can be loaded.

find $LOGODIRECTORY -name "*.xpm"

To search for existing log files

/usr/bin/convert

For converting the format from xpm -> jpg

During the conversion of the format, the logos are temporarily stored in "/tmp", then copied to the above directory and finally deleted from "/tmp".

A file with the names of all available log files is created in the above directory to complete the process:

if [ -f $WEBSERVERDIRECTORY/$LOGOLIST ]; then rm $WEBSERVERDIRECTORY/$LOGOLIST; fi; echo `ls $LOGODIRECTORY` > $WEBSERVERDIRECTORY/$LOGOLIST 2>&1

Free disk space

df -h $WEBSERVERDIRECTORY

Query the VDR streamdev-plugin availability

echo "" |telnet $HOSTIP %PORT

HTTP Live-Streaming using VLC

VLC creates files in the web server directory.

Log-Output is stored in "/tmp/vlc.output".

ps aux |grep vlc

to check whether the desired stream has been started.

find $WEBSERVERDIRECTORY -name "*.rec.m3u8"

Searches for available playlists (HTTP live streams launched by iVDRclient).

When stopping streams all files created by VLC will be deleted:

rm $WEBSERVERDIRECTORY/$PATHTOSTREAM/$STREAMNAME*

 


Privacy

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.