PHP Classes

File: playsong.php

Recommend this page to a friend!
  Classes of Rahman Haghparast   PHP Live Radio Streaming   playsong.php   Download  
File: playsong.php
Role: Example script
Content type: text/plain
Description: the file to start playing the mp3 files based on the time table
Class: PHP Live Radio Streaming
Serve MP3 audio files to play from a playlist
Author: By
Last change:
Date: 8 years ago
Size: 296 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: Rahman
 * Date: 12/3/2015
 * Time: 1:21 PM
 */
require 'offlineradio.class.php';
$init = new stdClass();
$init->mp3Folder = dirname(__FILE__).DS.'files';
$init->playListName = 'list.txt';
$radio = new OfflineRadio($init);
$radio->playList();