OnWorks favicon

ampache - Online in the Cloud

Run ampache in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ampache that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



Ampache - is a Web-based Audio file manager.


Ampache is implemented with MySQL, and PHP. It allows you to view, edit, and play your
audio files via the web. It has support for playlists, artist and album views, album art,
random play, playback via Http, on the Fly Transcoding and Downsampling, Vote based
playback, Mpd and Icecast, Integrated Flash Player, as well as per user themes and song
play tracking. You can also Link multiple Ampache servers together using XML-RPC. Ampache
supports GETTEXT translations and has a full translation of many languages.


The following scripts are included in Ampache and can be used to automate some aspects of


You can automate the update of all, or some of your local catalogs by using the
bin/catalog_update.inc file. By default this will run a clean, verify and update on all of
your local catalogs. You can optionally specify the name of the catalog and it will only
update the specified catalog. Very useful when used with cron or crontab.


You can output all of the album art stored in ampache to the filesystem. It will output
the image stored in the database to the directory of the first file in the album. This can
cause problems f your files are not in their own directories. You can specify the filename
to be written by modifying the config file options relating to
album_art_preferred_filename. Ampache will by default output meta data directory files for


If you would like to delete all of the disabled songs in Ampache you can run the
bin/delete_disabled.inc to delete all of the songs that are disabled in Ampache.
Naturally this requires the user you run the script as to have permissions to delete the
files in question. By default this script will not work if you run it. You must open it
and delete or comment out the line that says $debug=true for it to actually work.


You can have Ampache automatically rename and move all of your files based on the meta
data in Ampache using the bin/sort_files.inc script. This requires write access to the
files in question. The files will be renamed and moved based on their respective File and
Folder patterns as defined by the catalog. Ampache will also by default sort your files
into A-Z sub-folders to reduce the number of folders at the top level. You can turn this
off by editing the file and setting the $alphabet_prefix to false, or commenting it out.


Ampache provides some additional tools to help you cope with Character set mis-matches.
These scripts must be run from the command line. After making any changes to your tags or
the filenames please make sure you update your catalog and that your local client has the
character set and fonts required to display the tag information. This script looks
through the path of your local catalogs for filenames who contain characters that do not
exist in the currently configured site_charset. It will prompt you for a source character
charset, if none is specified it will use the current output_encoding value from iconv().


You can also look at the raw tags inside a file by running the included print_tags.inc
file. This example takes advantage of the hexcat application to get the hex values of the
output. You will need to compare the reported HEX value to the HEX value according to the
defined charset.

php /bin/print_tags.inc [FILE]


This is used to migrate your ampache.cfg.php config file from php4 formating to php5
formating. This is done to decrease the parsing time of ampache.cfg.php. This is
generally not needed unless you are upgrading from to 3.4.x.
debian/ampache.postinst runs this script automatically if needed.


php /usr/share/ampache/www/bin/update_catalog.inc
php /usr/share/ampache/www/bin/print_tag.inc [path to music file]

Use ampache online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands