Changeset 999f24697d46b6c44f37e7512f9939c527ad4860
- Timestamp:
- 02/28/07 23:50:05
(2 years ago)
- Author:
- Jason Michalski <armooo@armooo.net>
- git-committer:
- Jason Michalski <armooo@armooo.net> 1172728205 +0000
- git-parent:
[32e2d9d563d64b046553036f3c0e2aecdd027765]
- git-author:
- Jason Michalski <armooo@armooo.net> 1172728205 +0000
- Message:
pyTivo
- Using the GUID config setting
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rb02cc7d |
r999f246 |
|
| 18 | 18 | beacon = [] |
|---|
| 19 | 19 | |
|---|
| | 20 | from Config import config |
|---|
| | 21 | |
|---|
| | 22 | if config.has_option('Server', 'GUID'): |
|---|
| | 23 | guid = config.get('Server', 'GUID') |
|---|
| | 24 | else: |
|---|
| | 25 | guid = '123456' |
|---|
| | 26 | |
|---|
| 20 | 27 | beacon.append('tivoconnect=1') |
|---|
| 21 | 28 | beacon.append('swversion=1') |
|---|
| 22 | 29 | beacon.append('method=broadcast') |
|---|
| 23 | | beacon.append('identity={AD78BB50-6E59-45E3-B955-1CA740E434C9}') |
|---|
| | 30 | beacon.append('identity=%s' % guid) |
|---|
| 24 | 31 | beacon.append('machine=Armooo-Py') |
|---|
| 25 | 32 | beacon.append('platform=pc') |
|---|