This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Antti Ajanki <antti.ajanki@iki.fi>

Project's homepage:          http://users.tkk.fi/~aajanki/vdr/webvideo

Latest version available at: http://users.tkk.fi/~aajanki/vdr/webvideo

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
See the file COPYING for more information.

Description:

The Webvideo plugin allows downloading video files from video sharing
websites, such as YouTube or Google Video, to your hard disk using the
VDR menu interface. This plugin only downloads videos. A separate
plugin is required to play them.

Supported video sites:

* YouTube
* Google Video (only videos hosted on YouTube or Google servers)
* YLE Areena
* SVT Play (Contributed by Lars Olsson. Some of the downloaded videos
  have very poor quality. A fix for libmms is available at
  https://code.launchpad.net/~tonytung/libmms/asf_extended_stream_properties
  but is not included in the current 0.4 release.)

Because of the modular design it is possible to add support for new
sites quite easily. See README.transform for more information.

Requirements:

* VDR 1.6.0 or later
* libcurl (http://curl.haxx.se/)
* libxml and libxslt (http://xmlsoft.org/)
* libmms 0.4 or later (https://launchpad.net/libmms)
* a video player for viewing the downloaded videos, for example
  xineliboutput or mplayer plugin

On Debian these dependencies can be satisfied by installing packages
libcurl3, libxml2, libxslt1.1, libmms0, and optionally either
vdr-plugin-xineliboutput or vdr-plugin-mplayer. For compiling the
plugin the developmental packages vdr-dev, libcurl3-openssl-dev,
libxml2-dev, libxslt1-dev, and libmms-dev are needed, too.

Installation:

cd /put/your/path/here/VDR/PLUGINS/src
tar -xzf /put/your/path/here/vdr-webvideo-X.Y.Z.tgz
ln -s webvideo-X.Y.Z webvideo
cd /put/your/path/here/VDR
make
make plugins
mkdir -p /video/plugins/webvideo
cp -r services/* /video/plugins/webvideo
cp mime.types /video/plugins/webvideo
./vdr -P webvideo

Alternatively, it is possible to build and install a Debian package:

cd /put/your/path/here/VDR/PLUGINS/src
tar -xzf /put/your/path/here/vdr-webvideo-X.Y.Z.tgz
cd webvideo-X.Y.Z
fakeroot debian/rules binary
cd ..
dpkg -i vdr-plugin-webvideo_X.Y.Z-W_i386.deb

Command line parameters:

-d dir, --downloaddir=dir  Save downloaded files to dir. The default
                           path is the VDR video directory.
