ample.conf - configuration file for Ample
This file, by default /etc/ample.conf, is read by Ample at startup. There are three categories of values than can be defined: strings, numbers and boolean values. Valid boolean values are (case insensitive) yes, no, true and false. Lines that start with # are considered to be comments and ignored.
# An example of a Ample config file # # Port number to use port = 1234 # Should files be ordered when playing a mixed stream? order = true # Amount of simultaneous clients allowed clients = 5 # Path to logfile if syslog isn't used logfile = /var/log/ample # Path(s) to MP3 dir/file or M3U file mp3path = /home/mp3 mp3path = /home/moremp3/zztop.mp3 mp3path = /home/favourites.m3u # Path to the HTML file to use as a template htmlfile = /etc/ample.html # Should the MP3 dir(s) be recursively scanned? recursive = true # Name of the server # (displayed to clients here and there) servername = Ample # Address of the server # (only if your server can't be resolved) serveraddress = 192.168.0.1 # Username and password, if these are specified, Ample # will automatically ask for username/password username = MusicLover password = Pekaboo # Filter to pass each music file through # (before they are sent to the client) filter = /usr/bin/lame -b64 --quiet "@FPATH@" - # The end
port=NUM Listen to TCP port NUM, default is 1234. order=BOOL When a list of files is requested, and this option is TRUE, play them in alphabetical order. clients=NUM Allow a maximum of NUM clients to be connected at the same time. logfile=FILE Use FILE as logfile if syslogd(8) isn't used. mp3path=PATH These are path(s) to files or directories that Ample can use to populate it's list of MP3's. If PATH is a directory, all files (possibly recursively, see the -n option above) will be added. If PATH is a regular file ending with .mp3 it will be added and if it is a regular file ending with .m3u (MP3 playlist) the files listed in it will be added. You can specify several paths by adding several mp3path=PATH lines to this config file. htmlfile=FILE This is the path to the file which Ample should use as it's base for creating HTML pages. See ample.html(5) for more information. recursive=BOOL If TRUE, all directories that Ample index:es will be scanned recursively (meaning that all subdirs will be checked for files as well) servername=STRING The name of the server will be set to STRING instead of "Ample" (the servername is displayed to clients in various places). serveraddress=STRING STRING should be the IP address of the server where Ample is run. This is only needed if DNS resolving your server, for some reason, doesn't work. username=STRING If both username and password is specified in the config file, HTTP authentication will be enabled. This means that if a client wants to connect to ample, it must do so with a username and password in order to be granted acccess. If username or password is missing, HTTP authentication will be disabled. password=STRING See the description of username above. filter=STRING Specifies an optional filter to run each file through before it is sent to the client. As an example, this could be used to downgrade the bitrate of a music file if you have a lousy net connection but lots of CPU cycles to spare. If STRING contains the word @FPATH@ it will be replaced with the absolute path of the file.
David Hrdeman <david@2gen.com>
ample(1), ample.html(5)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.