+++ /dev/null
-/var/ipfire/mediatomb
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
- <server>
- <ui enabled="yes">
- <accounts enabled="yes" session-timeout="30">
- <account user="mediatomb" password="ipfire"/>
- </accounts>
- </ui>
- <name>MediaTomb</name>
- <home>/var/ipfire/mediatomb</home>
- <webroot>/usr/share/mediatomb/web</webroot>
- <storage>
- <sqlite3 enabled="yes">
- <database-file>mediatomb.db</database-file>
- </sqlite3>
- </storage>
- <protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
- <!--
- Uncomment the lines below to get rid of jerky avi playback on the
- DSM320 or to enable subtitles support on the DSM units
- -->
- <!--
- <custom-http-headers>
- <add header="X-User-Agent: redsonic"/>
- </custom-http-headers>
-
- <manufacturerURL>redsonic.com</manufacturerURL>
- <modelNumber>105</modelNumber>
- -->
- <!-- Uncomment the line below if you have a Telegent TG100 -->
- <!--
- <upnp-string-limit>101</upnp-string-limit>
- -->
- </server>
- <import hidden-files="no">
- <autoscan use-inotify="auto">
- <!-- Add /var/mp3 to mediatomb shares -->
- <directory location="/var/mp3" mode="inotify" recursive="yes" hidden-files="yes"/>
- </autoscan>
- <scripting script-charset="UTF-8">
- <virtual-layout type="builtin"/>
- </scripting>
- <mappings>
- <extension-mimetype ignore-unknown="no">
- <map from="mp3" to="audio/mpeg"/>
- <map from="ogg" to="application/ogg"/>
- <map from="asf" to="video/x-ms-asf"/>
- <map from="asx" to="video/x-ms-asf"/>
- <map from="wma" to="audio/x-ms-wma"/>
- <map from="wax" to="audio/x-ms-wax"/>
- <map from="wmv" to="video/x-ms-wmv"/>
- <map from="wvx" to="video/x-ms-wvx"/>
- <map from="wm" to="video/x-ms-wm"/>
- <map from="wmx" to="video/x-ms-wmx"/>
- <map from="m3u" to="audio/x-mpegurl"/>
- <map from="pls" to="audio/x-scpls"/>
- <map from="flv" to="video/x-flv"/>
- <!-- Uncomment the line below for PS3 divx support -->
- <!-- <map from="avi" to="video/divx"/> -->
- <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
- <!-- <map from="avi" to="video/avi"/> -->
- </extension-mimetype>
- <mimetype-upnpclass>
- <map from="audio/*" to="object.item.audioItem.musicTrack"/>
- <map from="video/*" to="object.item.videoItem"/>
- <map from="image/*" to="object.item.imageItem"/>
- </mimetype-upnpclass>
- <mimetype-contenttype>
- <treat mimetype="audio/mpeg" as="mp3"/>
- <treat mimetype="application/ogg" as="ogg"/>
- <treat mimetype="audio/x-flac" as="flac"/>
- <treat mimetype="image/jpeg" as="jpg"/>
- <treat mimetype="audio/x-mpegurl" as="playlist"/>
- <treat mimetype="audio/x-scpls" as="playlist"/>
- <treat mimetype="audio/x-wav" as="pcm"/>
- <treat mimetype="audio/L16" as="pcm"/>
- <treat mimetype="video/x-msvideo" as="avi"/>
- </mimetype-contenttype>
- </mappings>
- </import>
- <transcoding enabled="no">
- <mimetype-profile-mappings>
- <transcode mimetype="video/x-flv" using="vlcmpeg"/>
- <transcode mimetype="application/ogg" using="vlcmpeg"/>
- <transcode mimetype="application/ogg" using="oggflac2raw"/>
- <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
- </mimetype-profile-mappings>
- <profiles>
- <profile name="oggflac2raw" enabled="no" type="external">
- <mimetype>audio/L16</mimetype>
- <accept-url>no</accept-url>
- <first-resource>yes</first-resource>
- <accept-ogg-theora>no</accept-ogg-theora>
- <agent command="ogg123" arguments="-d raw -f %out %in"/>
- <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
- </profile>
- <profile name="vlcmpeg" enabled="no" type="external">
- <mimetype>video/mpeg</mimetype>
- <accept-url>yes</accept-url>
- <first-resource>yes</first-resource>
- <accept-ogg-theora>yes</accept-ogg-theora>
- <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
- <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
- </profile>
- </profiles>
- </transcoding>
-</config>
\ No newline at end of file
#etc/rc.d/rc0.d/K01imspetor
#etc/rc.d/rc0.d/K01motion
#etc/rc.d/rc0.d/K01vdradmin
-#etc/rc.d/rc0.d/K02mediatomb
#etc/rc.d/rc0.d/K02sslh
etc/rc.d/rc0.d/K08fcron
etc/rc.d/rc0.d/K28apache
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
#etc/rc.d/rc3.d/S66client175
-#etc/rc.d/rc3.d/S98mediatomb
etc/rc.d/rc3.d/S98rc.local
#etc/rc.d/rc3.d/S98sslh
#etc/rc.d/rc3.d/S99imspetor
#etc/rc.d/rc6.d/K01imspetor
#etc/rc.d/rc6.d/K01motion
#etc/rc.d/rc6.d/K01vdradmin
-#etc/rc.d/rc6.d/K02mediatomb
#etc/rc.d/rc6.d/K02sslh
etc/rc.d/rc6.d/K08fcron
etc/rc.d/rc6.d/K28apache
#etc/rc.d/rc0.d/K01imspetor
#etc/rc.d/rc0.d/K01motion
#etc/rc.d/rc0.d/K01vdradmin
-#etc/rc.d/rc0.d/K02mediatomb
#etc/rc.d/rc0.d/K02sslh
etc/rc.d/rc0.d/K08fcron
etc/rc.d/rc0.d/K28apache
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
#etc/rc.d/rc3.d/S66client175
-#etc/rc.d/rc3.d/S98mediatomb
etc/rc.d/rc3.d/S98rc.local
#etc/rc.d/rc3.d/S98sslh
#etc/rc.d/rc3.d/S99imspetor
#etc/rc.d/rc6.d/K01imspetor
#etc/rc.d/rc6.d/K01motion
#etc/rc.d/rc6.d/K01vdradmin
-#etc/rc.d/rc6.d/K02mediatomb
#etc/rc.d/rc6.d/K02sslh
etc/rc.d/rc6.d/K08fcron
etc/rc.d/rc6.d/K28apache
#etc/rc.d/rc0.d/K01imspetor
#etc/rc.d/rc0.d/K01motion
#etc/rc.d/rc0.d/K01vdradmin
-#etc/rc.d/rc0.d/K02mediatomb
#etc/rc.d/rc0.d/K02sslh
etc/rc.d/rc0.d/K08fcron
etc/rc.d/rc0.d/K28apache
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
#etc/rc.d/rc3.d/S66client175
-#etc/rc.d/rc3.d/S98mediatomb
etc/rc.d/rc3.d/S98rc.local
#etc/rc.d/rc3.d/S98sslh
#etc/rc.d/rc3.d/S99imspetor
#etc/rc.d/rc6.d/K01imspetor
#etc/rc.d/rc6.d/K01motion
#etc/rc.d/rc6.d/K01vdradmin
-#etc/rc.d/rc6.d/K02mediatomb
#etc/rc.d/rc6.d/K02sslh
etc/rc.d/rc6.d/K08fcron
etc/rc.d/rc6.d/K28apache
+++ /dev/null
-usr/bin/mediatomb
-#usr/share/man/man1/mediatomb.1
-#usr/share/mediatomb
-#usr/share/mediatomb/js
-usr/share/mediatomb/js/common.js
-usr/share/mediatomb/js/import.js
-usr/share/mediatomb/js/playlists.js
-usr/share/mediatomb/mappings.xml
-usr/share/mediatomb/mysql.sql
-usr/share/mediatomb/sqlite3.sql
-#usr/share/mediatomb/web
-usr/share/mediatomb/web/cds.xml
-usr/share/mediatomb/web/cm.xml
-usr/share/mediatomb/web/disabled.html
-usr/share/mediatomb/web/favicon.ico
-#usr/share/mediatomb/web/icons
-usr/share/mediatomb/web/icons/add_as_autoscan.png
-usr/share/mediatomb/web/icons/autoscan_inotify_config_folder_open.png
-usr/share/mediatomb/web/icons/autoscan_inotify_folder_open.png
-usr/share/mediatomb/web/icons/autoscan_timed_config_folder_open.png
-usr/share/mediatomb/web/icons/autoscan_timed_folder_open.png
-usr/share/mediatomb/web/icons/blank.gif
-usr/share/mediatomb/web/icons/blank.png
-usr/share/mediatomb/web/icons/document-new.png
-usr/share/mediatomb/web/icons/film.png
-usr/share/mediatomb/web/icons/folder_new.png
-usr/share/mediatomb/web/icons/folder_open.png
-usr/share/mediatomb/web/icons/go-first.png
-usr/share/mediatomb/web/icons/go-last.png
-usr/share/mediatomb/web/icons/go-next.png
-usr/share/mediatomb/web/icons/go-previous.png
-usr/share/mediatomb/web/icons/mediatomb.png
-usr/share/mediatomb/web/icons/mt-icon120.bmp
-usr/share/mediatomb/web/icons/mt-icon120.jpg
-usr/share/mediatomb/web/icons/mt-icon120.png
-usr/share/mediatomb/web/icons/mt-icon32.bmp
-usr/share/mediatomb/web/icons/mt-icon32.jpg
-usr/share/mediatomb/web/icons/mt-icon32.png
-usr/share/mediatomb/web/icons/mt-icon48.bmp
-usr/share/mediatomb/web/icons/mt-icon48.jpg
-usr/share/mediatomb/web/icons/mt-icon48.png
-#usr/share/mediatomb/web/icons/nanotree
-#usr/share/mediatomb/web/icons/nanotree/images
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_closed.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_open.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_closed.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_open.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_closed.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_open.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_closed.png
-usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_open.png
-usr/share/mediatomb/web/icons/nanotree/images/folder_closed.png
-usr/share/mediatomb/web/icons/nanotree/images/folder_open.png
-usr/share/mediatomb/web/icons/nanotree/images/lastnode.png
-usr/share/mediatomb/web/icons/nanotree/images/line.png
-usr/share/mediatomb/web/icons/nanotree/images/minus.png
-usr/share/mediatomb/web/icons/nanotree/images/minus_last.png
-usr/share/mediatomb/web/icons/nanotree/images/minus_last_no_root.png
-usr/share/mediatomb/web/icons/nanotree/images/minus_no_root.png
-usr/share/mediatomb/web/icons/nanotree/images/plus.png
-usr/share/mediatomb/web/icons/nanotree/images/plus_last.png
-usr/share/mediatomb/web/icons/nanotree/images/plus_last_no_root.png
-usr/share/mediatomb/web/icons/nanotree/images/plus_no_root.png
-usr/share/mediatomb/web/icons/nanotree/images/t.png
-usr/share/mediatomb/web/icons/nanotree/images/t_no_root.png
-usr/share/mediatomb/web/icons/nanotree/images/white.png
-usr/share/mediatomb/web/icons/remove_all.png
-usr/share/mediatomb/web/icons/remove_autoscan.png
-usr/share/mediatomb/web/icons/remove_this.png
-usr/share/mediatomb/web/icons/status.png
-usr/share/mediatomb/web/icons/status_loading.png
-usr/share/mediatomb/web/icons/status_updates_pending.png
-usr/share/mediatomb/web/icons/stock-add.png
-usr/share/mediatomb/web/icons/stock_edit.png
-usr/share/mediatomb/web/icons/stock_exit.png
-usr/share/mediatomb/web/index.html
-#usr/share/mediatomb/web/js
-usr/share/mediatomb/web/js/auth.js
-usr/share/mediatomb/web/js/autoscan.js
-usr/share/mediatomb/web/js/icons.js
-usr/share/mediatomb/web/js/iepngfix.htc
-usr/share/mediatomb/web/js/items.js
-usr/share/mediatomb/web/js/md5.js
-usr/share/mediatomb/web/js/nanotree.js
-usr/share/mediatomb/web/js/prototype.js
-usr/share/mediatomb/web/js/tasks.js
-usr/share/mediatomb/web/js/tools.js
-usr/share/mediatomb/web/js/tree.js
-usr/share/mediatomb/web/left.html
-usr/share/mediatomb/web/main.css
-usr/share/mediatomb/web/mr_reg.xml
-usr/share/mediatomb/web/right.html
-usr/share/mediatomb/web/std_treelook.css
-usr/share/mediatomb/web/top.html
-usr/share/mediatomb/web/topleft.html
-usr/share/mediatomb/web/topright.html
-var/ipfire/backup/addons/includes/mediatomb
-var/ipfire/mediatomb
-#var/ipfire/mediatomb/config.xml
-etc/rc.d/init.d/mediatomb
-etc/rc.d/rc0.d/K02mediatomb
-etc/rc.d/rc6.d/K02mediatomb
-etc/rc.d/rc3.d/S98mediatomb
-var/mp3/info
ln -sf ../init.d/random /etc/rc.d/rc3.d/S25random
ln -sf ../init.d/random /etc/rc.d/rc6.d/K45random
ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
- ln -sf ../init.d/mediatomb /etc/rc.d/rc3.d/S98mediatomb
- ln -sf ../init.d/mediatomb /etc/rc.d/rc0.d/K02mediatomb
- ln -sf ../init.d/mediatomb /etc/rc.d/rc6.d/K02mediatomb
ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
ln -sf ../init.d/client175 /etc/rc.d/rc3.d/S66client175
ln -sf ../init.d/client175 /etc/rc.d/rc6.d/K34client175
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-VER = 0.12.1
-
-THISAPP = mediatomb-$(VER)
-DL_FILE = $(THISAPP).tar.gz
-DL_FROM = $(URL_IPFIRE)
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-TARGET = $(DIR_INFO)/$(THISAPP)
-PROG = mediatomb
-PAK_VER = 6
-
-DEPS = "ffmpeg libexif taglib "
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_MD5 = e927dd5dc52d3cfcebd8ca1af6f0d3c2
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-md5 : $(subst %,%_MD5,$(objects))
-
-dist:
- @$(PAK)
-
-###############################################################################
-# Downloading, checking, md5sum
-###############################################################################
-
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
-
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
-
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr
- cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
- cd $(DIR_APP) && make install
- cp -Rvd $(DIR_SRC)/config/mediatomb /var/ipfire
- chown -R nobody:nobody /var/ipfire/mediatomb
- install -v -m 644 $(DIR_SRC)/config/backup/includes/mediatomb \
- /var/ipfire/backup/addons/includes/mediatomb
- echo Folder for music files > /var/mp3/info
-
- #install initscripts
- $(call INSTALL_INITSCRIPT,mediatomb)
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
lfsmake2 streamripper
lfsmake2 sshfs
lfsmake2 taglib
- #lfsmake2 mediatomb
lfsmake2 sslh
lfsmake2 perl-gettext
lfsmake2 perl-Sort-Naturally
+++ /dev/null
-#!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/
-#
-# Description : mediatomb initscript
-#
-# Authors : Arne Fitzenreiter
-#
-# Version : 01.00
-#
-# Notes : for www.ipfire.org - GPLv3
-#
-########################################################################
-
-. /etc/sysconfig/rc
-. ${rc_functions}
-
-case "$1" in
- start)
- boot_mesg "Starting mediatomb uPnP Mediaserver..."
- route add -net 239.0.0.0 netmask 255.0.0.0 green0
- loadproc /usr/bin/mediatomb -u nobody -g nobody \
- -c /var/ipfire/mediatomb/config.xml \
- -l /var/log/mediatomb.log \
- -e green0 $2 $3 $4 $5 $6 $7 -d
- evaluate_retval
- ;;
-
-
- stop)
- boot_mesg "Stopping mediatomb uPnP Mediaserver..."
- killproc /usr/bin/mediatomb
- evaluate_retval
- route del -net 239.0.0.0 netmask 255.0.0.0 green0
- ;;
-
- restart)
- ${0} stop
- sleep 1
- ${0} start
-
- ;;
- status)
- statusproc /usr/bin/mediatomb
- ;;
-
- *)
- echo "Usage: ${0} {start|stop|init|status}"
- exit 1
- ;;
-esac
-
-# End $rc_base/init.d/
+++ /dev/null
-#!/bin/bash
-############################################################################
-# #
-# This file is part of the IPFire Firewall. #
-# #
-# IPFire is free software; you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation; either version 2 of the License, or #
-# (at your option) any later version. #
-# #
-# IPFire is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with IPFire; if not, write to the Free Software #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
-# #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
-# #
-############################################################################
-#
-. /opt/pakfire/lib/functions.sh
-extract_files
-restore_backup ${NAME}
+++ /dev/null
-#!/bin/bash
-############################################################################
-# #
-# This file is part of the IPFire Firewall. #
-# #
-# IPFire is free software; you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation; either version 2 of the License, or #
-# (at your option) any later version. #
-# #
-# IPFire is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with IPFire; if not, write to the Free Software #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
-# #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
-# #
-############################################################################
-#
-. /opt/pakfire/lib/functions.sh
-stop_service ${NAME}
-make_backup ${NAME}
-remove_files
+++ /dev/null
-#!/bin/bash
-############################################################################
-# #
-# This file is part of the IPFire Firewall. #
-# #
-# IPFire is free software; you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation; either version 2 of the License, or #
-# (at your option) any later version. #
-# #
-# IPFire is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with IPFire; if not, write to the Free Software #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
-# #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
-# #
-############################################################################
-#
-. /opt/pakfire/lib/functions.sh
-./uninstall.sh
-./install.sh
-/etc/init.d/mediatomb start