summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/contents/list_cardmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/supplemental-web/contents/list_cardmap.py')
-rwxr-xr-xabs/core/supplemental-web/contents/list_cardmap.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/abs/core/supplemental-web/contents/list_cardmap.py b/abs/core/supplemental-web/contents/list_cardmap.py
index 16349b7..cca2b8c 100755
--- a/abs/core/supplemental-web/contents/list_cardmap.py
+++ b/abs/core/supplemental-web/contents/list_cardmap.py
@@ -103,16 +103,25 @@ for statictuner in mbelist:
print "Couldn't open tuner map"
print "</br>"
else:
+ ceton_url = None
+ hdhr_url = None
if statictuner[0] == "hdhr":
hdhr_url = statictuner[1].split("-")[-1]
+ elif statictuner[0] == "infinitv":
+ ceton_port = statictuner[3].strip()
+ ceton_url = "http://%s:%s" %(hostname,ceton_port)
- print "<li> %s&nbsp;&nbsp;&nbsp%s" %(statictuner[1] ,statictuner[0])
+ #print "<li> %s&nbsp;&nbsp;&nbsp%s" %(statictuner[1] ,statictuner[0])
+ print "<li> %s&nbsp;&nbsp;&nbsp" %(statictuner[1])
print "</br>"
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static device node: %s" %statictuner[2]
if hdhr_url:
print "</br>"
print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device webpage: <a href="http://%s">http://%s</a> ' %(hdhr_url.strip(),hdhr_url.strip())
+ if ceton_url:
+ print "</br>"
+ print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device webpage: <a href="%s">%s</a> ' %(ceton_url.strip(),ceton_url.strip())
print "</br>"
print "</br>"