This is an old revision of the document!


Oxyl media-server for Pinnacle ShowCenter 200 runs fine

This information was taken from the forum http://forum.dsmg600.info/t686-Success-Oxyl-mediaserver-Pinnacle-ShowCenter-runs-fine.html

Special thanks to Emacs (yes it should be cleaned up but tis for another day)

  1. Your DNS323 needs access to the Internet to start Oxyl (it checks for updates). Verify if this is working beforehand
  2. - Example: Telnet to the DNS323 and type “nslookup www.cnn.com” → If you get a valid ip address returned, you are connected and have name resolution working
  3. - Only continue after above test works
  1. You need Fonz' latest funplug (0.3 if I'm not mistaken) and the php-5.2.3 plugin. Additionally libpng and libjpeg are required if the php-gd version is used. Recommendation: install libpng and libjpeg anyway ;-)
  2. You need to download the Oxyl tar file http://www.oxyl.de
  3. - On the Oxyl page (which is in german) click on “Downloads” and choose the third link “DOWNLOAD oxyl~box V2.50 TAR für Linux (2645 kB)”. The filename is “oxylbox-V2.50_lin.tar.gz”
  4. Copy the tar file to your DNS 323 (either by FTP or copy to a mounted drive)
  5. telnet to the DNS 323, find the “oxylbox-V2.50_lin.tar.gz”, and gunzip and untar it into a dedicated folder
  6. - this is done by the following steps:
  7. - mkdir /mnt/HD_a2/www/
  8. - mkdir /mnt/HD_a2/www/oxyl
  9. - Find the “oxylbox-V2.50_lin.tar.gz” and move it to the new directory. The linux command to move a file is “mv” - you need to find the file yourself ;-)
  10. - cd /mnt/HD_a2/www/oxyl
  11. - “gunzip oxylbox-V2.50_lin.tar.gz”
  12. - and then “tar -xvf “oxylbox-V2.50_lin.tar”
  13. - Set up the lighttp config file ( /mnt/HD_a2/fun_plug.d/etc/lighttpd.conf )
  14. - → see attached file in the files.tar. Note: my DNS323 is 192.168.0.202. If yours has another IP address change the address entry to match your IP. The TCP/IP port for the Oxyl server is “8001” in this file. Change if you want.
  15. Set up Oxyl “functions.inc” file in the /mnt/HD_a2/www/oxyl/common folder
  16. - → see this description: http://www.oxyl.de/wbboard/thread.php?t … 238a3e1e6d
  17. - Or take the attached “functions.inc” file (in the files.tar)
  18. - Create a symbolic link to the libformat.so: ln -s /mnt/HD_a2/fun_plug.d/lib/libformat.so /mnt/HD_a2/www/oxyl/bin/libformat.so
  1. Create some media folders for your videos, music and pictures
  2. - A sidenote here: pictures work, but depending on the size they will be extremely slow (like 5 minutes to bring up a new picture). This is due to the CPU power of the DNS323 which is not up to rescaling 5 megapixel pictures. I recommend to forget about picture display and concentrate on video and music
  3. - So I did “mkdir /mnt/HD_a2/media”, “mkdir /mnt/HD_a2/media/videos”, “mkdir /mnt/HD_a2/media/music”, and “mkdir /mnt/HD_a2/media/photos”.
  4. Copy some media files in the new folders. Make sure they can be read by everyone.
  5. Make the start lighttp script from Fonz' funPlug executable (chmod a+x /mnt/HD_a2/fun_plug.d/start/lighttpd.sh) and reboot
  6. - Alternative (probably better): start the lighttpd manually first an see if it works (see 11.1 for logfile locations) ;-)
  7. Connect to the lighttp /Oxyl server from a PC using the webbrowser of your choice (with my config: http://192.168.0.202:8001 )
  8. - If you cannot connect to the Oxyl server, we should check the lighttpd log file. Telnet to the DNS323, go to ”/mnt/HD_a2/fun_plug.d/log/www/” and read “error.log” and “access.log”
  9. Use the webinterface to update all needed modules → the oxyl server will download everything from the internet (hence the connection mentioned at the beginning). This can be painfully slow. Don't be alarmed. It works in the end.
  10. - Click on Oxylbox Setup
  11. - Click (again) on Oxylbox Setup
  12. - Click on Softwareupdate
  13. - Click on each available update
  1. Checkout the available plugins for Oxyl and install whatever you like
  2. - Click on Oxylbox Setup
  3. - Click (again) on Oxylbox Setup
  4. - Click on Softwareupdate
  5. - Download attachments and skins as you wish
  1. Configure the media locations within the Oxyl webinterface
  2. - Click on Oxylbox Setup
  3. - Click on Video-Browser
  4. - Click on “Basispfade browsing”
  5. - Enter ”/mnt/HD_a2/media/video”
  6. - repeat for Audio-Browser
  7. - Check install by clicking on Oxylbox Setup and then Oxyl Check. You'll see a red error cross for “Apache version” (which is okay, as we're using lighttpd) and one for “Playlist Paths” (which is okay for me as I never use playlists)
  1. Fire up your SC200 and enter the IP and port of the new Oxyl server and connect
  2. Enjoy

When you have installed oxylbox, you can easily switch to openshowcenter (another media-server).

Just unpack the openshowcenter source files in your www directory (f.i. /mnt/HD_a2/www/openshowcenter) and adjust lighttpd.conf in the /mnt/HD_a2/fun_plug.d/etc directory. Where it says

  server.document-root        = "/mnt/HD_a2/www/oxyl/"

Change into

  server.document-root        = "/mnt/HD_a2/www/openshowcenter/"

When you set up Openshowcenter for the first time:

Make a media folder (with subdirectories movie, photo and music)

  mkdir /mnt/HD_a2/www/openshowcenter/media
  mkdir /mnt/HD_a2/www/openshowcenter/media/movie
  mkdir /mnt/HD_a2/www/openshowcenter/media/photo
  mkdir /mnt/HD_a2/www/openshowcenter/media/music

Make symbolic links to your media files stored on your dns f.i. if you have a folder MOVIES and folder MUSIC on your DNS

  ln -s /mnt/HD_a2/MOVIES /mnt/HD_a2/www/openshowcenter/media/movie
  ln -s /mnt/HD_a2/MUSIC /mnt/HD_a2/www/openshowcenter/media/music

Set all config.ini files in the modules subdir to rwxrwxrwx (make sure you are in the /mnt/HD_a2/www/openshowcenter directory)

  chmod 777 ./modules/movie/config.ini
  chmod 777 ./modules/music/config.ini
  chmod 777 ./modules/photo/config.ini
  chmod 777 ./modules/streamcast/config.ini

You don't have to change anything in your client, but i would advise to reconnect or reboot your showcenter.

The showcenter source files can be found at http://sourceforge.net/project/showfiles.php?group_id=95324

Personally i think the kde skin is a little easier on the eye in openshowcenter. To change the skin, open the config.php file and change

  $theme                = "noia"; 

into

  $theme                = "kde";

You can change the language (english,deutsch,finnish,nederlands and swedish are available). Change it in the config.php file (above the theme entry).

When you want to switch back to oxylbox, just change the value in the lighttpd.conf again


Navigation

Personal Tools