· 9 years ago · Jan 05, 2017, 03:00 AM
1;#<?php exit(); ?>##
2;#########################################################
3; General Config #
4;#########################################################
5
6; This value is used to detect quickly
7; if this config file is up to date
8; this is compared against a value hard-coded
9; into the init script
10config_version = 34
11
12;#########################################################
13; Path Vars #
14;#########################################################
15
16; The public http host of your server.
17; If not set, retrieved automatically from client request.
18; This setting is required for WebSocket server
19; DEFAULT: ""
20;http_host = "localhost"
21
22; The public http port of your server.
23; If not set, retrieved automatically from client request.
24; DEFAULT:
25;http_port = 80
26
27; The public path to your ampache install
28; Do not put a trailing / on this path
29; For example if your site is located at http://localhost
30; than you do not need to enter anything for the web_path
31; if it is located at http://localhost/music you need to
32; set web_path to /music
33; DEFAULT: ""
34web_path = "/ampache"
35
36; The local http url of your server.
37; If not set, retrieved automatically from server information.
38; DEFAULT: ""
39local_web_path = "http://localhost/ampache"
40
41
42;#########################################################
43; Database #
44;#########################################################
45
46; Hostname of your database
47; For socket authentication, set the path to socket file (e.g. /var/run/mysqld/mysqld.sock)
48; DEFAULT: localhost
49database_hostname = "localhost"
50
51; Port to use when connecting to your database
52; DEFAULT: none
53database_port = ""
54
55; Name of your ampache database
56; DEFAULT: ampache
57database_name = "ampache"
58
59; Username for your ampache database
60; DEFAULT: ""
61database_username = "ampache"
62
63; Password for your ampache database, this can not be blank
64; this is a 'forced' security precaution, the default value
65; will not work (except if using socket authentication)
66; DEFAULT: ""
67database_password = "ampache"
68
69
70;#########################################################
71; Session and Security #
72;#########################################################
73
74; Cryptographic secret
75; This MUST BE changed with your own secret key. Ampache-specific, just pick any random string you want.
76secret_key = "c124befbe27803be1fd2f28ac0eabb4ffeb82b06d00e7c61438c6cc74f2620"
77
78; Length that a session will last expressed in seconds. Default is
79; one hour.
80; DEFAULT: 3600
81session_length = 3600
82
83; Length that the session for a single streaming instance will last
84; the default is two hours. With some clients, and long songs this can
85; cause playback to stop, increase this value if you experience that
86; DEFAULT: 7200
87stream_length = 7200
88
89; This length defines how long a 'remember me' session and cookie will
90; last, the default is 86400, same as length. It is up to the administrator
91; of the box to increase this, for reference 86400 = 1 day,
92; 604800 = 1 week, and 2419200 = 1 month
93; DEFAULT: 604800
94remember_length = 604800
95
96; Name of the Session/Cookie that will sent to the browser
97; default should be fine
98; DEFAULT: ampache
99session_name = ampache
100
101; Lifetime of the Cookie, 0 == Forever (until browser close) , otherwise in terms of seconds
102; If you want cookies to last past a browser close set this to a value in seconds.
103; DEFAULT: 0
104session_cookielife = 0
105
106; Is the cookie a "secure" cookie? This should only be set to 1 (true) if you are
107; running a secure site (HTTPS).
108; DEFAULT: 0
109session_cookiesecure = 0
110
111; Auth Methods
112; This defines which auth methods Auth will attempt to use and in which order.
113; If auto_create isn't enabled the user must exist locally.
114; DEFAULT: mysql
115; VALUES: mysql,ldap,http,pam,external,openid
116auth_methods = "mysql"
117
118; External authentication
119; This sets the helper used for external authentication. It should conform to
120; the interface used by mod_authnz_external
121; DEFAULT: none
122;external_authenticator = "/usr/sbin/pwauth"
123
124; Automatic local password updating
125; Determines whether successful authentication against an external source
126; will result in an update to the password stored in the database.
127; A locally stored password is needed for API access.
128; DEFAULT: false
129;auth_password_save = "false"
130
131; Logout redirection target
132; Defaults to our own login.php, but we can override it here if, for instance,
133; we want to redirect to an SSO provider instead.
134; logout_redirect = "http://sso.example.com/logout"
135
136; Use Access List
137; Toggle this on if you want ampache to pay attention to the access list
138; and only allow streaming/downloading/api-rpc from known hosts api-rpc
139; will not work without this on.
140; NOTE: Default Behavior is DENY FROM ALL
141; DEFAULT: true
142access_control = "true"
143
144; Require Session
145; If this is set to true ampache will make sure that the URL passed when
146; attempting to retrieve a song contains a valid Session ID This prevents
147; others from guessing URL's. This setting is ignored if you have use_auth
148; disabled.
149; DEFAULT: true
150require_session = "true"
151
152; Require LocalNet Session
153; If this is set to true then ampache will require that a valid session
154; is passed even on hosts defined in the Local Network ACL. This setting
155; has no effect if access_control is not enabled
156; DEFAULT: true
157require_localnet_session = "true"
158
159; Multiple Logins
160; Added by Vlet 07/25/07
161; When this setting is enabled a user may only be logged in from a single
162; IP address at any one time, this is to prevent sharing of accounts
163; DEFAULT: false
164;prevent_multiple_logins = "false"
165
166
167;#########################################################
168; Metadata #
169;#########################################################
170
171; This determines the tag order for all cataloged
172; music. If none of the listed tags are found then
173; ampache will randomly use whatever was found.
174; POSSIBLE VALUES: ape asf avi id3v1 id3v2 lyrics3 matroska mpeg quicktime riff
175; vorbiscomment
176; DEFAULT: id3v2 id3v1 vorbiscomment quicktime matroska ape asf avi mpeg riff
177getid3_tag_order = "id3v2,id3v1,vorbiscomment,quicktime,matroska,ape,asf,avi,mpeg,riff"
178
179; Determines whether we try to autodetect the encoding for id3v2 tags.
180; May break valid tags.
181; DEFAULT: false
182;getid3_detect_id3v2_encoding = "false"
183
184; This determines if file metadata should be write back to files
185; as id3 metadata when updated.
186; DEFAULT: false
187;write_id3 = "false"
188
189; This determines if album art should be write back to files
190; as id3 metadata when updated.
191; DEFAULT: false
192;write_id3_art = "false"
193
194; This determines the order in which metadata sources are used (and in the
195; case of plugins, checked)
196; POSSIBLE VALUES (builtins): filename and getID3
197; POSSIBLE VALUES (plugins): MusicBrainz,TheAudioDb, plus any others you've installed.
198; DEFAULT: getID3 filename
199metadata_order = "getID3,filename"
200
201; This determines the order in which metadata sources are used (and in the
202; case of plugins, checked) for video files
203; POSSIBLE VALUES (builtins): filename and getID3
204; POSSIBLE VALUES (plugins): Tvdb,Tmdb,Omdb, plus any others you've installed.
205; DEFAULT: filename getID3
206metadata_order_video = "filename,getID3"
207
208; This determines if extended metadata grabbed from external services should be deferred.
209; If enabled, extended metadata is retrieved when browsing the library item.
210; If disabled, extended metadata is retrieved at catalog update.
211; Today, only Artist information (summary, place formed, ...) can be deferred.
212; DEFAULT: true
213deferred_ext_metadata = "true"
214
215; Some taggers use delimiters other than \0 for fields
216; This list specifies possible delimiters additional to \0
217; This setting takes a regex pattern.
218; DEFAULT: // / \ | , ;
219additional_genre_delimiters = "[/]{2}|[/|\\\\|\|,|;]"
220
221; Enable importing custom metadata from files.
222; This will need a bit of time during the import. So you may want to disable this
223; if you have troubles with huge databases.
224; DEFAULT: false
225;enable_custom_metadata = "false"
226
227
228;#########################################################
229; Catalog #
230;#########################################################
231
232; File Pattern
233; This defines which file types Ampache will attempt to catalog
234; You can specify any file extension you want in here separating them
235; with a |
236; DEFAULT: mp3|mpc|m4p|m4a|aac|ogg|oga|wav|aif|aiff|rm|wma|asf|flac|opus|spx|ra|ape|shn|wv
237catalog_file_pattern = "mp3|mpc|m4p|m4a|aac|ogg|oga|wav|aif|aiff|rm|wma|asf|flac|opus|spx|ra|ape|shn|wv"
238
239; Video Pattern
240; This defines which video file types Ampache will attempt to catalog
241; You can specify any file extension you want in here separating them with
242; a | but ampache may not be able to parse them
243; DEAFULT: avi|mpg|mpeg|flv|m4v|mp4|webm|mkv|wmv|ogv|mov|divx|m2ts
244catalog_video_pattern = "avi|mpg|mpeg|flv|m4v|mp4|webm|mkv|wmv|ogv|mov|divx|m2ts"
245
246; Playlist Pattern
247; This defines which playlist types Ampache will attempt to catalog
248; You can specify any file extension you want in here separating them with
249; a | but ampache may not be able to parse them
250; DEFAULT: m3u|m3u8|pls|asx|xspf
251catalog_playlist_pattern = "m3u|m3u8|pls|asx|xspf"
252
253; Prefix Pattern
254; This defines which prefix Ampache will ignore when importing tags from
255; your music. You may add any prefix you want separating them with a |
256; DEFAULT: The|An|A|Die|Das|Ein|Eine|Les|Le|La
257catalog_prefix_pattern = "The|An|A|Die|Das|Ein|Eine|Les|Le|La"
258
259; Catalog disable
260; This defines if catalog can be disabled without removing database entries
261; WARNING: this increase sensibly sql requests and slow down Ampache a lot
262; DEFAULT: false
263;catalog_disable = "false"
264
265; Delete from disk
266; This determines if catalog manager users can delete medias from disk.
267; DEFAULT: false
268;delete_from_disk = "false"
269
270
271;#########################################################
272; Program Settings #
273;#########################################################
274
275; Downsample Remote
276; If this is set to true and access control is on any users who are not
277; coming from a defined 'network' ACL will be automatically downsampled
278; regardless of their preferences. Requires access_control to be enabled
279; DEFAULT: false
280;downsample_remote = "false"
281
282; Track User IPs
283; If this is enabled Ampache will log the IP of every completed login
284; it will store user,ip,time at one row per login. The results are
285; displayed in Admin --> Users
286; DEFAULT: false
287;track_user_ip = "false"
288
289; User IP Cardinality
290; This defines how many days worth of IP history Ampache will track
291; As it is one row per login on high volume sites you will want to
292; clear it every now and then.
293; DEFAULT: 42 days
294;user_ip_cardinality = "42"
295
296; Allow Zip Download
297; This setting allows/disallows using zlib to zip up an entire
298; playlist/album for download. Even if this is turned on you will
299; still need to enabled downloading for the specific user you
300; want to be able to use this function
301; DEFAULT: false
302;allow_zip_download = "false"
303
304; Allow Zip Types
305; This setting allows/disallows zip download of specific object types
306; If empty, all supported object types can be zipped.
307; Otherwise, only the given object list can be zipped.
308; POSSIBLE VALUES: artist, album, playlist, search, tmp_playlist
309; DEFAULT: none
310;allow_zip_types = "album"
311
312; File Zip Comment
313; This is an optional configuration option that adds a comment
314; to your zip files, this only applies if you've got allow_zip_downloads
315; DEFAULT: Ampache - Zip Batch Download
316;file_zip_comment = "Ampache - Zip Batch Download"
317
318; Waveform
319; This settings tells Ampache to attempt to generate a waveform
320; for each song. It requires transcode and encode_args_wav settings.
321; You must also set tmp_dir_path in order for this to work
322; DEFAULT: false
323;waveform = "false"
324
325; Waveform color
326; The waveform color.
327; DEFAULT: #FF0000
328;waveform_color = "#FF0000"
329
330; Temporary Directory Path
331; If Waveform is enabled this must be set to tell
332; Ampache which directory to save the temporary file to. Do not put a
333; trailing slash or this will not work.
334; DEFAULT: false
335;tmp_dir_path = "false"
336
337; This setting throttles a persons downloading to the specified
338; bytes per second. This is not a 100% guaranteed function, and
339; you should really use a server based rate limiter if you want
340; to do this correctly.
341; DEFAULT: off
342; VALUES: any whole number (in bytes per second)
343;throttle_download = 10
344
345; This determines if a preview image should be retrieved from video files
346; It requires encode_get_image transcode settings.
347; DEFAULT: false
348;generate_video_preview = "true"
349
350; Un comment if don't want ampache to follow symlinks
351; DEFAULT: false
352;no_symlinks = "false"
353
354; Use auth?
355; If this is set to "Yes" ampache will require a valid
356; Username and password. If this is set to false then ampache
357; will not ask you for a username and password. false is only
358; recommended for internal only instances
359; DEFAULT true
360use_auth = "true"
361
362; Default Auth Level
363; If use_auth is set to false then this option is used
364; to determine the permission level of the 'default' users
365; default is administrator. This setting only takes affect
366; if use_auth is false
367; POSSIBLE VALUES: user, admin, manager, guest
368; DEFAULT: guest
369default_auth_level = "guest"
370
371; 5 Star Ratings
372; This allows ratings for almost any object in ampache
373; POSSIBLE VALUES: false true
374; DEFAULT: true
375ratings = "true"
376
377; User flags/favorites
378; This allows user flags for almost any object in ampache as favorite
379; POSSIBLE VALUES: false true
380; DEFAULT: true
381userflags = "true"
382
383; Direct play
384; This allows user to play directly a song or album
385; POSSIBLE VALUES: false true
386; DEFAULT: true
387directplay = "true"
388
389; Sociable
390; This turns on / off all of the "social" features of ampache
391; default is on, but if you don't care and just want music
392; turn this off to disable all social features.
393; DEFAULT: true
394sociable = "true"
395
396; License
397; This turns on / off all licensing features on Ampache
398; DEFAULT: false
399licensing = "false"
400
401; This options will turn on/off Demo Mode
402; If Demo mode is on you can not play songs or update your catalog
403; in other words.. leave this commented out
404; DEFAULT: false
405;demo_mode = "false"
406
407; Caching
408; This turns the caching mechanisms on or off, due to a large number of
409; problems with people with very large catalogs and low memory settings
410; this is off by default as it does significantly increase the memory
411; requirments on larger catalogs. If you have the memory this can create
412; a 2-3x speed improvement.
413; DEFAULT: false
414;memory_cache = "false"
415
416; Memory Limit
417; This defines the "Min" memory limit for PHP if your php.ini
418; has a lower value set Ampache will set it up to this. If you
419; set it below 16MB getid3() will not work!
420; DEFAULT: 32
421;memory_limit = 32
422
423; Album Art Preferred Filename
424; Specify a filename to look for if you always give the same filename
425; i.e. "folder.jpg" Ampache currently only supports jpg/gif and png
426; Especially useful if you have a front and a back image in a folder
427; comment out if ampache should search for any jpg,gif or png
428; DEFAULT: folder.jpg
429;album_art_preferred_filename = "folder.jpg"
430
431; Album Art Store on Disk
432; This defines if arts should be stored on disk instead of database.
433; DEFAULT: false
434;album_art_store_disk = "false"
435
436; Local Metadata Directory
437; This define a local metadata directory with write access where to store
438; heavy data if enabled (album arts, ...)
439; DEFAULT: none
440;local_metadata_dir = "/metadata"
441
442; Maximal upload size
443; Specify the maximal allowed upload size for images, in bytes.
444; DEFAULT: 1048576
445;max_upload_size = 1048576
446
447; Album Art Minimum Width
448; Specify the minimum width for arts (in pixel).
449; DEFAULT: none
450;album_art_min_width = 100
451
452; Album Art Maximum Width
453; Specify the maximum width for arts (in pixel).
454; DEFAULT: none
455;album_art_max_width = 1024
456
457; Album Art Minimum Height
458; Specify the minimum height for arts (in pixel).
459; DEFAULT: none
460;album_art_min_height = 100
461
462; Album Art Maximum Height
463; Specify the maximum height for arts (in pixel).
464; DEFAULT: none
465;album_art_max_height = 1024
466
467; Resize Images * Requires PHP-GD *
468; Set this to true if you want Ampache to resize the Album
469; art on the fly, this increases load time and CPU usage
470; and also requires the PHP-GD library. This is very useful
471; If you have high-quality album art and a small upload cap
472; DEFAULT: false
473;resize_images = "false"
474
475; Playlist Cover Art
476; Set this to true if you want Ampache to generate
477; cover art for playlists automatically based on
478; the content.
479; DEFAULT: false
480;playlist_art = "false"
481
482; Statistical Graphs * Requires PHP-GD *
483; Set this to true if you want Ampache to generate statistical
484; graphs on usages / users.
485; DEFAULT: false
486;statistical_graphs = "false"
487
488; Art Gather Order
489; Simply arrange the following in the order you would like
490; ampache to search. If you want to disable one of the search
491; methods simply leave it out. DB should be left as the first
492; method unless you want it to overwrite what's already in the
493; database
494; POSSIBLE VALUES (builtins): db tags folder lastfm musicbrainz google
495; POSSIBLE VALUES (plugins): Amazon,TheAudioDb,Tmdb,Omdb,Flickr
496; DEFAULT: db,tags,folder,musicbrainz,lastfm,google
497art_order = "db,tags,folder,musicbrainz,lastfm,google"
498
499; Recommendations
500; Set this to true to enable display of similar artists or albums
501; while browsing. Requires Last.FM.
502; DEFAULT: false
503;show_similar = "false"
504
505; Concerts
506; Set this to true to enable display of artist concerts
507; Requires Last.FM.
508; DEFAULT: false
509;show_concerts = "false"
510
511; Last.FM API Key
512; Set this to your Last.FM api key to actually use Last.FM for
513; recommendations and metadata.
514lastfm_api_key = "d5df942424c71b754e54ce1832505ae2"
515
516; Last.FM API secret
517; Set this to your Last.FM api secret to actually use Last.FM for
518; scrobbling.
519lastfm_api_secret = ""
520
521; Wanted
522; Set this to true to enable display missing albums and the
523; possibility for users to mark it as wanted.
524; DEFAULT: false
525wanted = "true"
526
527; Wanted types
528; Set the allowed types of wanted releases (album,compilation,single,ep,live,remix,promotion,official)
529; DEFAULT: album,official
530wanted_types = "album,official"
531
532; Wanted Auto Accept
533; Mark wanted requests as accepted by default (no content manager agreement required)
534; DEFAULT: false
535;wanted_auto_accept = "false"
536
537; EchoNest API key
538; EchoNest provides several music services. Currently used for missing song 30 seconds preview.
539;echonest_api_key = ""
540
541; Labels
542; Use labels to browse artists per label membership.
543; DEFAULT: false
544;label = "false"
545
546; Broadcasts
547; Allow users to broadcast music.
548; This feature requires advanced server configuration, please take a look on the wiki for more information.
549; DEFAULT: false
550;broadcast = "false"
551
552; Channels
553; Set this to true to enable channels and the
554; possibility for users to create channels from playlists
555; DEFAULT: true
556channel = "true"
557
558; Live Streams
559; Set this to true to enable live streams (radio) and the
560; possibility for users to add new live streams.
561; DEFAULT: true
562live_stream = "true"
563
564; Podcasts
565; Set this to true to enable podcasts and the
566; possibility for admins to subscribe to new podcasts.
567; DEFAULT: false
568;podcast = "false"
569
570; Web Socket address
571; Declare the web socket server address
572; DEFAULT: determined automatically
573;websocket_address = "ws://localhost:8100"
574
575; Refresh Limit
576; This defines the default refresh limit in seconds for
577; pages with dynamic content, such as now playing
578; DEFAULT: 60
579; Possible Values: Int > 5
580refresh_limit = "60"
581
582; Footer Statistics
583; This defines whether statistics (Queries, Cache Hits, Load Time)
584; are shown in the page footer.
585; DEFAULT: true
586; Possible values: true, false
587show_footer_statistics = "true"
588
589; RSS Feeds
590; Set this to true to enable rss feeds.
591; (latest albums, shouts, albums of artist, ...)
592; use_rss = false (values true | false)
593;DEFAULT: use_rss = false
594;use_rss = "false"
595
596; This setting allows themes to overwrite PHP template files. This can be really
597; dangerous. Do this only if you trust every theme in your themes/ directory.
598; DEFAULT: false
599;allow_php_themes = "false"
600
601
602;#########################################################
603; Debugging #
604;#########################################################
605
606; Debug
607; If this is enabled Ampache will write debugging information to the log file
608; DEFAULT: false
609;debug = "false"
610
611; Debug Level
612; This should always be set in conjunction with the
613; debug option, it defines how prolific you want the
614; debugging in ampache to be. values are 1-5.
615; 1 == Errors only
616; 2 == Error + Failures (login attempts etc.)
617; 3 == ??
618; 4 == ?? (Profit!)
619; 5 == Information (cataloging progress etc.)
620; DEFAULT: 5
621debug_level = 5
622
623; Path to Log File
624; This defines where you want ampache to log events to
625; this will only happen if debug is turned on. Do not
626; include trailing slash. You will need to make sure that
627; the specified directory exists and your HTTP server has
628; write access.
629; DEFAULT: none
630;log_path = "/var/log/ampache"
631
632; Log filename pattern
633; This defines where the log file name pattern
634; %name.%Y%m%d.log will create a different log file every day.
635; DEFAULT: %name.%Y%m%d.log
636log_filename = "%name.%Y%m%d.log"
637
638
639;#########################################################
640; Encoding Settings #
641;#########################################################
642
643; Charset of generated HTML pages
644; Default of UTF-8 should work for most people
645; DEFAULT: UTF-8
646site_charset = "UTF-8"
647
648; Locale Charset
649; Local charset (mainly for file operations) if different
650; from site_charset.
651; This is disabled by default, enable only if needed
652; (for Windows please set lc_charset to ISO8859-1)
653; DEFAULT: ISO8859-1
654;lc_charset = "ISO8859-1"
655
656; Multibyte
657; See http://php.net/manual/mbstring.supported-encodings.php
658; If you want ID3v1 encoding detection to work, you should uncomment this line
659; so that the ordering is sane.
660; DEFAULT: auto
661;mb_detect_order = "ASCII,UTF-8,EUC-JP,ISO-2022-JP,SJIS,JIS"
662
663
664;#########################################################
665; Custom actions (optional) #
666;#########################################################
667
668; Your custom play action title
669;custom_play_action_title_0 = ""
670; Your custom play action icon name (stored as /images/icon_[your_image].png)
671;custom_play_action_icon_0 = ""
672; Your custom action script, where:
673; - %f: the media file path
674; - %c: the excepted codec target (mp3, ogg, ...)
675; - %a: the artist name
676; - %A: the album name
677; - %t: the song title
678;custom_play_action_run_0 = ""
679
680; Example for Karaoke playing
681;custom_play_action_title_0 = "Karaoke"
682;custom_play_action_icon_0 = "microphone"
683;custom_play_action_run_0 = "sox \"%f\" -p oops | ffmpeg -i pipe:0 -f %c pipe:1"
684
685
686;#########################################################
687; LDAP login info (optional) #
688;#########################################################
689
690; LDAP server URL (required)
691; DEFAULT: none
692;ldap_url = "ldap://localhost/"
693;ldap_url = "ldaps://localhost/"
694
695; LDAP credentials (optional)
696; DEFAULT: none
697;ldap_username = ""
698;ldap_password = ""
699
700; LDAP Base DN for the search (required)
701; DEFAULT: none
702;ldap_search_dn = "ou=People,dc=yoursubdomain,dc=yourdomain,dc=yourtld"
703
704; LDAP objectClass (required)
705; DEFAULT: none
706;ldap_objectclass = "posixAccount" ; OpenLDAP
707;ldap_objectclass = "organizationalPerson" ; Microsoft Active Directory
708
709; LDAP filter for search (required)
710; DEFAULT: none
711;ldap_filter = "(uid=%v)" ; OpenLDAP
712;ldap_filter = "(sAMAccountName=%v)" ; Microsoft Active Directory
713
714; Require that the user is in a specific group (optional)
715; DEFAULT: none
716;ldap_require_group = "cn=yourgroup,ou=yourorg,dc=yoursubdomain,dc=yourdomain,dc=yourtld"
717
718; LDAP name field
719; DEFAULT = "cn"
720;ldap_name_field = "cn"
721;ldap_name_field = "displayName"
722
723; LDAP email field
724; DEFAULT = "mail"
725;ldap_email_field = "mail"
726
727; LDAP avatar field
728; DEFAULT: none
729;ldap_avatar_field = "jpegPhoto"
730
731; LDAP avatar mime type
732; DEFAULT: image/jpeg
733;ldap_avatar_mime = "image/jpeg"
734
735; LDAP protocol version to use
736; DEFAULT: 3
737;ldap_protocol_version = 3
738
739; LDAP StartTLS
740; DEFAULT: false
741;ldap_start_tls = "false"
742
743; LDAP member attribute name.
744; That's the name of the attribute of the group that will contain
745; the usernames.
746; DEFAULT: member
747;ldap_member_attribute = "member"
748;ldap_member_attribute = "memberuid"
749
750
751
752;#########################################################
753; OpenID login info (optional) #
754;#########################################################
755
756; Requires specific OpenID Provider Authentication Policy
757; DEFAULT: none
758; VALUES: PAPE_AUTH_MULTI_FACTOR_PHYSICAL,PAPE_AUTH_MULTI_FACTOR,PAPE_AUTH_PHISHING_RESISTANT
759;openid_required_pape = ""
760
761
762;#########################################################
763; Public Registration settings, defaults to disabled #
764;#########################################################
765
766; This setting will silently create an ampache account
767; for anyone who can login using LDAP (or any other login
768; extension). The default is to create new users as guests
769; see auto_user config option if you would like to change this
770; DEFAULT: false
771;auto_create = "false"
772
773; This setting will silently update an ampache account's
774; informations for anyone who can login using LDAP
775; (or any other login extension).
776; DEFAULT: false
777;external_auto_update = "false"
778
779; This setting turns on/off public registration. It is
780; recommended you leave this off, as it will allow anyone to
781; sign up for an account on your server.
782; REMEMBER: don't forget to set the mail from address further down in the config.
783; DEFAULT: false
784allow_public_registration = "false"
785
786; Require Captcha Text on Image confirmation
787; Turning this on requires the user to correctly
788; type in the letters in the image created by Captcha
789; Default is off because its very hard to detect if it failed
790; to draw, or they failed to enter it.
791; DEFAULT: false
792;captcha_public_reg = "false"
793
794; This setting turns on/off admin notification of registration.
795; DEFAULT: false
796;admin_notify_reg = "false"
797
798; This setting determines whether the user will be created as a disabled user.
799; If this is on, an administrator will need to manually enable the account
800; before it's usable.
801; DEFAULT: false
802;admin_enable_required = "false"
803
804; This setting will allow all registrants/ldap/http users
805; to be auto-approved as a user. By default, they will be
806; added as a guest and must be promoted by the admin.
807; POSSIBLE VALUES: guest, user, admin
808; DEFAULT: guest
809;auto_user = "guest"
810
811; This will display the user agreement when registering
812; For agreement text, edit config/registration_agreement.php
813; User will need to accept the agreement before they can register
814; DEFAULT: false
815;user_agreement = "false"
816
817; This disable email confirmation when registering.
818; DEFAULT: false
819;user_no_email_confirm = "false"
820
821; This will display the cookie disclaimer (EU Cookie Law)
822; DEFAULT: false
823cookie_disclaimer = "false"
824
825; The fields that will be shown on Registration page
826; If a user wants to register.
827; Username and email fields are forced.
828; POSSIBLE VALUES: fullname,website,state,city
829; DEFAULT: "fullname,website"
830registration_display_fields = "fullname,website"
831
832; The fields that will be mandatory
833; This controls which fields are mandatory for registration.
834; Username and email fields are forced mandatory.
835; POSSIBLE VALUES: fullname,website,state,city
836; DEFAULT: fullname
837registration_mandatory_fields = "fullname"
838
839
840;########################################################
841; These options control the dynamic downsampling based #
842; on current usage #
843; *Note* Transcoding must be enabled and working #
844;########################################################
845
846; Attempt to optimize bandwidth by dynamically lowering the bit rate of new
847; streams. Since the bit rate is only adjusted at the beginning of a song, the
848; actual cumulative bitrate for concurrent streams can be up to around
849; double the configured value. It also only applies to streams that are
850; transcoded.
851; DEFAULT: none
852;max_bit_rate = 576
853
854; New dynamically downsampled streams will be denied if they are forced below
855; this value.
856; DEFAULT: 8
857;min_bit_rate = 48
858
859;######################################################
860; These are commands used to transcode non-streaming
861; formats to the target file type for streaming.
862; This can be useful in re-encoding file types that don't stream
863; very well, or if your player doesn't support some file types.
864;
865; 'Downsampling' will also use these commands.
866;
867; To state the bleeding obvious, any programs referenced in the transcode
868; commands must be installed, in the web server's search path (or referenced
869; by their full path), and executable by the web server.
870
871; Input type selection
872; TYPE is the extension. 'allowed' certifies that transcoding works properly for
873; this input format. 'required' further forbids the direct streaming of a format
874; (e.g. if you store everything in FLAC, but don't want to ever stream that.)
875; transcode_TYPE = {allowed|required|false}
876; DEFAULT: false
877;;; Audio
878;transcode_m4a = allowed
879;transcode_flac = required
880;transcode_mpc = required
881;transcode_ogg = required
882;transcode_oga = required
883;transcode_wav = required
884;transcode_wma = required
885;transcode_aif = required
886;transcode_aiff = required
887;transcode_ape = required
888;transcode_shn = required
889;transcode_mp3 = allowed
890;;; Video
891;transcode_avi = allowed
892;transcode_mkv = allowed
893;transcode_mpg = allowed
894;transcode_mpeg = allowed
895;transcode_m4v = allowed
896;transcode_mp4 = allowed
897;transcode_mov = allowed
898;transcode_wmv = allowed
899;transcode_ogv = allowed
900;transcode_divx = allowed
901;transcode_m2ts = allowed
902;transcode_webm = allowed
903
904; Default audio output format
905; DEFAULT: none
906;encode_target = mp3
907
908; Default video output format
909; DEFAULT: none
910;encode_video_target = webm
911
912; Override the default output format on a per-type basis
913; encode_target_TYPE = TYPE
914; DEFAULT: none
915;encode_target_flac = ogg
916
917; Override the default TYPE transcoding behavior on a per-player basis
918; transcode_player_PLAYER_TYPE = TYPE
919; Valid PLAYER is: webplayer, api
920; DEFAULT: none
921;transcode_player_webplayer_m4a = required
922;transcode_player_webplayer_flac = required
923;transcode_player_webplayer_mpc = required
924
925; Override the default output format on a per-player basis
926; encode_player_PLAYER_target = TYPE
927; Valid PLAYER is: webplayer, api
928; DEFAULT: none
929;encode_player_webplayer_target = mp3
930;encode_player_api_target = mp3
931
932; Allow clients to override transcode settings (output type, bitrate, codec ...)
933; DEFAULT: true
934transcode_player_customize = "true"
935
936; Command configuration. Substitutions will be made as follows:
937; %FILE% => filename
938; %BITRATE% => target bit rate
939; You can do fancy things like VBR, but consider whether the consequences are
940; acceptable in your environment.
941
942; Master transcode command
943; transcode_cmd should be a single command that supports multiple file types,
944; such as ffmpeg or avconv. It's still possible to make a configuration that's
945; equivalent to the old default, but if you find that necessary you should be
946; clever enough to figure out how on your own.
947; DEFAULT: none
948;transcode_cmd = "ffmpeg"
949;transcode_cmd = "avconv"
950;transcode_cmd = "/usr/bin/neatokeen"
951
952; Transcode input file argument
953transcode_input = "-i %FILE%"
954
955; Specific transcode commands
956; It shouldn't be necessary in most cases, but you can override the transcode
957; command for specific source formats. It still needs to accept the
958; encoding arguments, so the easiest approach is to use your normal command as
959; a clearing-house.
960; transcode_cmd_TYPE = TRANSCODE_CMD
961;transcode_cmd_mid = "timidity -Or -o – %FILE% | ffmpeg -f s16le -i pipe:0"
962
963; Encoding arguments
964; For each output format, you should provide the necessary arguments for
965; your transcode_cmd.
966; encode_args_TYPE = TRANSCODE_CMD_ARGS
967encode_args_mp3 = "-vn -b:a %BITRATE%K -c:a libmp3lame -f mp3 pipe:1"
968encode_args_ogg = "-vn -b:a %BITRATE%K -c:a libvorbis -f ogg pipe:1"
969encode_args_m4a = "-vn -b:a %BITRATE%K -c:a libfdk_aac -f adts pipe:1"
970encode_args_wav = "-vn -b:a %BITRATE%K -c:a pcm_s16le -f wav pipe:1"
971encode_args_flv = "-b:a %BITRATE%K -ar 44100 -ac 2 -v 0 -f flv -c:v libx264 -preset superfast -threads 0 pipe:1"
972encode_args_webm = "-q %QUALITY% -f webm -c:v libvpx -maxrate %MAXBITRATE%k -preset superfast -threads 0 pipe:1"
973encode_args_ts = "-q %QUALITY% -s %RESOLUTION% -f mpegts -c:v libx264 -c:a libmp3lame -maxrate %MAXBITRATE%k -preset superfast -threads 0 pipe:1"
974
975; Encoding arguments to retrieve an image from a single frame
976encode_get_image = "-ss %TIME% -f image2 -vframes 1 pipe:1"
977
978; Encoding argument to encrust subtitle
979encode_srt = "-vf \"subtitles='%SRTFILE%'\""
980
981; Encode segment frame argument
982encode_ss_frame = "-ss %TIME%"
983
984; Encode segment duration argument
985encode_ss_duration = "-t %DURATION%"
986
987
988;#########################################################
989; Proxy Settings (optional) #
990;#########################################################
991
992; If Ampache is behind an http proxy, specifiy the hostname or IP address
993; port, proxyusername, and proxypassword here.
994;DEFAULT: not in use
995;proxy_host = "192.168.0.1"
996;proxy_port = "8080"
997;proxy_user = ""
998;proxy_pass = ""
999
1000; If Ampache is behind an https reverse proxy, force use HTTPS protocol.
1001;Default: false
1002;force_ssl = "true"
1003
1004
1005;#########################################################
1006; Mail Settings #
1007;#########################################################
1008
1009;Method used to send mail
1010;POSSIBLE VALUES: smtp sendmail php
1011;DEFAULT: php
1012;mail_type = "php"
1013
1014;Mail domain.
1015;DEFAULT: example.com
1016;mail_domain = "example.com"
1017
1018;This will be combined with mail_domain and used as the source address for
1019;emails generated by Ampache. For example, setting this to 'me' will set the
1020;sender to 'me@example.com'.
1021;DEFAULT: info
1022;mail_user = "info"
1023
1024;A name to go with the email address.
1025;DEFAULT: Ampache
1026;mail_name = "Ampache"
1027
1028;How strictly email addresses should be checked.
1029;easy does a regex match, strict actually performs some SMTP transactions
1030;to see if we can send to this address.
1031;POSSIBLE VALUES: strict easy none
1032; DEFAULT: strict
1033;mail_check = "strict"
1034
1035
1036;#########################################################
1037; sendmail Settings #
1038;#########################################################
1039
1040;DEFAULT: /usr/sbin/sendmail
1041;sendmail_path = "/usr/sbin/sendmail"
1042
1043
1044;#########################################################
1045; SMTP Settings #
1046;#########################################################
1047
1048;Mail server (hostname or IP address)
1049;DEFAULT: localhost
1050;mail_host = "localhost"
1051
1052; SMTP port
1053;DEFAULT: 25
1054;mail_port = 25
1055
1056;Secure SMTP
1057;POSSIBLE VALUES: ssl tls
1058;DEFAULT: none
1059;mail_secure_smtp = tls
1060
1061;Enable SMTP authentication
1062;DEFAULT: false
1063;mail_auth = "true"
1064
1065;SMTP Username
1066;your mail auth username.
1067;mail_auth_user = ""
1068
1069; SMTP Password
1070; your mail auth password.
1071;mail_auth_pass = ""
1072
1073;#############################
1074; Abbreviation Filter #
1075;#############################
1076; For file name parsing. Any unecessary abbreviations in file names can be removed during parsing
1077; by adding them to the list below so that they will be removed during the parsing process.
1078common_abbr = "divx,xvid,dvdrip,hdtv,lol,axxo,repack,xor,pdtv,real,vtv,caph,2hd,proper,fqm,uncut,topaz,tvt,notv,fpn,fov,orenji,0tv,omicron,dsr,ws,sys,crimson,wat,hiqt,internal,brrip,boheme,vost,vostfr,fastsub,addiction,x264,LOL,720p,1080p,YIFY,evolve,fihtv,first,bokutox,bluray,tvboom,info"