mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 01:42:58 +02:00
Merge branch 'master' of git://git.ipfire.org/ipfire-2.x
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
info_begin
|
||||
mpd_version: MPD_VERSION
|
||||
fs_charset: UTF-8
|
||||
info_end
|
||||
songList begin
|
||||
songList end
|
||||
@@ -1 +0,0 @@
|
||||
25
|
||||
@@ -27,8 +27,8 @@ var/ipfire/menu.d/EX-mpfire.menu
|
||||
var/ipfire/mpfire
|
||||
var/ipfire/mpfire/bin
|
||||
var/ipfire/mpfire/bin/mpfire.pl
|
||||
var/ipfire/mpfire/db
|
||||
var/ipfire/mpfire/db/mpd.db
|
||||
#var/ipfire/mpfire/db
|
||||
var/ipfire/mpfire/db/info
|
||||
var/ipfire/mpfire/mpd.conf
|
||||
var/ipfire/mpfire/playlist.m3u
|
||||
var/ipfire/mpfire/settings
|
||||
|
||||
@@ -317,7 +317,7 @@ if ( $mpfiresettings{'ACTION'} eq "scan" ){
|
||||
############################################################################################################################
|
||||
################################### Aufbau der HTML Seite fr globale Sambaeinstellungen ####################################
|
||||
|
||||
$mpfiresettings{'MUSICDIR'} = "/";
|
||||
$mpfiresettings{'MUSICDIR'} = "/var/mp3";
|
||||
&General::readhash("${General::swroot}/mpfire/settings", \%mpfiresettings);
|
||||
|
||||
############################################################################################################################
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
#!/usr/bin/perl
|
||||
###############################################################################
|
||||
# #
|
||||
|
||||
3
lfs/mpd
3
lfs/mpd
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/${THISAPP}
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = mpd
|
||||
PAK_VER = 6
|
||||
PAK_VER = 7
|
||||
|
||||
DEPS = "alsa ffmpeg libshout libogg libmad libid3tag libvorbis"
|
||||
|
||||
@@ -83,5 +83,4 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@rm -rf $(DIR_APP)
|
||||
touch /var/log/mpd.error.log
|
||||
touch /var/log/mpd.log
|
||||
sed -i 's/MPD_VERSION/$(VER)/' /var/ipfire/mpfire/db/mpd.db
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -62,10 +62,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
|
||||
install -v -m 664 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.db /var/ipfire/mpfire/db/mpd.db
|
||||
echo "Folder for mpd database" > /var/ipfire/mpfire/db/info
|
||||
chown root.nobody /var/ipfire/mpfire/{mpd.conf,playlist.m3u}
|
||||
chown nobody.nobody /var/ipfire/mpfire/{settings,webradio}
|
||||
chown root.nobody /var/ipfire/mpfire/db/mpd.db
|
||||
chmod 664 /var/ipfire/mpfire/playlist.m3u
|
||||
chmod 755 /srv/web/ipfire/html/images/mpfire
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/mpfire /var/ipfire/backup/addons/includes/mpfire
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
case "$1" in
|
||||
start)
|
||||
boot_mesg "Starting MPD..."
|
||||
chown -R root.nobody /var/ipfire/mpfire/db
|
||||
/bin/nice --5 /usr/bin/mpd
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user