[mythtv-users] HDHomeRun Prime SF Bay Area

Robert McNamara robert.mcnamara at gmail.com
Sat Aug 27 05:06:42 UTC 2011


Here's a fun little patch for HDHR Prime users... applies to very
current master, opens up the first configured Prime and rolls through
the channels checking their tunability, subscribed status, and
validity.  Takes a sourceid as an argument.

Example command:

mythocurreporter --sourceid 34

Example output:

2011-08-26 21:59:48.036877 C  mythocurreporter version: master
[v0.25pre-3243-g115daf9-dirty] www.mythtv.org
2011-08-26 21:59:48.036912 N  Enabled verbose msgs:  general
2011-08-26 21:59:48.036953 N  Setting Log Level to LOG_INFO
2011-08-26 21:59:48.037017 I  Added logging to the console
2011-08-26 21:59:48.037027 I  Added database logging to table logging
2011-08-26 21:59:48.037126 N  Setting up SIGHUP handler
2011-08-26 21:59:48.037392 N  Using runtime prefix = /usr
2011-08-26 21:59:48.037535 N  Using configuration directory = /root/.mythtv
2011-08-26 21:59:48.038640 E  Unable to read configuration file mysql.txt
2011-08-26 21:59:48.038674 N  Empty LocalHostName.
2011-08-26 21:59:48.038683 I  Using localhost value of Moriarty
2011-08-26 21:59:48.046749 I  Database connection created: DBManager0
2011-08-26 21:59:48.046786 I  New DB connection, total: 1
2011-08-26 21:59:48.137874 I  Database connection created: DBManager1
2011-08-26 21:59:48.137905 I  New DB connection, total: 2
2011-08-26 21:59:48.316744 I  UPnPautoconf() - Found one UPnP backend
2011-08-26 21:59:48.450435 I  Testing network connectivity to '192.168.0.99'
2011-08-26 21:59:48.450984 I  Starting process manager
2011-08-26 21:59:48.452729 I  Starting IO manager (read)
2011-08-26 21:59:48.452875 I  Starting process signal handler
2011-08-26 21:59:48.452972 I  Starting IO manager (write)
2011-08-26 21:59:48.553099 I  Closing DB connection named 'DBManager0'
2011-08-26 21:59:48.553208 I  Database connection created: DBManager2
2011-08-26 21:59:48.553235 I  New DB connection, total: 2
2011-08-26 21:59:48.554704 I  Connected to database 'mythconverg' at
host: 192.168.0.99
2011-08-26 21:59:48.556926 I  Closing DB connection named 'DBManager2'
2011-08-26 21:59:48.557073 I  Database connection created: DBManager3
2011-08-26 21:59:48.557096 I  New DB connection, total: 2
2011-08-26 21:59:48.557701 I  Connected to database 'mythconverg' at
host: 192.168.0.99
2011-08-26 21:59:48.558847 I  Current locale en_US
2011-08-26 21:59:48.558915 E  Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2011-08-26 21:59:48.566018 I  Loading en_us translation for module mythfrontend
2011-08-26 21:59:48.569267 I  MythCoreContext: Connecting to backend
server: 192.168.0.99:6543 (try 1 of 1)
2011-08-26 21:59:48.570000 I  Using protocol version 69
2011-08-26 21:59:48.571846 N  Opening HDHomeRun 13100674-0...
2011-08-26 21:59:48.639274 I  Connected to database 'mythconverg' at
host: 192.168.0.99
2011-08-26 21:59:51.769387 I  (2)   Subscribed: Yes   Available: Yes
Copy Protected: No   Auth: unknown   CCI: none   Name: KTVU
2011-08-26 21:59:54.773570 I  (3)   Subscribed: Yes   Available: Yes
Copy Protected: No   Auth: unknown   CCI: none   Name: KNTV
2011-08-26 21:59:57.778154 I  (4)   Subscribed: Yes   Available: Yes
Copy Protected: No   Auth: unknown   CCI: none   Name: KRON
2011-08-26 22:00:00.780329 I  (5)   Subscribed: Yes   Available: Yes
Copy Protected: No   Auth: unknown   CCI: none   Name: KPIX
2011-08-26 22:00:03.784607 I  (6)   Subscribed: Yes   Available: Yes
Copy Protected: No   Auth: unknown   CCI: none   Name: KICU
...
2011-08-26 22:01:06.866132 I  (38)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
ESPN
2011-08-26 22:01:09.868232 I  (39)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
ESPN2
2011-08-26 22:01:12.870481 I  (40)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
CSNBA(FSN)
2011-08-26 22:01:15.872485 I  (41)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
CSNET
2011-08-26 22:01:18.876819 I  (42)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
USA-W
2011-08-26 22:01:21.881144 I  (43)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
MTV-W
2011-08-26 22:01:24.883573 I  (44)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
VH1-W
2011-08-26 22:01:27.885847 I  (45)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
SPIKE
...
2011-08-26 22:02:48.992058 I  (82)   Subscribed: Yes   Available: Yes
 Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
GOLF
2011-08-26 22:02:48.992757 I  89 does not appear to be a valid channel.
2011-08-26 22:02:51.995185 I  (109)   Subscribed: Yes   Available: Yes
  Copy Protected: No   Auth: unknown   CCI: none   Name: CSPAN2
...
2011-08-26 22:04:52.147771 I  (276)   Subscribed: Yes   Available: Yes
  Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
HIS-I
2011-08-26 22:04:55.151984 I  315 (Deutsche) does not appear to be a
subscribed channel.
2011-08-26 22:04:58.156116 I  317 (TV5Monde(French) does not appear to
be a subscribed channel.
2011-08-26 22:05:01.160308 I  401 (FSC) does not appear to be a
subscribed channel.
2011-08-26 22:05:04.162375 I  (402)   Subscribed: Yes   Available: Yes
  Copy Protected: No   Auth: subscribed   CCI: unrestricted   Name:
ESPNN


This is sort of a test-run for something I'm thinking of doing to use
an OCUR tuner to keep the channel map up to date at all times.

Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythocurreporter.diff
Type: text/x-patch
Size: 7580 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110826/8a7c157d/attachment.bin 


More information about the mythtv-users mailing list