Open Media Library

OML Download (ZIP)

Installation help

OML is written in PHP (versions 4+), uses a postgres SQL database and can be run in small networks. That means you can access the database and the songs from all devices in the network. Update 1-Mar-2015: now also works with PHP 5.4+ which caused a lot of e-strict error messages and CORS problems with the internal player.
Important: It only works if your filename is structured Artist - Title.mp3 with all files in one big directory.

Features:

OML can

Very rough installation guide:

Known issues:

SQL code to create the OML database
CREATE TABLE oml ( file character varying(255) NOT NULL, path character varying(64) NOT NULL, date character varying(10), "time" character varying(8), quality character varying(2), party character varying(1), annoy character varying(1), year character varying(4), bitrate smallint, size integer, style character varying(3), popularity character varying(1), utime integer, ratetime integer, -- utime radio character varying(1), lyrics character varying(1), comment character varying, yearmb character varying(4), -- MusicBrainz Year yearall character varying(4), speed character varying(1), la character varying(3), album character varying, nr smallint, CONSTRAINT oml_file_key UNIQUE (file, path) ) WITH ( OIDS=TRUE ); CREATE TABLE style ( style character varying(3) NOT NULL, descr character varying NOT NULL, comment character varying, CONSTRAINT style_pkey PRIMARY KEY (style) ) WITH ( OIDS=TRUE );

configuration of c:/xampp/apache/conf/httpd.conf

(exchange the G:/mp3/ path with your directory)

look for this passage and insert:
<IfModule alias_module> Alias /mp3 "G:/mp3/" <Directory "G:/mp3/"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny Allow from all </Directory>
and erase these lines (or comment them out with a # in the beginning), just after 'ServerName localhost:80' around line 224:
<Directory /> AllowOverride none Require all denied </Directory>
This should grant access to the local directory where your audio files are stored for the internal player.
back to Radiovibrations.com start page