diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
commit | 4e0ed14b738b9989d4360be63f472323cfda3305 (patch) | |
tree | 39d7bf63bdac3c1cd76f4f1ae3041113911e782a /abs/core/LinHES-config | |
parent | c7033cd90ab47e9c739e492bd2de1c50699e7516 (diff) | |
download | linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.zip linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.gz linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.bz2 |
linhes-config: list the ip of network tuners, and provide a link on the supplemental webpage
refs #898
Diffstat (limited to 'abs/core/LinHES-config')
-rwxr-xr-x | abs/core/LinHES-config/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/LinHES-config/autocard.py | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD index f4ab4d0..2c4999c 100755 --- a/abs/core/LinHES-config/PKGBUILD +++ b/abs/core/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.3 -pkgrel=207 +pkgrel=208 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config ) pkgdesc="Install and configure your system" depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted' @@ -150,7 +150,7 @@ md5sums=('32fc2b52809231d75a72492b91eeed74' 'ab2aa42c2947148c2b1cac0ade6d1d55' 'd429b59d3cfb37b0624c6a4a71a7c2c0' 'f6a935c35123fdc7c259c01cbc794a64' - 'd36d2e1a363e94bb8ba1e724c8d982fc' + 'cd03c0f179f756665ff7750e234ac02a' 'd3490e93f313bbbcbc6c3693c56b9c17' '3d1e4a119f38cff0498bf8a67e94e4b3' '71fd2d0d448fc2fcd15415a1beed7109' diff --git a/abs/core/LinHES-config/autocard.py b/abs/core/LinHES-config/autocard.py index 3d11fe0..8b70465 100644 --- a/abs/core/LinHES-config/autocard.py +++ b/abs/core/LinHES-config/autocard.py @@ -317,10 +317,12 @@ class v4l_tuners(): def get_static_device(self): return self.staticdevice + #----- class hdhr_tuners(): - def __init__(self, device): + def __init__(self, device,ip): self.device = device + self.ip = ip self.description = self.find_description() self.staticdevice = device @@ -369,6 +371,7 @@ class hdhr_tuners(): #only used by dvb, but here to be complete self.tuner_index = index + def get_dev_node(self): return self.device @@ -376,7 +379,8 @@ class hdhr_tuners(): return "hdhr" def get_description(self): - return self.description + desc = "%s - %s" %(self.description,self.ip) + return desc def get_udev_rule(self): return @@ -386,6 +390,10 @@ class hdhr_tuners(): def get_static_device(self): return self.staticdevice + + + + #----- class dvb_tuners(): @@ -589,9 +597,10 @@ def gather_hdhr(tuner_list): else: for line in lines: hdhrdevice=line.strip().split()[2] + hdhrip = line.strip().split()[5] tuners = find_hdhr_tuner(hdhrdevice) for t in tuners: - tuner_list.append(hdhr_tuners(t)) + tuner_list.append(hdhr_tuners(t,hdhrip)) except: print "Error finding HDHOMERUN" return tuner_list |