Howto: savvy inkl OSD Bedienung
- catweazle
- Geschlossen
-
-
Hi Cat,
hast' es ja doch hinbekommen ! Meinen Glückwunsch !
Gruß
Marcedi
-
wenn ich was will, wird das auch irgendwann:)
thx
Cat -
Danke für die Anleitung@catweazle
Hier das ganze dann noch mal als script, was etwa 90% der Arbeit abnimmt..
___________________________
#/bin/sh
WGET=$(which wget)
mkdir -p /usr/src/savvy_install
cd /usr/src/savvy_install
if [ "$WGET" = "" ] ; then
if [ ! -e wget-1.9.tar.gz ] ; then
clear
echo "wget is not installed. Please download it from"
echo " http://ftp.gnu.org/gnu/wget/wget-1.9.tar.gz and"
echo " place it into /usr/src/savvy_install."
exit 1
else
tar xfz wget-1.9.tar.gz
cd wget-1.9
./configure
make
if [ ! -e src/wget ] ; then
echo "$0: compiling wget failed"
exit 1
fi
make install
cd ..
WGET=$(which wget)
fi
fi
LAME=$(which lame)
if [ "$LAME" = "" ] ; then
clear
echo "lame is not installed. Please download it from"
echo " http://lame.sourceforge.net/ and install it."
exit 1
fi
MPLAYER=$(which mplayer)
if [ "$MPLAYER" = "" ] ; then
clear
echo "mplayer is not installed. Please download it from"
echo " http://mplayerhq.hu and install it."
exit 1
fi
SOURCES="http://libmpeg2.sourceforge.net/files/mpeg2dec-0.3.1.tar.gz \
http://www1.cs.columbia.edu/~c…ze/normalize-0.7.6.tar.gz \
http://cesnet.dl.sourceforge.n…orge/savvy/savvy-0.12.tgz"
PACKAGES="mpeg2dec-0.3.1.tar.gz normalize-0.7.6.tar.gz savvy-0.12.tgz"
for src in $SOURCES do ; do
echo "*** DOWNLOADING $src ***"
wget -v -c -a wget.log $src
done
for pkg in $PACKAGES ; do
echo "*** UNPACKING $pkg ***"
tar xfz $pkg
done
ln -s mpeg2dec-0.3.1 savvy.0.12
MPEG2DEC=$(which mpeg2dec)
cd mpeg2dec-0.3.1; ./configure; make; cd ..
if [ "$MPEG2DEC" = "" ] ; then
echo "*** INSTALLING mpeg2dec ***"
echo "press any key to continue"
read
cd mpeg2dec-0.3.1; make install; cd ..
else
echo "*** mpeg2dec is already installed. skipping."
fi
NORMALIZE=$(which normalize)
if [ "$NORMALIZE" = "" ] ; then
echo "*** INSTALLING normalize ***"
echo "press any key to continue"
read
cd normalize-0.7.6; ./configure; make; make install; cd ..
else
echo "*** normalize is already installed. skipping."
fi
if [ ! -e /usr/share/savvy.0.12/savvy ] ; then
echo "*** INSTALLING savvy ***"
echo "press any key to continue"
read
cd savvy.0.12; ./compile; cd ..
if [ -e savvy.0.12/savvy ] ; then
cp -r savvy.0.12 /usr/share
echo "*** savvy successfully installed."
fi
else
echo "*** savvy is already installed. skipping."
fi# path to vdr, will change with your distri
# VDR_CMD=usr/share/vdr/command-hooks
VDR_CMD=/etc/vdr/commands.conf# echo "Get_the_Clip konvertieren (savvy) ... : true" >> $VDR_CMD
echo "-Get_the_clip liste laden : cd /usr/share/savvy.0.12;rm gettheclip.html;\
wget http://www.vivaplus.tv/gettheclip.html" >> $VDR_CMD
echo "-Get_the_clip wandeln: /usr/share/savvy.0.12/startsavvy" >> $VDR_CMDecho "#!/bin/bash" > /usr/share/savvy.0.12/startsavvy
echo "# at now <<EOF" >> /usr/share/savvy.0.12/startsavvy
echo " cd /usr/share/savvy/" >> /usr/share/savvy.0.12/startsavvy
echo " /usr/share/savvy/savvy -vv \$1/ >/dev/null" >> /usr/share/savvy.0.12/startsavvy
echo " svdrpsend.pl MESG Clip-konvertierung beendet!" >> /usr/share/savvy.0.12/startsavvy
echo "# EOF" >> /usr/share/savvy.0.12/startsavvy
chmod +x /usr/share/savvy.0.12/startsavvy -
klasse!!
Danke
Cat
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!