1/////////////////////////////////////////////////////////////
2//               ____                                      //
3//              /\  _`\   _  Backuping tool for webradios  //
4//           ___\ \ \L\ \/\_\     __      __               //
5//          /'___\ \ ,__/\/\ \  /'_ `\  /'__`\             //
6//         /\ \__/\ \ \/  \ \ \/\ \L\ \/\  __/             //
7//         \ \____\\ \_\   \ \_\ \____ \ \____\            //
8//          \/____/ \/_/    \/_/\/___L\ \/____/            //
9//                                /\____/                  //
10//   (c)      Laurent Coustet     \_/__/                   //
11// ------------------------------------------------------- //
12//                                                         //
13// This is cPige config file example                       //
14// Lines starting with // are ignored. They are comments.  //
15// cPige was written by Laurent Coustet <ed@debian-fr.net> //
16// ------------------------------------------------------- //
17// Available at http://ed.zehome.com/?page=cpige           //
18/////////////////////////////////////////////////////////////
19
20/////////////////////////////////////////////////////////////
21////////////                 HELP               /////////////
22
23// Many of the config options are boolean
24// The could be Enabled (1) or Disabled (0).
25// You must not specify "false" "disabled "true" or "enabled"
26// in all parameters below. You must use "1" or "0" to enable
27// or disable a boolean option. Defaults are shown just
28// before the option in comment sections.
29//
30// Enjoy using cPige!
31
32
33////////////////////////////////////////////////////////////
34////////////        Streams Configuration       ////////////
35
36// You could specify as many stream as you want.
37// Defining multiple streams is good for safety as if
38// a server is going down, cPige will try to connect
39// to another server.
40
41url = "http://insomnie.relay.frequence3.net:8000/"
42url = "http://liberta.relay.frequence3.net:8000/"
43url = "http://ganymede.relay.frequence3.net:8000/"
44url = "http://clubby.relay.frequence3.net:8000/"
45
46////////////////////////////////////////////////////////////
47////////////           Save directory           ////////////
48
49// Where should I store data ?
50//savedirectory = "/home/ed/frequence3/"
51savedirectory = "./"
52
53// Should I backup a complete week of work ?
54// (Disabled by default)
55weekbackup = 0
56
57// Where to store log file ?
58logfile = "./cpige.log"
59
60////////////////////////////////////////////////////////////
61////////////         Pige mode options          ////////////
62
63// Enable/Disable pige Mode
64// (Disabled by default)
65pigemode   = 0
66
67// Do you want cpige to write id3 tags (for mp3 only) when
68// running into pige mode ?
69// (Enabled by default)
70pigemeta   = 1
71
72// Thoses options will let you choose how cPige will cut
73// the stream. They are only revelent if pigemode is enabled
74
75// What type of cut you want ?
76//
77// h => Hour based cut
78// m => Minute based cut
79//
80// (m is the default)
81cuttype   = "m"
82
83// How many hour(s)/minute(s) to backup ?
84// (depends of cuttype)
85// (30 minutes is the default)
86cutdelay  = 30
87
88
89////////////////////////////////////////////////////////////
90////////////          General options           ////////////
91
92// Locale settings
93// ONLY FOR UNIX systems.
94// This could be defined to change directories name created
95// in weekbackup mode (pige mode).
96// (Default C) (Example: fr_FR)
97locale = "C"
98
99// Setting this option will prevent cpige from writing
100// to standard output the status of the backup.
101// (This option is turned 1 when running in background)
102// ONLY FOR UNIX
103// (Disabled by default)
104quietmode  = 0
105
106// Do you want cpige to run in background ? (as a daemon)
107// (Disabled by default)
108background = 0
109
110// Should cPige add nnnnn - Artist - Title to
111// filenames saved with pige mode disabled.
112// (Disabled by default)
113usenumbers = 0
114
115// Where should I write my pid file ?
116// Only for UNIX systems
117pidfile = "/var/run/cpige.pid"
118
119// Do you want to skip some songs before cPige backup them ?
120// (Default is 0)
121skipsongs = 0
122
123// Some webradios are setting up a system informing you
124// on the next song that will be played.
125// To help cpige avoiding cutting songs in non pige mode
126// as the songtitle changed, you should define this variable
127// (Default to "A suivre")
128nexttitle = "A suivre"
129
130// If you want you could tell cPige to stop after "n" hours or "minutes"
131// To do so, uncomment the following line
132//
133//timetostop = "1m"
134