Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 12 times, last edit by "Phill" (Mar 4th 2012, 1:18pm)
Quoted
Software error:
Can't locate HTML/Entities.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /var/www/cgi-bin/ivdr.pl line 29.
BEGIN failed--compilation aborted at /var/www/cgi-bin/ivdr.pl line 29.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
/etc/apache2/sites-enabled# cat 000-default
<VirtualHost *:81>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
|
This post has been edited 1 times, last edit by "henfri" (Mar 23rd 2011, 8:46pm)
Quoted
apt-get install libhtml-parser-perl
This post has been edited 1 times, last edit by "Phill" (Mar 23rd 2011, 9:14pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# Configurationfile iVDR Version 0.3.0a8
# -----------------------------------< Main-Settings >-------------------------------------------------------------------------------------------------
$host = "VDR"; # Just a name
$hostname = "localhost"; # Hostname od. IP-Addr
$weburl = "/var/www/ivdr"; # URL of www files.
$tempdir = "/tmp/"; # Temporary Directory
# @conf_files = ("xbmc.conf", "xlopclient.conf"); # Configurationfiles for other hosts. Deactivate with #
$scroll = "yes"; # Smooth Scrolleffect.
# $atprocess = "/usr/bin/at"; # Location of the at Programm.
# $panic_script = ""; # Shellscript on SVDRP Error. Example: Restart the VDR or WakeOnLAN a client
$mediathek = "yes"; # Mediathek on/off. (Experimental).
# $debug = 1;
# -----------------------------------< Character-Settings >-------------------------------------------------------------------------------------------------
$binmodeutf8 = "no"; # ( yes; no )
$charset = "ISO-8859-1"; # ( utf-8; ISO-8859-1 )
# -----------------------------------< VDR-Settings >-------------------------------------------------------------------------------------------------
$port = "6419"; # Port of SVDRP connection
$channels = "/var/lib/vdr/channels.conf"; # Location of channels.conf ( "LOCAL" ) or empty for SVDRP Channels
$usecategory= "yes"; # Activate channelcategory. Only if channels.conf is located.
$videodir = "/srv/vdr/video.00"; # Location of VDR-Records ("LOCAL" ). For length calculating.
$fps = 25; # Typical Framerate 25 PAL / 29.97 NTSC
$epgimages = "/var/cache/vdr/epgimages"; # Location of EPG Images ( "LOCAL" )
# $fav_hours = "72"; # Number of hours, to show favorites. Default 24.
# $maxchannels= 120; # Number of maximum Channels. Default 99.
# $pre_switch_time = 60; # Seconds before Switchtimer switch the channel
# @predefineddirs = ("Movies", "iPod", "MTV~Clips"); # Predefined directories for records
# Remote Settings
$volumemin = "0"; # Lowest volume in remote
$volumemax = "255"; # Highest volume in remote. Set this to 100 for XBMC Support
$USER1 = 'USER1'; # Userbutton text
$USER2 = 'USER2';
$USER3 = 'USER3';
$USER4 = 'USER4';
$USER5 = 'USER5';
$USER6 = 'USER6';
$USER7 = 'USER7';
$USER8 = 'USER8';
$USER9 = 'USER9';
# Uncomment this if xineliboutput is Mediaplayer
#
#$music{play} = "plug+xineliboutput+PMSC+";
#$music{add} = "";
#$video{play} = "plug+xineliboutput+PMDA+";
# Uncomment this if XBMC is Mediaplayer
#
#$keyparam = "http://192.168.178.28:8080/xbmcCmds/xbmcHttp?command=Action¶meter=";
#$scriptname = "http://192.168.178.28:8080/xbmcCmds/xbmcHttp?";
#$music{action} = "command=";
#$music{play} = ["ClearPlayList","PlayFile¶meter="];
#$music{add} = ["SetCurrentPlaylist(0)", "AddToPlayList¶meter="];
#%video=%music;
#$video{add}=0;
#$actualplay{command} = $scriptname."command=getcurrentlyplaying";
#$actualplay{regex} = "Filename:(.*?)\n";
#$volumemin = "0";
#$volumemax = "100";
#$dialogkeys = "xbmcremote.pl";
# -----------------------------------< Mediatypes >--------------------------------------------------------------------------------------------------
#
# Folder Settings ( "LOCAL" )
# The following settings can be disabled with: # Comment every line
# Format: ("DIR1", "DIR2",...);
@musicdir = ( # Musicdirectory (s)
"/mnt/media/music/", # Directories also have to registered in mp3sources.conf
"/other/album/",
{dir=>"/another/one/with/special/wishes/", pat=>"\.m3u", rek=>0}
);
$musicpat = '\.(m3u|mp3)$'; # (Regular Expression possible )
@radiodir = ( # Radio Directory (s) of the PLS files
"/mnt/media/radio-streams/"
);
$radiopat = '\.(pls|m3u)$';
@mplayerdir = ( # Mplayer Directory (s)
"/mnt/media/pod/os/media/podcasts/",
"/var/lib/video/film/"
);
$mplayerpat = '\.(3gp{1,2}|mp[g4v]|mpeg|ogg|wmv|avi|iso|mkv)$';
# -----------------------------------< Stream Settings >------------------------------------------------------------------------------------------
# Streaming Settings
%stream = (
"ffmpeg" => "/var/www/istreamdev/bin/ffmpeg", # Location of ffmpeg
"name" => ["iPad SD", "iPad HD", "iPhone", "extern"], # Name of streamtypes
"vb" => ["1024k", "1536k", "512k", "350k"], # Videobitrate
"ab" => ["128k", "128k", "128k", "64k"], # Audiobitrate
"res" => ["704x576", "1024x768", "480x320", "408x272"], # Resolution
"localdir" => "../ram/", # Workdirectory. Must writeable.
"exportdir" => "/mnt/video/encoded/", # Directory to save the Streams. Also writeable.
"wwwdir" => "/data/iphone/istreamdev/ram/", # URI to Workdirectory
"seg" => "/var/www/istreamdev/segmenter/segmenter", # Location of segmenter script
"live" => "http://127.0.0.1:3000/TS/" # Livestreamtype
);
# -----------------------------------< vdrTube Settings >------------------------------------------------------------------------------------------
@vdrtube = ( # List of vdrTube media. Empty to disable.
"/mnt/media/vdrtube/vdrtube-0.2.3b/webtree/",
"/mnt/media/vdrtube/cut/webtree/",
"/mnt/media/vdrtube/podsync/webtree/"
);
# -----------------------------------< Settings for new Timer >-----------------------------------------------------------------------
# Predefined times for " Whats at "
@schedtime = ("1300","1330","1400","1430","1500","1530","1600","1630","1700","1730","1800","1830","1900","1930","2000","2030","2100","2130","2230","2330","0000","0030","0100","0130");
%newtimer=(
"vorlauf" => "120", # Lead for new timers in seconds. Disable with 0. Default 120 => 2min
"nachlauf" => "600", # "
"priority" => "60", # double digits: at 08 or 00 requires
"lifetime" => "99", # "
"stddir" => "iVDR~" # Prefix for timers.
);
# -----------------------------------< User defined plugins/links >-----------------------------------------------------------------------
@ownmenus = (
{name=>"Downloads", link=>"/cgi-bin/downloads.pl"},
{name=>"eBooks", link=>"/eBooks/"}
|

This post has been edited 2 times, last edit by "pandel" (Mar 24th 2011, 1:23am)

|
|
Source code |
1 |
SESSION=`basename $SESSION` |

This post has been edited 1 times, last edit by "pandel" (Mar 24th 2011, 10:09am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# -----------------------------------< Stream Settings >------------------------------------------------------------------------------------------ # Streaming Settings %stream = ( "ffmpeg" => "/var/www/istreamdev/bin/ffmpeg", # Location of ffmpeg "name" => ["iPad SD", "iPad HD", "iPhone", "extern"], # Name of streamtypes "vb" => ["1024k", "1536k", "512k", "350k"], # Videobitrate "ab" => ["128k", "128k", "128k", "64k"], # Audiobitrate "res" => ["704x576", "1024x768", "480x320", "408x272"], # Resolution "localdir" => "/var/www/istreamdev/ram/", # Workdirectory. Must writeable. "exportdir" => "/var/www/istreamdev/ram/", # Directory to save the Streams. Also writeable. "wwwdir" => "/istreamdev/ram/", # URI to Workdirectory "seg" => "/var/www/istreamdev/segmenter/segmenter", # Location of segmenter script "live" => "http://127.0.0.1:3000/TS/" # Livestreamtype ); |
This post has been edited 2 times, last edit by "omek" (Mar 24th 2011, 5:26pm)
|
|
Source code |
1 2 3 4 |
# librabries for this event for ffmpeg set to the specific ones! LD_LIBRARY_PATH="/var/www/istreamdev/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH ldconfig |
This post has been edited 1 times, last edit by "omek" (Mar 24th 2011, 5:57pm)
This post has been edited 1 times, last edit by "Phill" (Mar 24th 2011, 10:41pm)

|
|
Source code |
1 |
[Fri Mar 25 16:22:56 2011] [error] [client 192.168.178.30] Streamcommand: /usr/lib/cgi-bin/iVDR_dev//istream.sh - "" 1024k 128k 704x576 /ram/session2 1260 /usr/src/ffmpeg/ffmpeg /usr/local/bin/segmenter /dev/shm/ram/session2 /var/lib/video/Comedy/Futurama/2010-10-24.17.03*.rec/0*, referer: http://geomedia/idev |