Differences
This shows you the differences between the selected revision and the current version of the page.
howto:php:oxyl 2008/05/01 22:11 | howto:php:oxyl 2017/09/06 18:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | EegDPr <a href="http://hntpwekkirzz.com/">hntpwekkirzz</a>, [url=http://vovwbqbzdsil.com/]vovwbqbzdsil[/url], [link=http://ttwrhpomjolb.com/]ttwrhpomjolb[/link], http://eiqlplzzbjpc.com/ | + | ====== Oxyl media-server for Pinnacle ShowCenter 200 runs fine ====== |
+ | This information was taken from the forum | ||
+ | http://dns323.kood.org/forum/t686-Success-Oxyl-mediaserver-Pinnacle-ShowCenter-runs-fine.html | ||
+ | |||
+ | Special thanks to Emacs | ||
+ | (yes it should be cleaned up but tis for another day) | ||
+ | - Your DNS323 needs access to the Internet to start Oxyl (it checks for updates). Verify if this is working beforehand | ||
+ | - - 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 | ||
+ | - - Only continue after above test works | ||
+ | |||
+ | - 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 ;-) | ||
+ | - You need to download the Oxyl tar file http://www.oxyl.de | ||
+ | - - 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" | ||
+ | - Copy the tar file to your DNS 323 (either by FTP or copy to a mounted drive) | ||
+ | - telnet to the DNS 323, find the "oxylbox-V2.50_lin.tar.gz", and gunzip and untar it into a dedicated folder | ||
+ | - - this is done by the following steps: | ||
+ | - - mkdir /mnt/HD_a2/www/ | ||
+ | - - mkdir /mnt/HD_a2/www/oxyl | ||
+ | - - 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 ;-) | ||
+ | - - cd /mnt/HD_a2/www/oxyl | ||
+ | - - "gunzip oxylbox-V2.50_lin.tar.gz" | ||
+ | - - and then "tar -xvf "oxylbox-V2.50_lin.tar" | ||
+ | - - Set up the lighttp config file ( /mnt/HD_a2/fun_plug.d/etc/lighttpd.conf ) | ||
+ | - - -> 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. | ||
+ | - Set up Oxyl "functions.inc" file in the /mnt/HD_a2/www/oxyl/common folder | ||
+ | - - -> see this description: http://www.oxyl.de/wbboard/thread.php?t … 238a3e1e6d | ||
+ | - - Or take the attached "functions.inc" file (in the files.tar) | ||
+ | - - 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 | ||
+ | |||
+ | - Create some media folders for your videos, music and pictures | ||
+ | - - 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 | ||
+ | - - 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". | ||
+ | - Copy some media files in the new folders. Make sure they can be read by everyone. | ||
+ | - Make the start lighttp script from Fonz' funPlug executable (chmod a+x /mnt/HD_a2/fun_plug.d/start/lighttpd.sh) and reboot | ||
+ | - - Alternative (probably better): start the lighttpd manually first an see if it works (see 11.1 for logfile locations) ;-) | ||
+ | - Connect to the lighttp /Oxyl server from a PC using the webbrowser of your choice (with my config: http://192.168.0.202:8001 ) | ||
+ | - - 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" | ||
+ | - 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. | ||
+ | - - Click on Oxylbox Setup | ||
+ | - - Click (again) on Oxylbox Setup | ||
+ | - - Click on Softwareupdate | ||
+ | - - Click on each available update | ||
+ | |||
+ | - Checkout the available plugins for Oxyl and install whatever you like | ||
+ | - - Click on Oxylbox Setup | ||
+ | - - Click (again) on Oxylbox Setup | ||
+ | - - Click on Softwareupdate | ||
+ | - - Download attachments and skins as you wish | ||
+ | |||
+ | - Configure the media locations within the Oxyl webinterface | ||
+ | - - Click on Oxylbox Setup | ||
+ | - - Click on Video-Browser | ||
+ | - - Click on "Basispfade browsing" | ||
+ | - - Enter "/mnt/HD_a2/media/video" | ||
+ | - - repeat for Audio-Browser | ||
+ | - - 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) | ||
+ | |||
+ | - Fire up your SC200 and enter the IP and port of the new Oxyl server and connect | ||
+ | - 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 |