diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
commit | bcad40a05ab2dc2a341a3227e30b96668bce4500 (patch) | |
tree | 6fca27588d53a1b24705bd2834e9e643bb729bd1 /config | |
download | ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.gz ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.bz2 ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.zip |
New Import
Diffstat (limited to 'config')
-rw-r--r-- | config/.htaccess | 1 | ||||
-rw-r--r-- | config/ampache.cfg.php.dist | 461 | ||||
-rw-r--r-- | config/ampache.cfg.php.dist.de | 247 | ||||
-rw-r--r-- | config/motd.php.dist | 3 |
4 files changed, 712 insertions, 0 deletions
diff --git a/config/.htaccess b/config/.htaccess new file mode 100644 index 00000000..3a428827 --- /dev/null +++ b/config/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/config/ampache.cfg.php.dist b/config/ampache.cfg.php.dist new file mode 100644 index 00000000..74ed1583 --- /dev/null +++ b/config/ampache.cfg.php.dist @@ -0,0 +1,461 @@ +##<?php exit(); ?>## +#################### +# General Config +#################### +[conf] +#################### + +#################### +# Path Vars +#################### + +# The path to your ampache install +# Do not put a trailing / on this path +# For example if your site is located at http://localhost +# than you do not need to enter anything for the web_path +# if it is located at http://localhost/music you need to +# set web_path to /music +# DEFAULT: "" +#web_path = "" + + +# Lang (define the locale you want to use +# this is a cheeseball fix for now it will be smarter +# later. +# DEFAULT: en_US +#lang = "en_US" + +#################### +# The libglue Vars # +#################### +[libglue] +#################### + +### +# Below are the variables for the Local Database that will do Auth +### + +# Hostname of your Database (default is localhost) +# DEFAULT: localhost +local_host = localhost + +# Name of your ampache database (default is ampache) +# DEFAULT: ampache +local_db = ampache + +# Username for your ampache database +# DEFAULT: "" +local_username = username + +# Password for your ampache database (can't be blank!) +# DEFAULT: "" +local_pass = password + +# Login Length in seconds for local logins +# DEFAULT: 900 +local_length = 900 + +# This is the DOMAIN for the cookie that stores your session key +# this must be set to the domain of your host or you will not be +# able to log in make sure you including the leading . +# This is not needed unless you are using libglue for more than one +# website, and you are using SSO +# DEFAULT: "" +#sess_domain = .yourwebsite.com + +# Name of the Session/Cookie that will sent to the browser +# default should be fine +# DEFAULT: ampache +sess_name = ampache + +# Lifetime of the Cookie, 0 == Forever (until browser close) , otherwise in terms of seconds +# DEFAULT: 0 +sess_cookielife = 0 + +# Is the cookie a "secure" cookie? +# DEFAULT: 0 +sess_cookiesecure = 0 + +# Path your copy of libglue (Included with Ampache) +# Uncomment this if you have moved libglue to a non-standard location +# DEFAULT: /libglue +#libglue_path = "/libglue" + +# Pre-Defined Error messages +# you should not need to edit these +empty_field = "You left one or more fields empty. Please enter both your username and password to log in." +bad_auth_cred = "Unable to authenticate using this service: This is most likely a configuration mistake by the site administrator." +user_not_found = "Username not found." +login_failed = "Bad username or password." +connect_error = "Could not connect to authentication server." + +#################### +# The conf vars! # +#################### +[conf] +#################### + +# Nuff Said +# DEFAULT: Ampache :: For The Love of Music +site_title = "Ampache :: For The Love Of Music" + +# Use Access List +# Toggle this on if you want ampache to pay attention to the access list +# and only allow streaming/downloading/xml-rpc from known hosts by default +# xml-rpc will not working without this on. +# DEFAULT: false +#access_control = "false" + +# Require Session +# If this is set to true ampache will make sure that the URL passed when +# attempting to retrive a song contains a valid Session ID This prevents +# others from guessing URL's +# DEFAULT: true +require_session = "true" + +# Use XML-RPC +# Allow XML-RPC connections, if you don't want _any_ possibility of your +# catalog being streamed from another location comment this out +# DEFAULT: false +#xml_rpc = "false" + +# This setting allows/disallows using zlib to zip up an entire +# playlist/album for download. Even if this is turned on you will +# still need to enabled downloading for the specific user you +# want to be able to use this function +# DEFAULT: false +#allow_zip_download = "false" + +# This setting turns on/off public registration. It is +# recommended you leave this off, as it will allow anyone to +# sign up for an account on your server. +# DEFAULT: false +# THIS IS CURRENTLY BROKEN! +#allow_public_registration = "false" + +# This sets which ID3 tag takes precedence. +# we've found for those of you who don't have +# good v2 tags it's sometimes nice to keep the v1 +# until you've fixed v2 +# POSSIBLE VALUES: id3v1 id3v2 +# DEFAULT: id3v2,id3v1 +id3tag_order = "id3v2" +id3tag_order = "id3v1" + +# Un comment if don't want ampache to follow symlinks +# DEFAULT: false +#no_symlinks = "false" + +# Use auth? +# If this is set to "Yes" ampache will require a valid +# Username and password. If this is set to no then ampache +# will not ask you for a username and password. No is only +# recommended for internal only instances +# DEFAULT true +use_auth = "yes" + +# This options will turn on/off Demo Mode +# If Demo mode is on you can not play songs or update your catalog +# in other words.. leave this commented out +# DEFAULT: false +#demo_mode = "false" + +# Memory Limit +# This defines the "Min" memory limit for PHP if your php.ini +# has a lower value set Ampache will set it up to this. If you +# set it below 16MB getid3() will not work! +# DEFAULT: 16 +#memory_limit = 16 + +# Album Art Preferred Filename +# Specify a filename to look for if you always give the same filename +# i.e. "folder.jpg" Ampache currently only supports jpg/gif and png +# Especially useful if you have a front and a back image in a folder +# comment out if ampache should search for any jpg,gif or png +# DEFAULT: folder.jpg +#album_art_preferred_filename = "folder.jpg" + +# Album Art Gather Order +# Simply arrange the following in the order you would like +# ampache to search if you want to disable one of the search +# method simply comment it out valid values are +# POSSIBLE VALUES: id3 folder amazon +# DEFAULT: id3,folder,amazon +album_art_order = "id3" +album_art_order = "folder" +album_art_order = "amazon" + +# Album Art in Now Playing +# Set this to true if you want the now playing box to display +# album art from said album +# DEFAULT: true +play_album_art = "true" + +# Amazon Developer Key +# This is needed in order to actually use the amazon album art +# DEFAULT: false +#amazon_developer_key = "" + +# Debug +# If this is enabled Ampache will get really chatty +# warning this can crash browser during catalog builds due to +# the amount of text that is dummped out this will also cause +# ampache to write to the log file +# DEFAULT: false +#debug = "false" + +# Path to Log File +# This defines where you want ampache to log events to +# this will only happen if debug is turned on. Do not +# include trailing slash. Default is /tmp +# DEFAULT: /tmp +#log_path = "/tmp" + +# Max Upload Size +# This sets what the max filesize for an uploaded +# file, this is good at preventing someone from +# filling up your HDD. It is mesured in bytes +# Example 1024 = 1K, 1048576 = 1MB +# Default size limit is 10Mb +# DEFAULT: 10485760 +max_upload_size = "10485760" + +# Charset of generated HTML pages +# Default of iso-8859-1 should work for most poeple +# DEFAULT: iso-8859-1 +site_charset = iso-8859-1 + +########################################################## +# These Option Control which playback methods are allowed +########################################################## + +# Stream Playback +# Disable this if you don't want to allow people to stream +# using HTTP without downsampling +# DEFAULT: true +allow_stream_playback = true + +# Downsampling Playback +# Disable this if you don't want to allow people to downsample +# songs before they are streamed +# DEFAULT: false +#allow_downsample_playback = false + +# LocalPlay Playback +# Disable this if you don't want to allow people to pick the +# local playback method +# DEFAULT: false +#allow_local_playback = false + +# MPD Playback +# Disable this if you don't want to allow people to push things +# to a MPD server as defined below +# DEFAULT: false +#allow_mpd_playback = false + +# Icecast Playback +# Disable this if you don't have an IceCast server to push +# music to +# DEFAULT: false +#allow_icecast_playback = false + +# Slim Server Playback +# Disable this if you don't have a SlimServer to push music +# to +# DEFAULT: false +#allow_slim_playback = false + +####################################################### +# These options control how searching works +####################################################### + +# choices are: artist,album,song_title,song_genre,song_year,song_bitrate,song_min_bitrate,song_filename +# DEFAULT: song_title +search_field = song_title + +# choices are: exact,fuzzy +# DEFAULT: fuzzy +search_type = fuzzy + +####################################################### +# This option controls what Ampache sends for the Stream name. This +# is most valuable when then 'Type of Playback' is set to downsample. +# because lame seems to strip id3 tags. if you want the Ampache default +# just leave this option commented out. +# +# the format supports the followning options: +# +# %A = album name +# %a = artist name +# %C = catalog path +# %c = id3 comment +# %g = genre +# %T = track number +# %t = song title +# %y = year +# %basename = current filename (just the actual filename) +# %catalog = catalog name +# %filename = current filename (full path) +# %type = song type (mp3, ogg, ...) +# +# DEFAULT: %a - %A - %t +#stream_name_format = %a - %A - %t + + +####################################################### +# These options control the down-sampling feature +# this requires you to install some applications such +# as lame that can re-encode the mp3 for you. +# we recommend mp3splt and lame +# %FILE% = filename +# %OFFSET% = offset +# %SAMPLE% = sample rate +# %EOF% = end of file in min.sec +# DEFAULT: mp3splt -qnf "%FILE%" %OFFSET% %EOF% -o - | lame --mp3input -q 3 -b %SAMPLE% -S - - +downsample_cmd = mp3splt -qnf "%FILE%" %OFFSET% %EOF% -o - | lame --mp3input -q 3 -b %SAMPLE% -S - - + +####################################################### +# These options control the "local play" feature. This requires +# a playlist manager such as moosic, winamp, xmms etc which +# can be controlled via command line. +# The defaults below are for moosic, a python based music +# player daemon. You must currently start the daemon +# yourself, because it doesn't fork right for launch +# inside apache. +# Valid replacements are: +# %URL% = url to the song +# %AMOUNT% = amount to increase or decrese the volume by (optional) +# +# HACK altert - run moosicd as www-data user, and +# then set the HOME env var so moosic client +# can find the folder it needs b4 every call... +# Commenting this all out, unless you uncomment it... +### ADD - add song to playlist +# DEFAULT: export HOME='/var/www'; moosic -n add %URL% +#localplay_add = "export HOME='/var/www'; moosic -n add %URL%" +### STOP - stop the playback. +# DEFAULT: export HOME='/var/www'; moosic stop +#localplay_stop = "export HOME='/var/www'; moosic stop" +### PLAY - begin stopped or paused playback. +# DEFAULT: export HOME='/var/www'; moosic play +#localplay_play = "export HOME='/var/www'; moosic play" +### PAUSE - pause the player +# DEFAULT: export HOME='/var/www'; moosic pause +#localplay_pause = "export HOME='/var/www'; moosic pause" +### NEXT - Skip to the next song in the list +# DEFAULT: export HOME='/var/www'; moosic next +#localplay_next = "export HOME='/var/www'; moosic next" +### PREV - Skip to the next song in the list +# DEFAULT: export HOME='/var/www'; moosic previous +#localplay_prev = "export HOME='/var/www'; moosic previous" +### VOLUME UP - increase the volume +# DEFAULT: amixer -q set Master %AMOUNT%%+ +#localplay_volplus = "amixer -q set Master %AMOUNT%%+" +### VOLUME DOWN - decrease the volume +# DEFAULT: amixer -q set Master %AMOUNT%%- +#localplay_volminus = "amixer -q set Master %AMOUNT%%-" +### START - NOT USED - strt the player daemon. +# DEFAULT: export HOME='/var/www'; moosicd & +#localplay_start = "export HOME='/var/www'; moosicd &" +### CLEAR - remove all from playlist and stop playing. +# DEFAULT: export HOME='/var/www'; moosic wipe +#localplay_clear = "export HOME='/var/www'; moosic wipe" +### KILL - stop the player daemon +# DEFAULT: export HOME='/var/www'; moosic die +#localplay_kill = "export HOME='/var/www'; moosic die" +### This must return a 1 line "status report" which is +### displayed under the player controls. +# DEFAULT: export HOME='/var/www'; moosic state|grep 'items in the' +#localplay_status = "export HOME='/var/www'; moosic state|grep 'items in the'" + +####################################################### +# these options allow you to configure your rss-feed +# layout. rss exists of two parts, main and song +# main is the information about the feed +# song is the information in the feed. can be multiple +# items. +# +# +# rss_main_title = the title for your feed. +# DEFAULT: Ampache for the love of Music +rss_main_title = Ampache for the love of Music +# rss_main_description = the description for your feed +# DEFAULT: Rss feed for Ampache so you can monitor who is listening to what +rss_main_description = Rss feed for Ampache so you can monitor who is listening to what +# rss_main_copyright = here you can enter copyright information if you wish +# DEFAULT: copyright (c) Speedy B for Ampache +rss_main_copyright = copyright (c) Speedy B for Ampache +# rss_main_language = the feed language. Some feed readers use this. +# DEFAULT: nl +rss_main_language = nl +# rss_song_description = The description of the song. +# It has to start with <![CDATA[ +# and end with ]]>. this is because xml wont parse if strange +# characters are used in the id3-tag +# usable items: +# $song->f_title +# $song->f_album +# $user->fullname +# $artist +# $album +# DEFAULT: <![CDATA[$song->f_title @ $album played by $user->fullname]]> +rss_song_description = <![CDATA[$song->f_title @ $album played by $user->fullname]]> +###################################################### + +####################### +# ICECAST2 Settings # +####################### +# These settings are for the ICECAST2 support +# built into Ampache. +###################################################### +# Tracklist Filename +# This defines the file that the tracklist +# for icecast is written to, this file must +# be writeable by the web server process +# DEFAULT: /tmp/tracklist.txt +#icecast_tracklist = "/tmp/tracklist.txt" + +# Icecast Command +# This is the command that is run when ampache +# attempts to start up icecast. %FILE% represents +# the icecast_tracklist variable (Filename) +# DEFAULT: /usr/local/bin/ices -c /usr/local/etc/ices.conf -F %FILE% -B +#icecast_command = "/usr/local/bin/ices -c /usr/local/etc/ices.conf -F %FILE% -B" + + +##################################################### + +################### +# MPD Settings # +################### +# These settings are for the MPD support +# built into Ampache. +##################################################### +# MPD Port +# This defines which port that ampache attempts to +# connect to MPD on. +# DEFAULT: 6600 +#mpd_port = "6600" + +# MPD Hostname +# This is the hostname of the computer running MPD +# DEFAULT: localhost +#mpd_host = "localhost" + +# MPD Password +# This is the password for the MPD server +# DEFAULT: "" +#mpd_pass = "" + + +# MPD Method +# This is the method you want to use to pass your +# music to your MPD player. Possible values are +# file and url. I highly recommend using the URL +# method as it requires less configuration. +# POSSIBLE VALUES: file url +# DEFAULT: file +#mpd_method = "file" + + +##################################################### diff --git a/config/ampache.cfg.php.dist.de b/config/ampache.cfg.php.dist.de new file mode 100644 index 00000000..6ca2c172 --- /dev/null +++ b/config/ampache.cfg.php.dist.de @@ -0,0 +1,247 @@ +#################### +# Hauptkonfiguration +#################### +[conf] +#################### + +#################### +# Pfadvariablen +#################### + +# Der Pfad zur Ampache Installation +# WICHTIG: Kein / hinter das Ende der Adresse setzen! +# Nehmen wir an, Ampache ist unter http://localhost +# erreichbar, dann muss hier nichts eingegeben werden. +# Falls Ampache jedoch z.B. unter http://localhost/music +# liegt, so wird an dieser stelle /music angegeben. +#web_path = "" + + +# Lang definiert die Sprache, die genutzt wird. +#lang = "fr_FR.UTF-8" + +######################### +# Die libglue Variablen # +######################### +[libglue] +#################### + +# Unterhalb sind die Variablen für die Datenbank, mit der +# die Benutzer und auch die MP3-Informationen gespeichert werden. + +# Hostname des Servers (Standard ist localhost) +local_host = localhost + +# Name der Datenbank (Standard ist ampache) +local_db = ampache + +# Benutzername für die Ampache-Datenbank +local_username = username + +# Passwort für die Datenbank von Ampache (Darf nicht leer gelassen werden!) +local_pass = password + +# Dauer einer Loginsession +local_length = 900 + + +# Dies ist die Domain, fuer die das Cookie, in dem der Sessionkey gespeichert wird, +# ausgestellt wird. Diese Variable muss die Domain oder der Host des Systems sein. +# Andernfalls wird es unmoeglich sein, sich einzuloggen. +# Bitte ueberpruefe, ob zu Beginn ein . steht. (erforderlich!) +# Dies ist jedoch nicht notwendig, solange du die libglue fuer mehr als eine Seite +# nutzt. +# sess_domain = .yourwebsite.com + +# Name der Session/des Cookie, dass zum Browser geschickt wird. +# Der vorgebene Wert sollte ausreichen. +sess_name = ampache + +# Lebenszeit des Cookies. 0 == Immer (bzw. bis der Browser geschlossen wird), +# andernfalls wird hier die Lebenszeit in Sekunden erwartet +sess_cookielife = 0 + +# Ist das Cookie ein "sicheres" Cookie? +sess_cookiesecure = 0 + +# Pfad zur libglue (ist bei Ampache dabei) +# Kommentiere dies aus, wenn die libglue an einem anderen als dem Standardort liegt. +#libglue_path = "/data/ampache/libglue" + +# Vordefinierte Fehlermeldungen. +# Diese sollten nicht editiert werden +empty_field = "Du hast eines oder mehrere Felder frei gelassen. Bitte gebe deinen Benutzernamen und das Passwort ein, um dich einzuloggen." +bad_auth_cred = "Anmeldung fehlgeschlagen. Dies liegt oft an einem Konfigurationsfehler seitens des Admins" +user_not_found = "Benutzername nicht gefunden." +login_failed = "Falscher Benutzername oder Passwort." +connect_error = "Konnte nicht zum Anmeldungsserver verbinden." + +# Falls diese Datei existiert, kann sich niemand einloggen. +# Standard ist $prefix . /libglue/gone.fishing +# Kommentiere dies aus, falls die Datei anders heissen soll +#stop_auth = "/data/music/ampache/libglue/gone.fishing" + +################################# +# Die Konfigurationsvariablen # +################################# +[conf] +#################### + +# Titel der Seite +site_title = "Ampache for the love of Music" + +# Benutzer Zugriffsliste +# Schalte dies ein, falls Ampache auf die Zugrifssliste achten soll, und +# Streaming/Downloading/XML-RPC nur von bekannten Hosts erlauben soll. +# XML-RPC funktioniert nicht, ohne dass dieses angeschaltet ist. +#access_control = "true" + +# Erzwinge Session +# Falls dies Variable auf true gesetzt ist, prueft Ampache, ob die URL +# eine gueltige Session ID besitzt. Dies hilft Einbrueche zu verhindern, +# die durch das Erraten von Session IDs auftreten koennen. +#require_session = "true" + +# Benutze XML-RPC +# Erlaube XML-RPC Verbindungen. Falls du nicht willst, dass dein Katalog +# von einem anderen Ort aus gestreamt wird, kommentier dies aus. +#xml_rpc = "true" + +# Sperren +# Sperre Lieder, wenn das gleiche Lied bereits gespielt wird. +#lock_songs = "true" + + +# Erzwinge HTTP-Abspielen +# Diese Einstellung ist standardmaeszig an, und erzwingt, dass m3u-URLS +# erstellt werden, selbst wenn du https nutzt. Diese Einstellung wurde +# vorgenommen, da es unseres Wissens keine https mp3-Streamingprogramme +# gibt ... +force_http_play = "true" + +# HTTP Port +# Bitte setze diese Option, wenn du force_http_play nutzt, und wenn dein +# httpd auf einem anderen Port als 80 laeuft. +#http_port = "80" + +# Falls diese Funktion auf false steht, wirst du spuerbare +# Performanceschuebe merken. +# Es ist empfehlenswert, dies auf false zu lassen, da die Funktion eh +# nicht genutzt wird ... :P +do_mp3_md5 = "false" + +# Hier wird das Interval angegeben, in dem der aktuelle Fortschritt +# beim Katalogisieren ausgegeben wird. Bei grossen Katalogen sollte +# diese Zahl moeglichst gering gehalten werden. +catalog_echo_count = "100" + +# Diese Option legt fest, welcher ID3 Tag bevorzugt wird. +# Diese Funktion wurde fuer diejenigen angelegt, die noch keine +# v2-Tags angelegt haben. Somit ist es bei manchen Nutzern hilfreich, +# v1 zu nutzen, bis die Kataloge auf v2 umgestellt sind. +id3tag_order = "id3v2" +id3tag_order = "id3v1" + +# Kommentiere dies aus, wenn du nicht moechtest, dass Ampache +# symlinks folgt. +#no_symlinks = "true" + +# Benutze Authentifizierung? +# Falls dies auf "Yes" gesetzt ist, sind zum Anmelden ein gueltiger +# Benutzername und ein gueltiges Passwort erforderlich. +# Falls dies auf Nein gesetzt ist, fragt Ampache nicht nach einem +# Benutzernamen und Passwort. +# "No" ist nur fuer Testsysteme empfehlenswert. +use_auth = "yes" + +# Kuenstler- & Album Zwischenspeicherlimit +# Um die Katalog-Aktualisierungen zu beschleunigen, und um die Last +# auf MySQL zu reduzieren nutzen wir eine Art Zwischenspeicher, wo +# anhand einer ID MySQL-Abfragen gespeichert werden. +# Du kannst diese Option frei nach deinem belieben abaendern ... +album_cache_limit = "25" +artist_cache_limit = "50" + +# Diese Option schaltet den Demomodus wahlweise an oder aus. +# Falls der Demomodus angeschaltet ist, kannst du keine Songs +# abspielen, oder den Katalog aktualisieren. In anderen Worten .. +# Lass es besser auskommentiert. +# demo_mode = "true" + +# Amazon Developer Key +# Dies ist erforderlich, um die Amazon-Coversuche zu nutzen. +# Unter https://associates.amazon.com/exec/panama/associates/join/developer/application.html +# bekommst du einen solchen Key. +#amazon_developer_key = "" + +# Hier wird das minimale Speicherlimit fuer PHP definiert. Falls +# PHP einen niedrigeren Wert in der php.ini hat, wird Apache den +# hier definierten Wert nutzen. +# Achtung: Den Wert auf keinen Fall unter 16MB setzen, sonst +# funktioniert getid3() nicht mehr! +# memory_limit = 16 + +# Aktualisierungs-Interval +# Falls dieser Wert gesetzt ist, wird Ampache die Hauptseite +# alle X Sekunden aktualisieren (neu laden). +# refresh_interval = 180 + + +####################################################### +# Diese Optionen definieren, wie die Suche ablaeuft. +# Folgende Moeglichkeiten existieren: artist,album,song_title,song_genre,song_year,song_bitrate,song_min_bitrate,song_filename +search_field = song_title +# Suchtypen: fuzzy und exact +search_type = fuzzy + +######################################################### +# Diese Optionen kontrolieren das "Downsampling" feature. +# Jedoch sind hierzu Tools wie lame erforderlich, mit +# denen man mp3s umwandeln kann. +# Wir empfehlen mp3splt und lame. +# %f = Dateiname +# %o = offset +# %s = sample rate +downsample_cmd = mp3splt -qnf "%f" %o EOF -o - | lame --mp3input -q 3 -b %s -S - - +# Temporaere Datei +downsample_tmp = /tmp/ampache.log + +####################################################### +# These options control the "local play" feature. This requires +# a playlist manager such as moosic, winamp, xmms etc which +# can be controlled via command line. +# The defaults below are for moosic, a python based music +# player daemon. You must currently start the daemon +# yourself, because it doesn't fork right for launch +# inside apache. +# Valid replacements are: +# %URL% = url to the song +# Diese Optionen dienen der Konfiguration der "local play" Funktion. +# Dies erfordert ein Programm, dass mit Playlisten umgehen kann, und +# per Kommandozeile kontrolliert werden kann. Beispiele hierfuer +# sind moosic, winamp oder xmms. +# Die untenstehenden Standardwerte gelten fuer moosic, einen +# python-basierten music-player-daemon. Jedoch ist es erforderlich, +# den Daemon selber zu starten, da dies nicht automatisch passiert. +# Moegliche Veraenderungsmoeglichkeiten sind: +# %URL% = URL zum Lied +# +### ADD - Fuege einen Song zur Playlist hinzu +#localplay_add = "export HOME='/var/www'; moosic -n add %URL%" +### STOP - Beende das Abspielen des Songs +#localplay_stop = "export HOME='/var/www'; moosic stop" +### PLAY - Setze einen gestoppten Song fort, oder starte neu +#localplay_play = "export HOME='/var/www'; moosic play" +### PAUSE - Pausiere den Player +#localplay_pause = "export HOME='/var/www'; moosic pause" +### NEXT - Waehle den naechsten Song in der Liste +#localplay_next = "export HOME='/var/www'; moosic next" +### START - NICHT GENUTZT - starte den Player +#localplay_start = "export HOME='/var/www'; moosicd &" +### CLEAR - Alles von der Playlist loeschen und Abspielen starten +#localplay_clear = "export HOME='/var/www'; moosic wipe" +### KILL - Beende den Player +#localplay_kill = "export HOME='/var/www'; moosic die" +### Diese Zeile sollte einen 1 Zeilen langen "Status Report" umfassen, +### der unter den Player-Bedienelementen dargestellt wird. +#localplay_status = "export HOME='/var/www'; moosic state|grep 'items in the'" diff --git a/config/motd.php.dist b/config/motd.php.dist new file mode 100644 index 00000000..59daab53 --- /dev/null +++ b/config/motd.php.dist @@ -0,0 +1,3 @@ +<!-- This file contains any "Message Of The Day" Type information --> +<!-- It will be included below the log-in form on the login page. --> + |