NSLU2-Linux
view · edit · print · history

HowTo.InstallFuppesUPNPMediaServer History

Hide minor edits - Show changes to markup

November 02, 2010, at 04:56 PM by webkai -- Updated Fuppes init.d script
Changed lines 31-33 from:

This script assumes you installed the ipkg package as root, change the --config-dir option if otherwise.

to:

This script assumes you installed the ipkg package as root, change the --config-dir option if otherwise.

November 02, 2010, at 04:52 PM by webkai -- Updated Fuppes init.d script
Changed lines 17-19 from:

Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755:

to:

Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755:

November 02, 2010, at 04:51 PM by webkai -- Updated Fuppes init.d script
Changed lines 7-8 from:

Fuppes is in the optware feed (with transcoding disabled). Please add to this page if you install and test this, including /opt/etc/init.d/ scripts.

to:

Fuppes is in the optware feed (with transcoding disabled):

Changed lines 64-65 from:

Works very nicely. Virtual folders and the ability to split albums/artists into ABC/DEF/GHI/etc groups is a great feature.

to:

Works very nicely. Virtual folders (and particularly the ability to split albums/artists into ABC/DEF/GHI/etc groups) is a great feature.

November 02, 2010, at 04:41 PM by webkai --
Changed lines 17-19 from:

Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755

to:

Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755:

Changed lines 31-33 from:
to:

This script assumes you installed the ipkg package as root, change the --config-dir option if otherwise.

November 02, 2010, at 04:37 PM by webkai -- Updated Fuppes init.d script
Changed lines 7-8 from:

Fuppes 0.7.1 is in the optware feed (with transcoding disabled). Please add to this page if you install and test this, including /opt/etc/init.d/ scripts.

to:

Fuppes is in the optware feed (with transcoding disabled). Please add to this page if you install and test this, including /opt/etc/init.d/ scripts.

Changed lines 12-14 from:

...is all you need, apart from:

to:

... is all you need, apart from:

Changed lines 21-23 from:
 DAEMON=/opt/bin/fuppes
 PIDFILE=/opt/var/run/$NAME.pid
to:
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib
Changed line 28 from:
    $DAEMON &
to:
    /opt/bin/fuppes --config-dir /root/.fuppes/ &
Added lines 60-65:

Nov-2010: Got Fuppes SVN-578-1 installed and running using ipkg, also as a daemon from init.d (updated instructions and init script listed above).

Works very nicely. Virtual folders and the ability to split albums/artists into ABC/DEF/GHI/etc groups is a great feature.


April 23, 2008, at 09:17 PM by Frank Berger --
Changed lines 79-86 from:
  • install development tools: ipkg install unslung-devel
  • go to a directory where you can save the sources: cd /share/hdd/data/stuff/software/
  • download fuppes from svn: svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes
to:
  • install development tools: ipkg install unslung-devel
  • go to a directory where you can save the sources: cd /share/hdd/data/stuff/software/
  • download fuppes from svn: svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes
Changed lines 86-87 from:
  • enter the fuppes directory and start configuration: ./configure --prefix=/opt --disable-transcoding
to:
  • enter the fuppes directory and start configuration: ./configure --prefix=/opt --disable-transcoding
Changed lines 89-95 from:
  • if everything goes well: make
  • become root and: make install
  • create a file /etc/init.d/S99fuppes containing the start script (s. above)
to:
  • if everything goes well: make
  • become root and: make install
  • create a file /etc/init.d/S99fuppes containing the start script (s. above)
Changed lines 95-97 from:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib and options: --config-file /opt/etc/fuppes/fuppes.cfg --database-file /opt/etc/fuppes/fuppes.db --vfolder-config-file /opt/etc/fuppes/vfolder.cfg

to:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib and options: --config-file /opt/etc/fuppes/fuppes.cfg --database-file /opt/etc/fuppes/fuppes.db --vfolder-config-file /opt/etc/fuppes/vfolder.cfg

Changed lines 102-103 from:
  • edit vfolder.cfg to your need (see http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Main_Page for documentation)
to:
  • edit vfolder.cfg to your needs (see http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Main_Page for documentation)
  • edit the configuration on the web-interface or directly in fuppes.cfg
April 23, 2008, at 09:14 PM by Frank Berger -- Format changed
Changed lines 79-83 from:
  • install development tools: ipkg install unslung-devel
  • go to a directory where you can save the sources: cd /share/hdd/data/stuff/software/
  • download fuppes from svn: svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes
to:
  • install development tools: ipkg install unslung-devel
  • go to a directory where you can save the sources: cd /share/hdd/data/stuff/software/
  • download fuppes from svn: svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes
Changed lines 89-90 from:
  • enter the fuppes directory and start configuration: ./configure --prefix=/opt --disable-transcoding
to:
  • enter the fuppes directory and start configuration: ./configure --prefix=/opt --disable-transcoding
Changed lines 93-96 from:
  • if everything goes well: make
  • become root and: make install
to:
  • if everything goes well: make
  • become root and: make install
April 23, 2008, at 09:11 PM by Frank Berger -- Added installation of fuppes svn 0.611 from source
Changed lines 73-105 from:

- i can confirm that sadly fuppes only works when run from command line, not in daemon mode.

to:

- i can confirm that sadly fuppes only works when run from command line, not in daemon mode.

--

080422: I did install fuppes 0.7.1 with a simple ipkg install, but did not like it (no real vfolder-support). So here is compiling fuppes svn 0.611 from source:

  • install development tools: ipkg install unslung-devel
  • go to a directory where you can save the sources: cd /share/hdd/data/stuff/software/
  • download fuppes from svn: svn co http://fuppes-svn.ulrich-voelkel.de/trunk fuppes

(taken from http://wl500g.info/showthread.php?t=12565 - thanks Neil!)

  • enter the fuppes directory and start configuration: ./configure --prefix=/opt --disable-transcoding

(this makes sure that config files and database are stored in /opt/ rather than /root/.fuppes/)

  • if everything goes well: make
  • become root and: make install
  • create a file /etc/init.d/S99fuppes containing the start script (s. above)

I just added the lines export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib and options: --config-file /opt/etc/fuppes/fuppes.cfg --database-file /opt/etc/fuppes/fuppes.db --vfolder-config-file /opt/etc/fuppes/vfolder.cfg

  • run fuppes on the command line once to see the output when it creates the config files
  • change the http-port to a fixed value in /opt/etc/fuppes/fuppes.cfg so you can find the server later
  • edit vfolder.cfg to your need (see http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Main_Page for documentation)

I hope, I did not forget anything. Unslung: V2.3R29-uNSLUng-5.5-beta

January 22, 2008, at 07:18 PM by caze --
Added line 73:

- i can confirm that sadly fuppes only works when run from command line, not in daemon mode.

November 26, 2007, at 09:19 PM by benp -- Config
Changed lines 9-11 from:

ipkg install fuppes

to:
 ipkg install fuppes
Changed lines 20-25 from:

NAME=fuppes DAEMON=/opt/bin/fuppes PIDFILE=/opt/var/run/$NAME.pid

if [ -n "`pidof $NAME`" ] ; then

to:
 NAME=fuppes
 DAEMON=/opt/bin/fuppes
 PIDFILE=/opt/var/run/$NAME.pid

 if [ -n "`pidof $NAME`" ] ; then
Changed line 27 from:

else

to:
 else
Changed lines 30-32 from:

fi

to:
 fi

Config

Config and database files are created in ~/.fuppes when you first run fuppes. You can edit the config in the web address given by fuppes.

By default, a random port is assigned for the web interface, but you can set a constant port in the config.

Changed lines 49-50 from:

./configure --prefix=/opt

to:
 ./configure --prefix=/opt
Changed lines 53-54 from:

make && make install

to:
 make && make install
November 26, 2007, at 09:13 PM by benp -- Clearer that ipkg is enough!
Changed lines 5-8 from:

How To Install

Fuppes 0.7.1 now is in the optware feed (with transcoding disabled), need testers, need /opt/etc/init.d/ scripts.

to:

How To Install with ipkg

Fuppes 0.7.1 is in the optware feed (with transcoding disabled). Please add to this page if you install and test this, including /opt/etc/init.d/ scripts.

ipkg install fuppes

...is all you need, apart from:

Init script

Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755

NAME=fuppes DAEMON=/opt/bin/fuppes PIDFILE=/opt/var/run/$NAME.pid

if [ -n "`pidof $NAME`" ] ; then

    echo "Stopping $NAME:"
    killall $NAME

else

    echo "Starting $NAME:"
    $DAEMON &

fi

Changed lines 35-36 from:
to:

Building from source (deprecated)

Deleted lines 51-67:

init script : put in /opt/etc/init.d/S99fuppes and chmod 755


8<--------

NAME=fuppes DAEMON=/opt/bin/fuppes PIDFILE=/opt/var/run/$NAME.pid

if [ -n "`pidof $NAME`" ] ; then

    echo "Stopping $NAME:"
    killall $NAME

else

    echo "Starting $NAME:"
    $DAEMON &

fi

Added lines 54-55:

User experiences

March 11, 2007, at 06:53 PM by BrianZhou -- in optware feed now
Deleted line 0:
Added lines 7-10:

Fuppes 0.7.1 now is in the optware feed (with transcoding disabled), need testers, need /opt/etc/init.d/ scripts.


March 07, 2007, at 08:04 PM by the_orn -- added summary and comparison page link
Added lines 1-7:

About

Fuppes is an opensource uPnP Media Server that can deliver content to many uPnP devices such as set top boxes and other computers. There are many uPnP servers you can run on the NSLU2.

How To Install

February 27, 2007, at 10:17 PM by SmilingShark --
February 27, 2007, at 10:17 PM by SmilingShark --
Added lines 32-46:

I managed to install Fuppes 0.7.1 on my NSLU.

Tasks:

  • Install +optware-devel+ package to be able to compile the sources
  • Download the tarball from [fuppes.sourceforge.org]
  • Unzip the tarball
  • Change the LDFLAGS variable in src/Makefile in LDFLAGS = -Wl,-rpath,/opt/lib
Otherwise it complains about not finding zlib
  • Follow the above instructions

The program runs well from command line but I was not able to configure it properly to share my library when started from init.d

December 13, 2006, at 11:28 AM by elpaso --
Deleted lines 19-26:
 #! /bin/bash
 ### BEGIN INIT INFO
 # Provides:             Starting FUPPES UPnP as a daemon
 # Default-Start:        3 5
 # Default-Stop:
 # Description:          UPnP A/V MediaServer? with optional audio transcoding
 ### END INIT INFO
Changed lines 23-27 from:
  1. export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/lib

if [ -z "$1" ]; then

  echo "usage: $0 {start|stop|restart}"
  exit
to:

if [ -n "`pidof $NAME`" ] ; then

    echo "Stopping $NAME:"
    killall $NAME

else

    echo "Starting $NAME:"
    $DAEMON &
Deleted lines 31-50:

if [ "$1" = "stop" ]; then echo "Stopping $NAME ..."

        #pid=`ps aux | grep -e $NAME | grep -v grep | sed -e 's/[^ ]* *\([0-9]*\).*/\1/g'`
        #kill -9 $pid
        start-stop-daemon -v --stop -n$NAME

fi

if [ "$1" = "start" ]; then echo "Starting $NAME ..."

        $DAEMON &
        #$DAEMON

fi

if [ "$1" = "restart" ]; then echo "Restarting $NAME ..."

        $0 stop
        sleep 1
        $0 start

fi

December 05, 2006, at 08:47 AM by elpaso --
Added lines 10-11:

(ignore error about missing lame, just be sure it's installed)

December 05, 2006, at 08:35 AM by elpaso --
Changed lines 18-25 from:
  1. ! /bin/bash
    1. BEGIN INIT INFO
  2. Provides: Starting FUPPES UPnP as a daemon
  3. Default-Start: 3 5
  4. Default-Stop:
  5. Description: UPnP A/V MediaServer? with optional audio transcoding
    1. END INIT INFO
to:
 #! /bin/bash
 ### BEGIN INIT INFO
 # Provides:             Starting FUPPES UPnP as a daemon
 # Default-Start:        3 5
 # Default-Stop:
 # Description:          UPnP A/V MediaServer? with optional audio transcoding
 ### END INIT INFO
December 05, 2006, at 08:34 AM by elpaso --
Changed lines 8-9 from:

./confgure --prefix=/opt

to:

./configure --prefix=/opt

Added lines 13-54:

init script : put in /opt/etc/init.d/S99fuppes and chmod 755


8<--------
  1. ! /bin/bash
    1. BEGIN INIT INFO
  2. Provides: Starting FUPPES UPnP as a daemon
  3. Default-Start: 3 5
  4. Default-Stop:
  5. Description: UPnP A/V MediaServer? with optional audio transcoding
    1. END INIT INFO

NAME=fuppes DAEMON=/opt/bin/fuppes PIDFILE=/opt/var/run/$NAME.pid

  1. export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/lib

if [ -z "$1" ]; then

  echo "usage: $0 {start|stop|restart}"
  exit

fi

if [ "$1" = "stop" ]; then echo "Stopping $NAME ..."

        #pid=`ps aux | grep -e $NAME | grep -v grep | sed -e 's/[^ ]* *\([0-9]*\).*/\1/g'`
        #kill -9 $pid
        start-stop-daemon -v --stop -n$NAME

fi

if [ "$1" = "start" ]; then echo "Starting $NAME ..."

        $DAEMON &
        #$DAEMON

fi

if [ "$1" = "restart" ]; then echo "Restarting $NAME ..."

        $0 stop
        sleep 1
        $0 start

fi

December 05, 2006, at 08:22 AM by elpaso --
Added lines 1-12:

Get fuppes fuppes-0.5.3 : http://sourceforge.net/projects/fuppes

WARNING: version fuppes-0.5.4 don't compile!!!

install lame and sqlite3 with ipkg

unzip and configure ./confgure --prefix=/opt

make && make install

That's all.

view · edit · print · history · Last edited by webkai.
Based on work by webkai, Frank Berger, caze, benp, BrianZhou, the_orn, SmilingShark, and elpaso.
Originally by elpaso.
Page last modified on November 02, 2010, at 04:56 PM