Debian Codegraph @

README

raw
1 AMPLE README:
2
3 1. License
4 ----------
5
6 See COPYING in the same dir as this file
7
8
9 2. Installation
10 ---------------
11
12 ./configure
13 make
14 make install
15
16 This should compile and move the binary to a suitable dir (/usr/local/bin).
17 Create a config file (see ample.conf manual page for all available options)
18 and move it to a suitable dir (/usr/local/etc).
19
20 Then start the server with:
21 <dir>/ample
22 or (if you put the config file in a different place):
23 <dir>/ample -f/usr/local/somewhere/ample.conf
24 for example:
25 /usr/local/bin/ample -f/usr/local/somewhere/ample.conf
26
27 This will start AMPLE, and make it a background process.
28
29 Alternatively if you want to use AMPLE trough inetd, add a line like this:
30 <port> "stream" "tcp" "nowait" <user> <path to ample> <executable name and cmd line options>
31 for example:
32 1234 stream tcp nowait david /home/david/cvs/ample/src/ample ample
33
34 For more details, read the ample, ample.conf and ample.html man pages
35 that were installed at the same time as the program itself
36 (they can also be found in the docs dir of the source directory).
37
38 3. Options
39 ----------
40
41 -p, --port=NUMBER which port to listen to, default 1234
42 -o, --order play MP3 files in alphabetical order
43 -c, --clients=NUMBER how many clients are allowed to be connected
44 default 5
45 -n, --norecursive don't index MP3 files in subdirs of the given dir
46 -f, --conffile=FILENAME alternative file to read for config options
47 -m, --htmlfile=FILENAME file to use as template for HTML output
48 -h, --help display this help and exit
49 -d, --debug[=NUMBER] debug messages will be printed
50 higher number means more detail
51 -t, --trace no forking, no backgrounding
52 helpful when debugging
53 -v, --version output version information and exit
54
55
56 4. Notes
57 --------
58
59 AMPLE can use three kinds of paths to build it's index of MP3 files:
60
61 o Directories
62 Will be scanned (possibly recursively) for MP3 files.
63
64 o MP3 files
65 The single file will be added.
66
67 o M3U (playlist) files
68 All MP3 files listed in the playlist (that are found) are added.
69
70 You can connect with a web browser to an URL ending with index.html
71 and (if it exists) Ample will generate a listing of available files.
72
73 You can also connect with a web browser to an URL ending with
74 info.html and Ample will generate a status page.
75
76 All default paths (for log files, config files, etc) can be set using
77 command line options to the "configure" script.
78
79 For clients that support it, AMPLE now sends ShoutCast-type metadata
80 (songtitles that is), this is tested and should work on (at least)
81 XMMS and WinAmp.
82
83 To enable ShoutCast-type metadata in XMMS, make sure the following
84 setting is checked:
85
86 Options->Preferences->MPEG Layer 1/2/3 Player->Configure->
87 Streaming->Enable SHOUT/Icecast streaming
88
89 If not, you will only see something like http://localhost:1234
90 in the song title window.
91
92
93 5. Bugs
94 -------
95
96 Quite a few probably, too radical changes right now.
97
98
99 6. Other
100 --------
101
102 For other info, see http://ample.sf.net/