Difference between revisions of "Wizd - A Media Server for Syabas based players"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m (WIZD)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
http://wizd.sourceforge.net/logo.gif  <br>
+
{{Template:Articles}}http://wizd.sourceforge.net/logo.gif  <br>
 
A Media Server for [http://www.syabas.com Syabas] based players
 
A Media Server for [http://www.syabas.com Syabas] based players
 
+
==Overview==
 
[http://wizd.sourceforge.net/ Wizd] is serving all your media files (video, audio, photo...) to your networked player.
 
[http://wizd.sourceforge.net/ Wizd] is serving all your media files (video, audio, photo...) to your networked player.
  
 
* automatically detected by your player
 
* automatically detected by your player
* browse faster than ever through your media
+
* '''browse faster than ever through your media'''
 
* no aditionnal server required (Apache, PHP...)
 
* no aditionnal server required (Apache, PHP...)
 
* low memory usage (less than 10 MB)
 
* low memory usage (less than 10 MB)
Line 14: Line 14:
 
* free and open-source :)
 
* free and open-source :)
  
[http://www.unet.univie.ac.at/~a0025690/ppc-binaries/wizd_012h_pvb21.ppc.tgz wizd_012h_pvb21.ppc.tgz]
+
==Requirements ==
<br>
+
===1. Development tools===
[http://www.unet.univie.ac.at/~a0025690/mips-binaries/wizd_012h_pvb21_mips.tar wizd_012h_pvb21_mips.tar] - (LS2)
+
Install the [[Precompiled C development environment, running on the LS]]
 +
 
 +
===2. libjpeg6===
 +
Download and install LibJpeg6
 +
cd /mnt/misc
 +
wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
 +
tar zxvf jpegsrc.v6b.tar.gz
 +
cd jpeg-6b
 +
./configure
 +
make
 +
mkdir /usr/local/man/man1
 +
make install
 +
make install-lib
 +
ranlib /usr/local/lib/libjpeg.a
 +
 
 +
===3. libdvdread===
 +
Download and install libdvdread
 +
cd /mnt/misc
 +
wget http://jhue.users.sonic.net/libdvdread-0.9.4.tgz
 +
tar zxvf libdvdread-0.9.4.tgz
 +
cd libdvdread-0.9.4
 +
./configure
 +
make
 +
make install
 +
 
 +
===4. su (Substitute user identity) - ONLY NEEDED FOR OPENLINK ON LS1===
 +
Download [http://downloads.nas-central.org/uploads/LS1-HG-HS(PPC)/su su], because the location has a '(' in the path, this can't be downloaded with wget.
 +
 
 +
Save su.htm to \\<IP Adress Linkstation>\share
 +
 
 +
Copy this file to the /bin/ directory
 +
cp /mnt/share/su.htm /bin/su
 +
 
 +
Make su executable
 +
chmod 755 /bin/su
 +
 
 +
==Installation==
 +
=== WIZD ===
 +
Download and install WIZD
 +
 
 +
On LS1
 +
cd /mnt/misc
 +
wget http://www.unet.univie.ac.at/~a0025690/ppc-binaries/wizd_012h_pvb21.ppc.tgz  
 +
tar -C / -xzvf wizd_012h_pvb21.ppc.tgz
 +
 
 +
On LS2
 +
cd /mnt/misc
 +
wget http://www.unet.univie.ac.at/~a0025690/mips-binaries/wizd_012h_pvb21_mips.tar
 +
tar -C / -xvf wizd_012h_pvb21_mips.tar
 +
 
 +
Make the startup script executable
 +
chmod 755 /etc/init.d/wizd
 +
 
 +
=== This is how the startup script works ... ===
 +
(Script created by [http://nas-central.org/index.php?title=User:Mindbender Mindbender])
 +
#! /bin/sh
 +
export USER="root"
 +
NAME=wizd
 +
INSTALLEDPATH=/mnt/local/mediaserver/wizd
 +
start()
 +
{
 +
su - $USER -c"cd ${INSTALLEDPATH} && ./wizd -d"
 +
}
 +
stop()  
 +
{
 +
su - $USER -c"/sbin/killall -15 wizd"
 +
su - $USER -c"sleep 5"
 +
}
 +
case "$1" in
 +
    start)
 +
        echo -n "Starting Wizd: "
 +
        start
 +
        ;;
 +
    stop)
 +
        echo -n "Stopping Wizd "
 +
        stop
 +
        ;;
 +
    restart)
 +
        echo -n "Restarting Wizd "
 +
        stop
 +
        start
 +
        ;;
 +
    *)
 +
        echo "Usage: /etc/init.d/$NAME {start|stop|restart}"
 +
        exit 1
 +
        ;;
 +
esac
 +
exit 0
 +
 
 +
=== Automatically Starting wizd on Boot === (Courtesy of Mindbender)
 +
 
 +
OPENLINK
 +
ln -s /etc/init.d/wizd /etc/rc.d/rc0.d/K99wizd
 +
ln -s /etc/init.d/wizd /etc/rc.d/rc2.d/S99wizd
 +
ln -s /etc/init.d/wizd /etc/rc.d/rc2.d/K99wizd
 +
 
 +
FREELINK
 +
ln -s /etc/init.d/wizd /etc/rc0.d/K99wizd
 +
ln -s /etc/init.d/wizd /etc/rc2.d/S99wizd
 +
ln -s /etc/init.d/wizd /etc/rc2.d/K99wizd
  
 +
==Downloads==
 +
* [http://forum.nas-central.org/index.php?action=vthread&forum=8&topic=2130 The start for updating this page]
 +
*[http://www.unet.univie.ac.at/~a0025690/ppc-binaries/wizd_012h_pvb21.ppc.tgz wizd_012h_pvb21.ppc.tgz]
 +
*[http://www.unet.univie.ac.at/~a0025690/mips-binaries/wizd_012h_pvb21_mips.tar wizd_012h_pvb21_mips.tar] - (LS2)
 +
*http://wizd.sourceforge.net/download.htm
 
[[Category:Mediaserver]]
 
[[Category:Mediaserver]]
 
[[Category:LS1]]
 
[[Category:LS1]]

Latest revision as of 11:46, 29 November 2007

logo.gif
A Media Server for Syabas based players

Contents

Overview

Wizd is serving all your media files (video, audio, photo...) to your networked player.

  • automatically detected by your player
  • browse faster than ever through your media
  • no aditionnal server required (Apache, PHP...)
  • low memory usage (less than 10 MB)
  • fully customizable
  • read DVD-ISO backups and standard DVD backups
  • bookmark feature for MPEG movies
  • tumbnails mode to preview your pictures
  • free and open-source :)

Requirements

1. Development tools

Install the Precompiled C development environment, running on the LS

2. libjpeg6

Download and install LibJpeg6

cd /mnt/misc
wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure 
make 
mkdir /usr/local/man/man1
make install
make install-lib
ranlib /usr/local/lib/libjpeg.a

3. libdvdread

Download and install libdvdread

cd /mnt/misc 
wget http://jhue.users.sonic.net/libdvdread-0.9.4.tgz 
tar zxvf libdvdread-0.9.4.tgz 
cd libdvdread-0.9.4
./configure 
make 
make install

4. su (Substitute user identity) - ONLY NEEDED FOR OPENLINK ON LS1

Download su, because the location has a '(' in the path, this can't be downloaded with wget.

Save su.htm to \\<IP Adress Linkstation>\share

Copy this file to the /bin/ directory

cp /mnt/share/su.htm /bin/su

Make su executable

chmod 755 /bin/su

Installation

WIZD

Download and install WIZD

On LS1

cd /mnt/misc 
wget http://www.unet.univie.ac.at/~a0025690/ppc-binaries/wizd_012h_pvb21.ppc.tgz 
tar -C / -xzvf wizd_012h_pvb21.ppc.tgz

On LS2

cd /mnt/misc 
wget http://www.unet.univie.ac.at/~a0025690/mips-binaries/wizd_012h_pvb21_mips.tar
tar -C / -xvf wizd_012h_pvb21_mips.tar

Make the startup script executable

chmod 755 /etc/init.d/wizd

This is how the startup script works ...

(Script created by Mindbender)

#! /bin/sh 
export USER="root" 
NAME=wizd 
INSTALLEDPATH=/mnt/local/mediaserver/wizd 
start() 
{ 
	su - $USER -c"cd ${INSTALLEDPATH} && ./wizd -d" 
} 
stop() 
{ 
	su - $USER -c"/sbin/killall -15 wizd" 
	su - $USER -c"sleep 5" 
} 
case "$1" in 
    start) 
        echo -n "Starting Wizd: " 
        start 
        ;; 
    stop) 
        echo -n "Stopping Wizd " 
        stop 
        ;; 
    restart) 
        echo -n "Restarting Wizd " 
        stop 
        start 
        ;; 
    *) 
        echo "Usage: /etc/init.d/$NAME {start|stop|restart}" 
        exit 1 
        ;; 
esac 
exit 0

=== Automatically Starting wizd on Boot === (Courtesy of Mindbender)

OPENLINK

ln -s /etc/init.d/wizd /etc/rc.d/rc0.d/K99wizd
ln -s /etc/init.d/wizd /etc/rc.d/rc2.d/S99wizd
ln -s /etc/init.d/wizd /etc/rc.d/rc2.d/K99wizd

FREELINK

ln -s /etc/init.d/wizd /etc/rc0.d/K99wizd
ln -s /etc/init.d/wizd /etc/rc2.d/S99wizd
ln -s /etc/init.d/wizd /etc/rc2.d/K99wizd

Downloads