view · edit · print · history

SwissCenter is a great application for the Pinnacle Showcenter and Neuston Virtuoso MC-500. Most functions now work. See below how to install it.

  1. Install the following ipkgs:
  2. Install the swisscenter files under /opt/share/www/swisscenter
  3. Then change the permissions of the files:
    find /opt/share/www/swisscenter -type f -print0 | xargs -0 chmod 644
    find /opt/share/www/swisscenter -type d -print0 | xargs -0 chmod 755
    chown -R nobody /opt/share/www/swisscenter
    chown nobody /opt/share/www/swisscenter
  4. You will need to edit httpd.conf that get installed with apache to include the following:
    Listen 8000
    DocumentRoot "/opt/share/www/swisscenter"
    <Directory "/opt/share/www/swisscenter">
    Options Indexes FollowSymLinks Multiviews
    AllowOverride None
    Order allow,deny
    Allow from all

    Also add this at the bottom of the file:
    <ifModule mod_dir.c>
    DirectoryIndex index.html index.php
    ErrorLog /var/log/swisscentererror.log
    LogLevel debug
    CustomLog /var/log/swisscenteraccess.log combined
    Alias /root/ "/"
  5. Change the error level in php.ini to: error_reporting = E_ALL & ~E_NOTICE
    instead of: error_reporting = E_ALL

Part 2

  1. Then make some code changes in the swisscenter php files:
    In ./ext/getid3/getid3.php edit comment out the following section as below:
    #if ($this->option_tag_apetag) {
    #if (!@include_once(GETID3_INCLUDEPATH.'module.tag.apetag.php')) {
    #return $this->error('module.tag.apetag.php is missing - you may disable option_tag_apetag.');
    #$tag = new getid3_apetag($fp, $this->info);
  2. In .\config\index.php and ./do_refresh.php change:
    # run_background('media_search.php');
  3. Edit the ./base/settings.php and commented out most of the log-file things and defined the variable to my directory: // Where is the SwissCenter installed?
    // if (!empty($_SERVER['DOCUMENT_ROOT']))
    // define //('SC_LOCATION',str_replace('\\','/',os_path($_SERVER["DOCUMENT_ROOT"],true)));
    // elseif (!empty($_SERVER['PHP_SELF']))
    // define ('SC_LOCATION', //str_replace('\\','/',dirname($_SERVER['PHP_SELF']).'/'));
    // else
    // define ('SC_LOCATION', //str_replace('\\','/',dirname($_SERVER["argv"][0]).'/'));
    define ('SC_LOCATION','/opt/share/www/swisscenter/');
  4. Edit ./base/server.php to hard code the server address (addapt it if your ip-address and port are different):
    //if (is_server_iis())
    //return 'http://'.$_SERVER['LOCAL_ADDR'].":".$_SERVER['SERVER_PORT'].'/';
    //return 'http://'.$_SERVER['SERVER_ADDR'].":".$_SERVER['SERVER_PORT'].'/';
    return '';
  5. Furthermore, you could replace the ./ext/getid3 by a newer one from www.getid3.org.
  6. The config menu of swisscenter does not work under apache, yet. So, ipkg php-thttpd.
  7. Edit the thttpd config file (it's in /opt/etc):
    "leave the rest as it is"
  8. Configure Swisscenter in your web brouwser. Go to or your own ip-address.
  9. The auto search for new files does not work, so manually populate the database with: sites)
  10. Test Swisscenter in a browser. Go to or your own ip-address.
  11. Add the server to your server list in your Showcenter or similar equipment.

Thanks to Mark and Rudi!

See: http://www.swisscenter.co.uk/index.php?option=com_simpleboard&Itemid=42&func=view&catid=12&id=751


The latest version of Swisscenter seem to work nicely on the latest DS101 firmware from synology. You will have to add some of the packages manually (use the nslu versions) - like eaccellerator, php, libstdc++ and other dependencies. download them here: http://ipkgfind.nslu2-linux.org/ and install with 'ipkg install <filename>. MySQL and Apache is already installed, and you dont have to use thttpd for the configuration screens anymore.

You should stop at part 2 using this guide, do not modify the swisscenter php-files (They will be overwritten the minute you do an update)

Note: Swisscenter runs fairly slow on the DS101, but looks good. Oxylbox is better for speed.



avgjoemomma: I have the SC 1.22 running on lighttpd (php, fastcgi, php-mysql, php=gd, eaccelerator), but my problem is with the MySQL database. I have MySQL version 5 preinstalled, but the ipkg install is for 4.1.22. I've tried replacing the libraries with the MySQL5? versions but the php-mysql .so files error out if I do so. Any ideas?

This page is password protected.

The password is "swiss". Let's see if that stops the automated wiki spam.

view · edit · print · history · Last edited by avgjoemomma.
Based on work by fcarolo, Medved, marceln, Jon, Willard Korfhage, Ken, rwhitby, and bART.
Originally by bART.
Page last modified on January 27, 2009, at 03:24 PM