Open Media Library

OML Download (ZIP)

Installation help

OML is written in PHP (ver >4, last checked with 8.2.0), uses MariaDB SQL database (compatible with MySQL) and can be run in small networks. That means you can access the database and the songs from all devices in the network. Initially, it was based on PostgreSQL which is no longer supported. Those files can be found here: OML Postgres
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:

SQL code to create the OML database


CREATE DATABASE IF NOT EXISTS `oml`; USE `oml`; CREATE TABLE `oml` ( `fi` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `dt` varchar(10) DEFAULT NULL, `ti` varchar(8) DEFAULT NULL, `quality` varchar(2) DEFAULT NULL, `party` varchar(1) DEFAULT NULL, `annoy` varchar(1) DEFAULT NULL, `yr` varchar(4) DEFAULT NULL, `bitrate` smallint(6) DEFAULT NULL, `size` int(11) DEFAULT NULL, `style` varchar(3) DEFAULT NULL, `popularity` varchar(1) DEFAULT NULL, `utime` int(11) DEFAULT NULL, `ratetime` int(11) DEFAULT NULL, `radio` varchar(1) DEFAULT NULL, `lyrics` varchar(1) DEFAULT NULL, `cmt` varchar(1024) DEFAULT NULL, `yearmb` varchar(4) DEFAULT NULL, `yearall` varchar(4) DEFAULT NULL, `speed` varchar(1) DEFAULT NULL, `la` varchar(3) DEFAULT NULL, `album` varchar(128) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; CREATE TABLE IF NOT EXISTS `style` ( `style` varchar(3) NOT NULL, `descr` varchar(128) NOT NULL, `comment` varchar(256) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

(exchange the D:/mp3/ path with your directory where mp3's are stored)
insert:

Alias /mp3 "D:/mp3/" Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Require all granted Order allow,deny Allow from all

back to Radiovibrations.com start page