MTPCenter - server solution for Pinnacle Showcenter

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 14:02, 6 July 2006 by Bauldrick (Talk | contribs)

Jump to: navigation, search

Only notes so far - not finished


Requirements

You will need to install:

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


Installation

cd /var/www
wget http://www.panczyk.org/linux/linux_mtpcenter_1.0.tar.gz
tar zxvf  linux_mtpcenter_1.0.tar.gz
cd linux_mtpcenter_1.0
chown -R www-data:www-data /var/www/linux_mtpcenter_1.0
pico /etc/apache/conf.d/mtpcenter
# 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
      </Directory>
      <IfModule mod_dir.c>
              DirectoryIndex index.html index.php
      </IfModule>
</VirtualHost>


/etc/init.d/apache restart
http:/<LinkstationIP>:8280

ensure that the following settings in the 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

should get this - works on Linkstheater, need to write up the rest

MTPCenter01.JPG


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


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


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

// Music Main Directory
$MusicDir="/mnt/music/";

// MP3 Directory
$AudioDir="";

Update

wget http://www.panczyk.org/linux/linux_mtpcenter_1.0_Update_2.tar.gz
tar zxvf linux_mtpcenter_1.0_Update_2.tar.gz
// ######## Added for Update2
$Music_Stream=true;
$Music_Sort_Type = array("Title", "Title", "Track", "Title", "Title", "Title", "Track", "Title");
$External_Remux=false;
$External_Identify=array('-PIN-230','-VNE-258',,,);
$External_Write_SH=true;
$External_Script="temp/externremux.sh";
$External_Software="/usr/local/bin/ts2ps <VPID> <APID>";

MTPCenter01.JPG