All pastes #589988 Raw Edit

Something

public text v1 · immutable
#589988 ·published 2007-06-26 09:13 UTC
rendered paste body
<?php

/*
 * Web-Frontend for the STREAMNIK-IPTV-Server
 * Visit www.streamnik.de for details
 *
 * conf.inc.php contains main configuration settings
 *
 * Copyright (C) 2007 Bruno Br&#65533;dner
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */



  // URL of the Streamnik-server
  $server = "http://192.168.99.215:12000/"; // with trailing slash!

  // Filename and suffix for the video stream
  $filename = "video";
  $suffix   = ".ogg";

  // URL of the Cortado player. This must be placed on the same server
  // as the Streamnik server, because of Java security restrictions
  // See http://www.flumotion.net/cortado/ for mor information about the
  // Cortado Player
  $cortadoarchive = "http://192.168.99.215/stream/cortado/cortado-ovt-stripped-0.2.2.jar";

  // Access to the database
  // This is the same database which is used by the Streamnik server.
  $dbserver   = "localhost";  // Server
  $dbname     = "streamnik";  // Name of the database
  $dbuser     = "root";       // Username
  $dbpassword = "";   // Password

  // Path and URL to previwe pics, if created out of the videos:
  $previewpath = "";
  $previewurl  = "";

  // Refresh intervall for the continuously displayed programme schedule
  // in seconds (must be placed inside " ")
  $schedulerefresh = "30";

  // Time offest and Daylight Saving Time
  $timeoffset = date("Z"); // This should work on most systems

  // If the above is not working properly you have to set a
  // time offset manually for your timezone and if necessary
  // change that for Daylight Saving Time (in seconds):
  //   $timeoffset = 7200;  // +0200 h -> CEST (Sommerzeit)
  //   $timeoffset = 3600;  // +0100 h -> CET  (Normalzeit)

  // The links inside the frontend are secured by hashes to verify
  // that all parameters are comming from the server itself. Choose
  // something random:
  $hashtext = "sJHgdtew5432UvdE"; // Unique secret Key for this installation (16 chars)

?>