What i want to demonstrate here are a few tweaks we have added to the control panel over the last year or so that have been added for customers with particular requirements.
Popup Media PlayerIt is possible to provide a link from cast-control that creates a popup media player (WMP).
Open the database.php and add the following at the bottom before and "?>" tags:
$__misc['liveplayer']=true;
Limit News Article DisplayIt is possible to set a limit on the amount of news articles displayed on the first page, use the following variable at the bottom of your database.php
$__misc['newsDisplayLimit'] = 5;
Playlist Manager limitBy default there is a limit of 30 playlists that can be created per service, each service adds another 30 playlists that can be created. This is to limit customers spamming the content directory with files.
Add the following to the bottom of your database.php:
$__misc['playlistPerServer'] = 30;
Do not parse certain log filesSome customers request that the log files be emailed to them at the end of each month, with cast-controls current design these log files are erased. You can add the following line to your database.php, note that each ID listed in the array will be skipped by the log processor and bandwidth tracking will no longer be available:
$__misc['logs_donotparse'] = array(ID,ID,ID);
Custom BitratesIt is possible to extend the bitrate dropdown menu with any rates specified in the BitrateArray below in your database.php. For instance add the following to your database.php to allow NSV streams at rates of 500Kbps:
$__misc['BitrateArray'] = array(24,32,40,48,56,64,80,96,112,128,160,192,224,256,320,500);