blob: 9a2281b48866fecf5569ca28a5aca2b4255239f8 (
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
|
/*! \mainpage Muggle: Usage with postgresql
This is a plugin for the Video Disk Recorder (VDR).
Written by: Andi Kellner,
Lars von Wedel <vonwedel@web.de>,
Ralf Klueber <r@lf-klueber.de>,
Wolfgang Rohdewald <wolfgang@rohdewald.de>
Project's homepage: http://sourceforge.net/projects/vdr-muggle
Latest version available at: http://sourceforge.net/projects/vdr-muggle
See the file COPYING for license information.
\section prereq PREREQUISITES
You will need:
- postgresql client libraries: Debian package postgresql-client
- postgresql server, possibly on another machine: Debian package postgresql
- postgresql-dev for the compilation
Please execute these steps before starting muggle the first time:
(tested on Debian unstable)
1. log in as root
2. su - postgres
3. createuser vdr
4. createdb GiantDisc
Everything else will be done by muggle.
\section install INSTALLING
Adapt the Makefile or Make.config to your system. Define HAVE_PG
HAVE_PG=1
\section SET UP MUGGLE WITH POSTGRESQL
Muggle and mugglei use a small set of parameters in order to control
the interaction with the Postgresql server. Let's look at an example:
\verbatim
-P'muggle -h /tmp -u vdr -t/home/music'
\endverbatim
The -h parameter says to look for a socket in /tmp (this is what I
had to to on Debian unstable).
Start mugglei without arguments to see a list and explanation of
all available options. They can vary slightly depending on the
chosen data base software.
*/
|