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:
for determining the video directory passed to the VDR
find /video0/ -name "*.rec"
for determining all recording titles ("/ video0" in this example)
for reading the description
Loading the Channel Logos
to create a directory from which the logos can be loaded.
find $LOGODIRECTORY -name "*.xpm"
To search for existing log files
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: