From c764dcaba165818ba3e3ae6d29ad50c90d47ac7d Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Sun, 12 Jul 2026 13:14:47 +0200 Subject: [PATCH] - Add docker support, - Remove obsolete JPlayer. --- Dockerfile | 81 ++++++++++++ ReleaseNotes.txt | 19 ++- compose.yaml | 58 +++++++++ env.dist | 121 ++++++++++++++++++ etc/lmbrowse/.gitignore | 4 + src/conf.d/70-lmbrowse.conf.ref | 8 ++ src/html/.htaccess | 32 +++++ {html => src/html}/about.txt | 0 {html => src/html}/discography/ep/.list | 0 .../discography/ep/30-example_ep/.hardware | 0 .../html}/discography/ep/30-example_ep/.intro | 0 .../html}/discography/ep/30-example_ep/.links | 0 .../html}/discography/ep/30-example_ep/.list | 0 .../discography/ep/30-example_ep/.thanks | 0 .../covers/example_ep-cover-1-1024.png | 0 .../covers/example_ep-cover-1-128.png | 0 .../covers/example_ep-cover-1-256.png | 0 .../covers/example_ep-cover-1-400.png | 0 .../covers/example_ep-cover-1-800.png | 0 .../covers/example_ep-cover-1-96.png | 0 .../covers/example_ep-cover-1-icon.png | 0 .../tracks/flac/01-test_track-demo_mix.flac | 0 .../tracks/mp3-192/01-test_track-demo_mix.mp3 | 0 .../tracks/mp3-320/01-test_track-demo_mix.mp3 | 0 .../tracks/ogg-256/01-test_track-demo_mix.ogg | 0 .../videos/1-test_track-demo-1040p.avi | 0 .../videos/1-test_track-demo-720p.avi | 0 .../videos/1-test_track-demo-icon.png | 0 {html => src/html}/discography/lp/.list | 0 {html => src/html}/discography/oldies/.list | 0 src/html/index.php | 1 + {html => src/html}/lmbrowse.php | 0 {html => src/html}/lmbrowse_config.inc | 0 {html => src/html}/news.txt | 0 src/html/skin | 1 + {html => src/html}/skins/black/default.css | 0 .../html}/skins/black/sprites-rep.css | 0 {html => src/html}/skins/black/sprites.css | 0 .../tracks/test_track/demo_mix/lyrics.txt | 0 var/log/httpd/.gitignore | 4 + var/log/init/.gitignore | 4 + var/log/supervisor/.gitignore | 4 + var/www/lmbrowse/.gitignore | 4 + 43 files changed, 336 insertions(+), 5 deletions(-) create mode 100644 Dockerfile create mode 100644 compose.yaml create mode 100644 env.dist create mode 100644 etc/lmbrowse/.gitignore create mode 100644 src/conf.d/70-lmbrowse.conf.ref create mode 100644 src/html/.htaccess rename {html => src/html}/about.txt (100%) rename {html => src/html}/discography/ep/.list (100%) rename {html => src/html}/discography/ep/30-example_ep/.hardware (100%) rename {html => src/html}/discography/ep/30-example_ep/.intro (100%) rename {html => src/html}/discography/ep/30-example_ep/.links (100%) rename {html => src/html}/discography/ep/30-example_ep/.list (100%) rename {html => src/html}/discography/ep/30-example_ep/.thanks (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-1024.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-128.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-256.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-400.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-800.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-96.png (100%) rename {html => src/html}/discography/ep/30-example_ep/covers/example_ep-cover-1-icon.png (100%) rename {html => src/html}/discography/ep/30-example_ep/tracks/flac/01-test_track-demo_mix.flac (100%) rename {html => src/html}/discography/ep/30-example_ep/tracks/mp3-192/01-test_track-demo_mix.mp3 (100%) rename {html => src/html}/discography/ep/30-example_ep/tracks/mp3-320/01-test_track-demo_mix.mp3 (100%) rename {html => src/html}/discography/ep/30-example_ep/tracks/ogg-256/01-test_track-demo_mix.ogg (100%) rename {html => src/html}/discography/ep/30-example_ep/videos/1-test_track-demo-1040p.avi (100%) rename {html => src/html}/discography/ep/30-example_ep/videos/1-test_track-demo-720p.avi (100%) rename {html => src/html}/discography/ep/30-example_ep/videos/1-test_track-demo-icon.png (100%) rename {html => src/html}/discography/lp/.list (100%) rename {html => src/html}/discography/oldies/.list (100%) create mode 120000 src/html/index.php rename {html => src/html}/lmbrowse.php (100%) rename {html => src/html}/lmbrowse_config.inc (100%) rename {html => src/html}/news.txt (100%) create mode 120000 src/html/skin rename {html => src/html}/skins/black/default.css (100%) rename {html => src/html}/skins/black/sprites-rep.css (100%) rename {html => src/html}/skins/black/sprites.css (100%) rename {html => src/html}/tracks/test_track/demo_mix/lyrics.txt (100%) create mode 100644 var/log/httpd/.gitignore create mode 100644 var/log/init/.gitignore create mode 100644 var/log/supervisor/.gitignore create mode 100644 var/www/lmbrowse/.gitignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..36634d0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,81 @@ +# Rx3/LMBrowse Dockerfile +#------------------------------------------------------------------------------- + +ARG IMG_FROM_URL="rx3-docker/pphp-apache:latest" + +FROM ${IMG_FROM_URL} + +ARG IMG_NAME +ARG IMG_NAME_FULL +ARG IMG_VERSION +ARG IMG_MAINTAINER +ARG IMG_URL + +LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL} +LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION} +LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER} +LABEL maintainer=${IMG_MAINTAINER} + +ARG MODULE_NAME +ARG MODULE_PATH +ARG MODULE_VERSION + +ARG HTTPD_VHOST_CONFIG_DIR=/etc/httpd/conf/sites.d/default_vhost.d +ARG LMBROWSE_HTTPD_CONFIG_NAME=70-lmbrowse.conf +ARG LMBROWSE_HTTPD_CONFIG_FILE=${HTTPD_VHOST_CONFIG_DIR}/${LMBROWSE_HTTPD_CONFIG_NAME} +ARG LMBROWSE_CONFIG_NAME=lmbrowse_config.inc +ARG LMBROWSE_CONFIG_FILE=/etc/lmbrowse/lmbrowse_config.inc +ARG LMBROWSE_SHARE_DIR=/usr/share/lmbrowse +ARG LMBROWSE_WWW_DIR=/var/www/lmbrowse +ARG LMBROWSE_LINKS="about.txt history.txt news.txt welcome.txt discography fonts skin skins tracks" + + + + +#------------------------------------------------------------------------------------------------------- +ARG LMBROWSE='#!/bin/bash \n\ + \n\ +cp -f '${LMBROWSE_HTTPD_CONFIG_FILE}.ref' '${LMBROWSE_HTTPD_CONFIG_FILE}' \n\ + \n\ +sed -i -e "s%LMBROWSE_URL%${LMBROWSE_URL}%g" '${LMBROWSE_HTTPD_CONFIG_FILE}' \n\ + \n\ + \n\ +if [[ ! -f '${LMBROWSE_CONFIG_FILE}' ]] \n\ +then \n\ + cp '${LMBROWSE_SHARE_DIR}/${LMBROWSE_CONFIG_NAME}.ref' '${LMBROWSE_CONFIG_FILE}' \n\ +fi \n\ + \n\ + \n\ +if [[ ! -d '${LMBROWSE_WWW_DIR}'/discography ]] \n\ +then \n\ + cp -Rf '${LMBROWSE_WWW_DIR}.ref/*' '${LMBROWSE_WWW_DIR}' \n\ +fi \n\ + \n\ +chown -R apache:apache '${LMBROWSE_WWW_DIR}' \n\ +chmod -R a-x,a+X '${LMBROWSE_WWW_DIR}' \n\ +chmod o-rwx '${LMBROWSE_WWW_DIR}' \n\ +chmod -R ug+rwX '${LMBROWSE_WWW_DIR} + +#------------------------------------------------------------------------------------------------------- + + + +COPY ${MODULE_PATH}/conf.d/${LMBROWSE_HTTPD_CONFIG_NAME}.ref ${LMBROWSE_HTTPD_CONFIG_FILE}.ref +COPY ${MODULE_PATH}/html ${LMBROWSE_SHARE_DIR} + +RUN . /etc/profile.d/rx3.sh && isl --add ${IMG_URL} \ + && urpmi.update -a \ + && urpmi --force flac \ + && sed -i -e "s%Alias /lmbrowse/%Alias LMBROWSE_URL%" ${LMBROWSE_HTTPD_CONFIG_FILE}.ref \ + && mv ${LMBROWSE_SHARE_DIR}/${LMBROWSE_CONFIG_NAME} ${LMBROWSE_SHARE_DIR}/${LMBROWSE_CONFIG_NAME}.ref \ + && ln -s ${LMBROWSE_CONFIG_FILE} ${LMBROWSE_SHARE_DIR}/${LMBROWSE_CONFIG_NAME} \ + && mkdir ${LMBROWSE_WWW_DIR}.ref \ + && for file in ${LMBROWSE_LINKS}; \ + do \ + mv ${LMBROWSE_SHARE_DIR}/${file} ${LMBROWSE_WWW_DIR}.ref \ + && ln -s ${LMBROWSE_WWW_DIR}/${file} ${LMBROWSE_SHARE_DIR}; \ + done \ + && echo -e "${LMBROWSE}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/lmbrowse \ + && chmod a+x /etc/init.d/lmbrowse \ + && ln -s /etc/init.d/lmbrowse /etc/rcD.d/S40lmbrowse + diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index c4a1cd5..2c42444 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,12 +1,21 @@ -# $RCSfile: ReleaseNotes.txt,v $ -# $Revision: 1.1 $ -# $Name: $ -# $Date: 2012/12/01 16:27:04 $ -# $Author: agibert $ +------------------------------------------------------------------------------------------------------------------------------------ +LMBrowse V 1.9.1 - A. GIBERT - 2026/07/?? +------------------------------------------------------------------------------------------------------------------------------------ + +- Add docker support, +- Remove obsolete JPlayer. +------------------------------------------------------------------------------------------------------------------------------------ +LMBrowse V 1.9.0 - A. GIBERT - 2026/06/20 +------------------------------------------------------------------------------------------------------------------------------------ +- Now open a modal window over the curent window to display cover, extra, icons... +- Force .hide handling in play and track page. + + +[...] -------------------------------------------------------------------------------- LMBrowse V 1.0.0-1 - A. Gibert - 2012/12/01 diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..dc12bad --- /dev/null +++ b/compose.yaml @@ -0,0 +1,58 @@ +# Rx3/LMBrowse Docker Image +#------------------------------------------------------------------------------- + +name: ${HOST_NAME_PREFIX} + +services: + +#------------------------------------------------------------------------------- + + webapp: + container_name: ${WA_HOST_NAME} + hostname: ${WA_HOST_NAME} + + image: ${WA_IMG_URL} + + restart: unless-stopped + + build: + dockerfile: Dockerfile + + args: + IMG_NAME: ${WA_IMG_URL} + IMG_NAME_FULL: ${WA_IMG_NAME_FULL} + IMG_VERSION: ${WA_IMG_VERSION} + IMG_MAINTAINER: ${APPL_MAINTAINER} + IMG_URL: ${WA_IMG_URL} + IMG_FROM_URL: ${WA_IMG_FROM_URL} + + MODULE_NAME: ${WA_MODULE_NAME} + MODULE_PATH: ${WA_MODULE_PATH} + MODULE_VERSION: ${WA_MODULE_VERSION} + + environment: + APACHE_UID: ${WA_USER_ID} + APACHE_GID: ${WA_GROUP_ID} + APACHE_DOC_ROOT: ${WA_DOC_ROOT} + APACHE_HTTPD_ENABLED: ${WA_APACHE_HTTPD_ENABLED} + PHP_MEMORY_LIMIT: ${WA_PHP_MEMORY_LIMIT} + PHP_UPLOAD_LIMIT: ${WA_PHP_UPLOAD_LIMIT} + LMBROWSE_URL: ${WA_LMBROWSE_URL} + + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:${WA_PORT_MAIN_INT}"] + interval: 10s + timeout: 3s + retries: 3 + + volumes: + - ./${WA_LOG_INIT_EXT}:${WA_LOG_INIT_INT} + - ./${WA_LOG_SV_EXT}:${WA_LOG_SV_INT} + - ./${WA_LOG_HTTPD_EXT}:${WA_LOG_HTTPD_INT} + + - ./${WA_CONF_EXT}:${WA_CONF_INT} + - ./${WA_WWW_EXT}:${WA_WWW_INT} + + ports: + - "127.0.0.1:${WA_PORT_SV_EXT}:${WA_PORT_SV_INT}" + - "127.0.0.1:${WA_PORT_MAIN_EXT}:${WA_PORT_MAIN_INT}" diff --git a/env.dist b/env.dist new file mode 100644 index 0000000..34649f2 --- /dev/null +++ b/env.dist @@ -0,0 +1,121 @@ +# Rx3/LMBrowse Docker Image +#------------------------------------------------------------------------------- + +#------------------------------------------------------------------------------- +# Global Settings +#------------------------------------------------------------------------------- + +ORG_NAME="rx3-docker" +ORG_REGISTRY="docker.xor.rx3:5000" +ORG_MAINTAINER='"Arnaud G. GIBERT" ' + +ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}" + + + +#------------------------------------------------------------------------------- +# Image Settings +#------------------------------------------------------------------------------- + +APPL_NAME="lmbrowse" +APPL_NAME_FULL="LMBrowse Docker Image" +APPL_NAME_SHORT="lmb" +APPL_ORG="rx3" +APPL_VERSION="1.0.0" +APPL_MAINTAINER='"Arnaud G. GIBERT" ' + + + +#------------------------------------------------------------------------------- +# User Settings +#------------------------------------------------------------------------------- + +#APPL_ENV="prd" +#APPL_ENV="tst" +#APPL_ENV="int" +APPL_ENV="dvp" + + + +#------------------------------------------------------------------------------- +# Common +#------------------------------------------------------------------------------- + +if [[ "${APPL_ENV}" != "prd" ]] +then + APPL_SUFFIX="-${APPL_ENV}" + PORT_ENV_OFFSET=100 + + if [[ "${APPL_ENV}" == "tst" ]] + then + DOCKER_TOOLS_USER_GROUP_FORCE=FALSE + else + DOCKER_TOOLS_USER_GROUP_FORCE=TRUE + fi +else + APPL_SUFFIX="" + PORT_ENV_OFFSET=0 + DOCKER_TOOLS_USER_GROUP_FORCE=FALSE +fi + +if [[ "${APPL_ENV}" != "dvp" ]] +then + APPL_USER="apache" + APPL_GROUP="lm" +else + APPL_USER="apache" + APPL_GROUP="apache" +fi + + +#APPL_URL_PREFIX="${ORG_REGISTRY}/${APPL_ORG}/${APPL_NAME_SHORT}" +APPL_URL_PREFIX="${ORG_REGISTRY}/${APPL_ORG}" +HOST_NAME_PREFIX=${APPL_NAME_SHORT}${APPL_SUFFIX} + +PORT_SV_INT=9001 +PORT_SV_OFFSET=1000 + +NETWORK_NAME=${HOST_NAME_PREFIX} +NETWORK_IF_NAME=br-${APPL_NAME_SHORT}-${APPL_ENV} + +DOCKER_TOOLS_DEBUG=FALSE +DOCKER_TOOLS_VOLUME=SINGLE +#DOCKER_TOOLS_VOLUME=MIXED +#DOCKER_TOOLS_VOLUME=MERGED +#DOCKER_TOOLS_VOLUME=SPLITED +#DOCKER_TOOLS_EXEPTION_LIBS="webapp:/var/www/data" + + + +#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+ +# | Variable | Service | Target Image | From Image | Module | Main Port | Admin Port | User | Group | +# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id | +#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+ + +docker_service_add WA webapp ${APPL_URL_PREFIX} ${APPL_NAME} "${APPL_NAME_FULL}" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} php-apache 1.7.0-mga9 - - 8069 80 - - ${APPL_USER} ${APPL_GROUP} + + + +#------------------------------------------------------------------------------- +# Web App +#------------------------------------------------------------------------------- + +SERVER_CROND_ENABLED="TRUE" + +WA_MODULE_PATH=src + +WA_DOC_ROOT="/var/www/html" +WA_APACHE_HTTPD_ENABLED="TRUE" +WA_PHP_MEMORY_LIMIT="512M" +WA_PHP_UPLOAD_LIMIT="32M" + +WA_LOG_HTTPD_INT=/var/log/httpd +WA_LOG_HTTPD_EXT=./${WA_LOG_HTTPD_INT} + +WA_CONF_INT=/etc/${APPL_NAME} +WA_CONF_EXT=./${WA_CONF_INT} + +WA_WWW_INT=/var/www/${APPL_NAME} +WA_WWW_EXT=./${WA_WWW_INT} + +WA_LMBROWSE_URL="/" diff --git a/etc/lmbrowse/.gitignore b/etc/lmbrowse/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/etc/lmbrowse/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/src/conf.d/70-lmbrowse.conf.ref b/src/conf.d/70-lmbrowse.conf.ref new file mode 100644 index 0000000..ccc8697 --- /dev/null +++ b/src/conf.d/70-lmbrowse.conf.ref @@ -0,0 +1,8 @@ +# LMBrowse configuration + +Alias /lmbrowse/ /usr/share/lmbrowse/ + + + Require all granted + Options +FollowSymLinks + diff --git a/src/html/.htaccess b/src/html/.htaccess new file mode 100644 index 0000000..30e4498 --- /dev/null +++ b/src/html/.htaccess @@ -0,0 +1,32 @@ +# AddType TYPE/SUBTYPE EXTENSION +AddType audio/mpeg mp3 +AddType audio/mp4 m4a +AddType audio/ogg ogg +AddType audio/ogg oga +AddType audio/webm webma +AddType audio/wav wav + +# compress text, html, javascript, css, xml: +AddOutputFilterByType DEFLATE text/plain +AddOutputFilterByType DEFLATE text/html +AddOutputFilterByType DEFLATE text/xml +AddOutputFilterByType DEFLATE text/css +AddOutputFilterByType DEFLATE application/xml +AddOutputFilterByType DEFLATE application/xhtml+xml +AddOutputFilterByType DEFLATE application/rss+xml +AddOutputFilterByType DEFLATE application/javascript +AddOutputFilterByType DEFLATE application/x-javascript + +# Or, compress certain file types by extension: + +SetOutputFilter DEFLATE + + + +SetOutputFilter DEFLATE + + + + order allow,deny + deny from all + \ No newline at end of file diff --git a/html/about.txt b/src/html/about.txt similarity index 100% rename from html/about.txt rename to src/html/about.txt diff --git a/html/discography/ep/.list b/src/html/discography/ep/.list similarity index 100% rename from html/discography/ep/.list rename to src/html/discography/ep/.list diff --git a/html/discography/ep/30-example_ep/.hardware b/src/html/discography/ep/30-example_ep/.hardware similarity index 100% rename from html/discography/ep/30-example_ep/.hardware rename to src/html/discography/ep/30-example_ep/.hardware diff --git a/html/discography/ep/30-example_ep/.intro b/src/html/discography/ep/30-example_ep/.intro similarity index 100% rename from html/discography/ep/30-example_ep/.intro rename to src/html/discography/ep/30-example_ep/.intro diff --git a/html/discography/ep/30-example_ep/.links b/src/html/discography/ep/30-example_ep/.links similarity index 100% rename from html/discography/ep/30-example_ep/.links rename to src/html/discography/ep/30-example_ep/.links diff --git a/html/discography/ep/30-example_ep/.list b/src/html/discography/ep/30-example_ep/.list similarity index 100% rename from html/discography/ep/30-example_ep/.list rename to src/html/discography/ep/30-example_ep/.list diff --git a/html/discography/ep/30-example_ep/.thanks b/src/html/discography/ep/30-example_ep/.thanks similarity index 100% rename from html/discography/ep/30-example_ep/.thanks rename to src/html/discography/ep/30-example_ep/.thanks diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-1024.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-1024.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-1024.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-1024.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-128.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-128.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-128.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-128.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-256.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-256.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-256.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-256.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-400.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-400.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-400.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-400.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-800.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-800.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-800.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-800.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-96.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-96.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-96.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-96.png diff --git a/html/discography/ep/30-example_ep/covers/example_ep-cover-1-icon.png b/src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-icon.png similarity index 100% rename from html/discography/ep/30-example_ep/covers/example_ep-cover-1-icon.png rename to src/html/discography/ep/30-example_ep/covers/example_ep-cover-1-icon.png diff --git a/html/discography/ep/30-example_ep/tracks/flac/01-test_track-demo_mix.flac b/src/html/discography/ep/30-example_ep/tracks/flac/01-test_track-demo_mix.flac similarity index 100% rename from html/discography/ep/30-example_ep/tracks/flac/01-test_track-demo_mix.flac rename to src/html/discography/ep/30-example_ep/tracks/flac/01-test_track-demo_mix.flac diff --git a/html/discography/ep/30-example_ep/tracks/mp3-192/01-test_track-demo_mix.mp3 b/src/html/discography/ep/30-example_ep/tracks/mp3-192/01-test_track-demo_mix.mp3 similarity index 100% rename from html/discography/ep/30-example_ep/tracks/mp3-192/01-test_track-demo_mix.mp3 rename to src/html/discography/ep/30-example_ep/tracks/mp3-192/01-test_track-demo_mix.mp3 diff --git a/html/discography/ep/30-example_ep/tracks/mp3-320/01-test_track-demo_mix.mp3 b/src/html/discography/ep/30-example_ep/tracks/mp3-320/01-test_track-demo_mix.mp3 similarity index 100% rename from html/discography/ep/30-example_ep/tracks/mp3-320/01-test_track-demo_mix.mp3 rename to src/html/discography/ep/30-example_ep/tracks/mp3-320/01-test_track-demo_mix.mp3 diff --git a/html/discography/ep/30-example_ep/tracks/ogg-256/01-test_track-demo_mix.ogg b/src/html/discography/ep/30-example_ep/tracks/ogg-256/01-test_track-demo_mix.ogg similarity index 100% rename from html/discography/ep/30-example_ep/tracks/ogg-256/01-test_track-demo_mix.ogg rename to src/html/discography/ep/30-example_ep/tracks/ogg-256/01-test_track-demo_mix.ogg diff --git a/html/discography/ep/30-example_ep/videos/1-test_track-demo-1040p.avi b/src/html/discography/ep/30-example_ep/videos/1-test_track-demo-1040p.avi similarity index 100% rename from html/discography/ep/30-example_ep/videos/1-test_track-demo-1040p.avi rename to src/html/discography/ep/30-example_ep/videos/1-test_track-demo-1040p.avi diff --git a/html/discography/ep/30-example_ep/videos/1-test_track-demo-720p.avi b/src/html/discography/ep/30-example_ep/videos/1-test_track-demo-720p.avi similarity index 100% rename from html/discography/ep/30-example_ep/videos/1-test_track-demo-720p.avi rename to src/html/discography/ep/30-example_ep/videos/1-test_track-demo-720p.avi diff --git a/html/discography/ep/30-example_ep/videos/1-test_track-demo-icon.png b/src/html/discography/ep/30-example_ep/videos/1-test_track-demo-icon.png similarity index 100% rename from html/discography/ep/30-example_ep/videos/1-test_track-demo-icon.png rename to src/html/discography/ep/30-example_ep/videos/1-test_track-demo-icon.png diff --git a/html/discography/lp/.list b/src/html/discography/lp/.list similarity index 100% rename from html/discography/lp/.list rename to src/html/discography/lp/.list diff --git a/html/discography/oldies/.list b/src/html/discography/oldies/.list similarity index 100% rename from html/discography/oldies/.list rename to src/html/discography/oldies/.list diff --git a/src/html/index.php b/src/html/index.php new file mode 120000 index 0000000..d899f3f --- /dev/null +++ b/src/html/index.php @@ -0,0 +1 @@ +lmbrowse.php \ No newline at end of file diff --git a/html/lmbrowse.php b/src/html/lmbrowse.php similarity index 100% rename from html/lmbrowse.php rename to src/html/lmbrowse.php diff --git a/html/lmbrowse_config.inc b/src/html/lmbrowse_config.inc similarity index 100% rename from html/lmbrowse_config.inc rename to src/html/lmbrowse_config.inc diff --git a/html/news.txt b/src/html/news.txt similarity index 100% rename from html/news.txt rename to src/html/news.txt diff --git a/src/html/skin b/src/html/skin new file mode 120000 index 0000000..befa5a0 --- /dev/null +++ b/src/html/skin @@ -0,0 +1 @@ +skins/black \ No newline at end of file diff --git a/html/skins/black/default.css b/src/html/skins/black/default.css similarity index 100% rename from html/skins/black/default.css rename to src/html/skins/black/default.css diff --git a/html/skins/black/sprites-rep.css b/src/html/skins/black/sprites-rep.css similarity index 100% rename from html/skins/black/sprites-rep.css rename to src/html/skins/black/sprites-rep.css diff --git a/html/skins/black/sprites.css b/src/html/skins/black/sprites.css similarity index 100% rename from html/skins/black/sprites.css rename to src/html/skins/black/sprites.css diff --git a/html/tracks/test_track/demo_mix/lyrics.txt b/src/html/tracks/test_track/demo_mix/lyrics.txt similarity index 100% rename from html/tracks/test_track/demo_mix/lyrics.txt rename to src/html/tracks/test_track/demo_mix/lyrics.txt diff --git a/var/log/httpd/.gitignore b/var/log/httpd/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/var/log/httpd/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/var/log/init/.gitignore b/var/log/init/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/var/log/init/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/var/log/supervisor/.gitignore b/var/log/supervisor/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/var/log/supervisor/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/var/www/lmbrowse/.gitignore b/var/www/lmbrowse/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/var/www/lmbrowse/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore