Amino STB A130 working examples
Posted: 11 May 2012 11:01
Since there are a lot of questions regarding Amino STBs, i thought i could provide some working examples.
Configuration Page to add/setup channels using DHCP and in my case its called stb.html
DHCP to point your STBs in the right direction:
Configuration Page to add/setup channels using DHCP and in my case its called stb.html
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Enter your Title here, not needed!</title>
<!-- These files are needed for Opera builds, you can download them on the Aminocom.com support page -->
<link href="chan.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="opera_keys.js"></script>
<script type="text/javascript" src="chan.js"></script>
</head>
<body>
<script type="text/javascript">
/* Start functions */
startchannel();
function init(a)
{
/* Setup channel list */
add(1, "igmp://239.1.1.1:11111", "Channel Name");
add(2, "igmp://239.1.1.2:11111", "Another Name");
add(3, "igmp://239.1.1.3:11111", "Again a Name");
add(4, "igmp://239.1.1.4:11111", "YMCA!");
add(5, "http://10.10.10.1/index.php", "You got it, a Name");
addChannelList(1,5);
/* Select initial stream */
start(a);
}
/* Script to start another Channel with each STB */
function startchannel()
{
var mac;
mac=ASTB.GetMacAddress();
if (mac=="MAC of first STB")
{
init(1); /* Select Channel for STB and start it */
}
else if (mac=="MAC of second STB")
{
init(2);
}
else if (mac=="MAC of third STB")
{
init(3);
}
else if (mac=="MAC of fourth STB")
{
init(4);
}
else if (mac=="MAC of fifth STB")
{
init(1);
}
else
{
document.write(mac); /* Show MAC on Screen */
}
}
</script>
<!-- Needed for Opera builds -->
<div id="channel_popup"></div>
<div id="channel_info"></div>
<div id="channel_menu"></div>
</body>
</html>
DHCP to point your STBs in the right direction:
Code: Select all
vendor-option-space AMINO;
option AMINO.homepage "http://10.10.10.1/stb.html";