Download Print this page

Amino 4 Series Configuration Manual page 24

Advertisement

STB CONFIGURATION FILES
2.2.2
Example script to set NOR Flash settings
NOR Flash settings cannot be edited via a configuration file, instead they need to be changed directly. The 
following example shows how to add 
(
). This is included in the software upgrade image, and executed when the software is loaded on 
upgrade.sh
the STB.
The settings in this example define static multicast values:
#!/bin/sh
libconfig-set NORFLASH.MULTICAST_BOOTSTRAP_GROUP 239.255.1.1
libconfig-set NORFLASH.MULTICAST_BOOTSTRAP_PORT 11111
libconfig-set NORFLASH.MULTICAST_UPGRADE_GROUP 239.255.1.2
libconfig-set NORFLASH.MULTICAST_UPGRADE_PORT 11111
2.2.3
NOR Flash ‐ list of settings
For further information see Appendix A, "NOR Flash settings".
2.3
Channel changer application 
If you need a basic channel changer application, some example HTML code is available for download from the 
Amino Support Site at Online Support > Downloads  > JMACX and Application Development > 
channel_changer.tgz
The easiest way to use this is to install it on a webserver editing the 
stream addresses:
function init()
addChannelList(0,5); // the 5 should be replaced with the number
of channels you are adding above
Set the homepage on your STB to point to this page when they boot up.
2.4
Trusted domains file
The 
 file is not normally supplied as part of a software release, instead, you will need to create 
trsdmns.txt
this manually, as shown in 2.4.1. The 
and Macrovision are enabled for each. The 
text editor.
The trusted domains file is only used with the Opera browser.
 24 
CONTENTS
libconfig
{
/* Setup channel list */
add(0, "igmp://239.1.1.1:11111", "description1");
add(1, "igmp://239.1.1.2:11111", "description2");
add(2, "igmp://239.1.1.3:11111", "description3");
add(3, "igmp://239.1.1.4:11111", "description4");
add(4, "igmp://239.1.1.5:11111", "description5");
//addChannelList();
/* Select initial stream */
start(0);
}
trsdmns.txt
trsdmns.txt
INDEX
 calls that change NOR Flash settings to the upgrade script 
init
 file defines trusted domains and specifies whether JMACX 
 file can be edited manually on the STB using  the VI 
 function (below) to include your 
© Amino Communications Ltd. 2018 

Advertisement

loading

This manual is also suitable for:

5 series0 seriesA129A140H140A540pvr ... Show all