summaryrefslogtreecommitdiff
path: root/README
blob: 25d0a9104b6099f19ab8894f2a4fd70fe2a4cd65 (plain)
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
This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Denis Loh <denis.loh@hftl.de>

Project's homepage:          http://upnp.vdr-developer.org

Latest version available at: http://upnp.vdr-developer.org

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.

Please note: This plugin is written under the terms of open source
redistribution by

Hochschule für Telekommunikation Leipzig,
University of Applied Science
Gustav-Freytag-Straße 43-45
04277 Leipzig
Germany
http://www.hft-leipzig.de

All rights reserved.

Contents:

1 Description
2 Dependencies
3 Installation
4 Firewall

Description:

UPnP/DLNA Plugin for Video Disk Recorder

This Plugins extends the VDR with the possibility to act as an UPnP/DLNA Media
Server (DMS). It will serve VDR's contents in the network to any UPnP-AV and
DLNA capable devices.

The plugin requires a valid network connection with a IPv4 address. It will find
its settings automatically by default. In this case, the first network device in
the network device list with a valid IPv4 address and port 49152 will be used
for connections. You can change this behavior either by setting the command line
options or by editing the setup via the VDRs setup page.

Dependencies:

This plugin is tested with and requires the following libraries to work:

libupnp-1.6.6               The UPnP SDK
libsqlite-3.6               SQLite 3 Database
libtntnet-2.0               TNTnet library web server
libtntdb-1.1.1              TNTdb library database connector

boost::spirit               Grammar parser
boost::function             Boost function library
boost::bind                 Boost bind library

The boost libraries are usually available in a packed version, so that only a
single installation is required.

Installation:

To install the plugin and its subplugins you just have to

make
make subplugins

If you want to have icons when you open the server from a client, you have to
copy the httpdocs folder to the configuration directory of the plugin, for
instance:

cp httpdocs /var/lib/vdr/plugins/upnp/

I appreciate, if you help making the plugin better. If you find any project
related errors or missing features, please open a new ticket at the plugin
website with a detailed description of what you want or what happened.

Firewall:

If you want to use the plugin behind a firewall, then you need to open the
following ports:

1900            UDP     SSDP (Simple Service Discorvery Protocol)
2869            TCP     SSDP (Simple Service Discorvery Protocol)
7649            TCP		Web server default port
3000            TCP     Streamdev default port
8001            TCP     Live default port
User defined    TCP     Data

The user defined port may be set automatically by the server or by the user via
the setup or command line options. You need to accept multicast messages from
239.255.255.250, which is used by SSDP to discover other UPnP devices.