Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Does the iTunes Server of the CH3SNAS automatically refresh the contents of the directory (like the uPNP Server) or do i manually have to push the refresh button every time i add new songs?
Michael
Offline
No idea but i dumped the build in itunes server for Firefly on my DNS-323 which does update its music files automaticly (you can set the refresh rate).
Last edited by jbirney (2007-09-15 17:42:35)
Offline
Well, first i was not sure if i should fun_plug my CH3SNAS because of my low Linux knowledge but now i decided to give it a try. Everything workes fine now, i run TwonkyMedia instead of the built in UPnP Server and i was also able to install FIREFLY :-)
This device really rocks :-)
But so far i have no idea how to autostart FIREFLY, where exactly should i put this code in?
#!/bin/sh if [ -f /mnt/HD_a2/lnx_bin/mt-daapd ] then export PATH=/mnt/HD_a2/lnx_bin:$PATH export LD_LIBRARY_PATH=/mnt/HD_a2/lnx_bin/lib /mnt/HD_a2/lnx_bin/mt-daapd -c /mnt/HD_a2/lnx_bin/mt-daapd.conf fi
Into the fun_plug? My fun_plug currently ends with calling the TwonkyMedia Server, that works fine:
#!/bin/sh VOL1=/mnt/HD_a2 VOL2=/mnt/HD_b2 ... all the standard fun_plug code here ... # twonkymedia upnp server /mnt/HD_a2/starttwonky.sh
Where should i put the code in to start FIREFLY? Anything important to know?
Thanks for Your patience :-)
Michael
Offline
Micheal,
yes put that in your fun-plug and reboot the NAS to see it take effect. Here is mine which I modified from Fronz version:
#
# fun_plug = enables telnet, twonkey and firefly music server
#
VOL1=/mnt/HD_a2
VOL2=/mnt/HD_b2
FUNPLUGTAR=${VOL1}/fun_plug.tar
FUNPLUGDIR=${VOL1}/fun_plug.d
ETCDIR=${FUNPLUGDIR}/etc
BINDIR=${FUNPLUGDIR}/bin
LOGDIR=${FUNPLUGDIR}/log
LOGFILE=${LOGDIR}/fun_plug.log
PATH=${BINDIR}:${PATH}
export VOL1
export VOL2
export FUNPLUGDIR
export ETCDIR
export BINDIR
export LOGDIR
export LOGFILE
export PATH
echo "**** fun_plug script for DNS-323 ****" >${LOGFILE}
date >>${LOGFILE}
#
# Start the telnet deamon
#
/mnt/HD_a2/fun_plug.d/start/telnetd.sh 1>>${LOGFILE} 2>&1
#
# Start the firefly music deamon
#
if [ -f /mnt/HD_a2/lnx_bin/mt-daapd ]
then
echo "Starting FireFly Music Server..." >>${LOGFILE}
export PATH=/mnt/HD_a2/lnx_bin:$PATH
export LD_LIBRARY_PATH=/mnt/HD_a2/lnx_bin/lib
/mnt/HD_a2/lnx_bin/mt-daapd -c /mnt/HD_a2/lnx_bin/mt-daapd.conf 1>>${LOGFILE} 2>&1
fi
#
# Start the twonkymedia Meida Server
#
echo "Starting Twonky Media Server..." >>${LOGFILE}
/mnt/HD_a2/starttwonky.sh 1>>${LOGFILE} 2>&1Offline