MTPCenter - server solution for Pinnacle Showcenter

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search


Only notes so far - not finished


You will need to install:

  1. Apache
  2. PHP
  3. MySQL
  4. GD (for this I simply did a...)
apt-get install php4-gd


Download MTPCenter into apache's DocumentRoot

cd /var/www

Untar the downloaded file and enter the new directory

tar zxvf  linux_mtpcenter_1.0.tar.gz
cd linux_mtpcenter_1.0

Change user:group

 chown -R www-data:www-data /var/www/linux_mtpcenter_1.0


Now you will need to create a file in apache to see MTPCenter

pico /etc/apache/conf.d/mtpcenter

and add this to that file

# mtpcenter Apache Virtual Host Configuration file
Listen 8280
<VirtualHost _default_:8280>
      DocumentRoot "/var/www/linux_mtpcenter_1.0"
      <Directory "/var/www/linux_mtpcenter_1.0">
              Options Indexes FollowSymLinks MultiViews
              AllowOverride None
              Order allow,deny
              Allow from all
      <IfModule mod_dir.c>
              DirectoryIndex index.html index.php

Restart apache

/etc/init.d/apache restart

Run It

Go to MTPCenter on your Linkstation


ensure that the following settings in your php.ini are set as listed below

; Data Handling ;

register_globals = Off

[Informix]   (on line 792/1077)
; Initialize session on request startup.
session.auto_start = 0

You should get this -


The next thing to do is change the language - unless you are German ofcourse

cd /var/www/linux_mtpcenter_1.0/config

// Used Language
// possible values so far: "de" "eng" "fr"
$LangUsed="de"; "eng";

You'll need to enter directories where you want MTPCenter to look for your files in the relevent section and enter MySQL details etc...

// ###### PART: Standard Directories

// Music Main Directory

// MP3 Directory


It didn't really work for me until I installed this update, then it all just started to work

cd /var/www
tar zxvf linux_mtpcenter_1.0_Update_2.tar.gz

You need to add this aswell (?)

pico /var/www/linux_mtpcenter_1.0/config/

// ######## Added for Update2
$Music_Sort_Type = array("Title", "Title", "Track", "Title", "Title", "Title", "Track", "Title");
$External_Software="/usr/local/bin/ts2ps <VPID> <APID>";