Playstation 2

Simple Media System (SMS)
SMS is a DivX and MP3 player for the PS2.

get it here: http://sksapps.com/sms/en/

Using SMS, you can stream movies and music right to your TV. forget about all the set-top boxes, forget about the 'Media PC', if you have a PS2, you have all the hardware you need.

Features
Features of SMS include:


 * Smooth DivX AVI Playback at decent resolution
 * Pan/Scan and zooming
 * Subtitles support (SRT and SUB)
 * Visual seek (Fast Foward and Rewind)
 * Multiple language and character set support for subtitles other than English
 * MP3 Playback
 * AC3 Surround Support
 * Full resolution
 * Multilanguage
 * Copy your movies and mp3's to your internal HDD!

SMS will read video files from a variety of sources:


 * Network Streaming
 * USB Drives
 * Hard Drives (both the Official Sony HDD and any normal PC HDD)
 * CD/DVD-ROM (and NO modchip required!)

Running SMS
To run SMS you will need to have a modchip or use the PS2 Independence Memory Card Exploit

Installing Ups2client
This is the server that will allow the PS2 to connect to your Linkstation. You can download the source code from this post HERE (registration required). The code has been updated to allow for applications to traverse through subdirectories on Linux systems, thanks husky99 of kurubox forums

I believe you will need to have the development tools installed if you run OpenLink to compile Ups2client

Compile Ups2client

make clean make PREFIX=$PS2DEV/usr install

This installs ps2client and fsclient into /usr/bin. Only problem now is that SMS has to be started on the PS2 before you start ps2client, husky99 solved that with a python script below, checkPS2.py, obviously you'll need python installed on your system. FreeLink users can just: apt-get install python

You will need to place the script in the same place as ps2client (/usr/bin in my case)

pico /usr/bin/checkPS2.py

Copy this into it:

import commands import time import os serverrunning = 0 while 1: # Check for connectivity to PS2 (rc, output) = commands.getstatusoutput("ping -c 3 192.168.0.10") #if the ping returned 0, we can see the PS2 if rc == 0: # If the server isn't running, start it. if serverrunning == 0: serverrunning = 1 # start server app os.system("./ps2client -h 192.168.0.10 listen &") print "server started" # If the server is running and we're no longer connected, close it. else: if serverrunning == 1: serverrunning = 0 # close server app output = commands.getoutput("killall ps2client") print "server closed" time.sleep(10)
 * 1) ! /usr/bin/env python

I put a start script in to start ps2client and the run the above script as this was the only way I could get it to work how I wanted it to, e.g turn on PS2 and have access to Linkstation files.

pico /etc/init.d/ps2client

Copy this to it:

# # # PATH=/usr/sbin:/usr/bin:/bin:${PATH} export PATH PS2CLIENT='/usr/bin/ps2client' IP='192.168.0.10' case "$1" in   start)    cd /usr/bin    ./checkPS2.py &    ;;    stop) echo -n "Shutting down ps2client: " # $PS2CLIENT -h $IP poweroff & # -- Or: kill `getpid $PS2CLIENT` killall ps2client sleep 1 echo "done" ;;   restart)    echo -n "Restarting ps2client: "    $0 stop    sleep 1    $0 start    ;;    status) echo "Status of ps2client: " ps auxw|grep ps2client ;;   *) echo "Usage: ps2client {start|stop|restart|status}"    exit 1    esac    exit 0
 * 1) !/bin/sh
 * 1) $Date: 01/09/2006 $ Bauldrick $
 * 1) ps2client      This shell script takes care of starting and stopping
 * 2)            ps2client.
 * 1) description: ps2client server for Playstation2 (SMS).
 * 1)  echo -n "Starting ps2client: "
 * 2)  $PS2CLIENT -h $IP listen &
 * 1)  echo "done"
 * 2)  sleep 1

Then link it:

cd /etc/rc2.d && ln -s /etc/init.d/ps2client S99ps2client

cd /etc/rc6.d && ln -s /etc/init.d/ps2client K99ps2client

cd /etc/rc0.d && ln -s /etc/init.d/ps2client K99ps2client

Configuring
Now that it is installed and running (hopefully), you would normally create an elflist.txt and enter locations, however I believe this is currently broken? So, create links from the media you would like to stream, to the place ps2client is located, i.e:

ln -s /mnt/hda/films /usr/bin ln -s /mnt/hda/music /usr/bin

---

USB
Enable USB support front the SMS menu (press 'start' at the browser). The built-in USBD.IRX is compatible with most USB drives. You will see a new icon in the top bar when a USB device is attached. Press RIGHT to select this icon and browse the USB drive.