Changeset d432b851a3d9d90da1c66822fdc0562b814afa80
- Timestamp:
- 02/25/08 22:51:26
(11 months ago)
- Author:
- KRKeegan <-NOSPAM-kevin@krkeegan.com>
- git-committer:
- KRKeegan <-NOSPAM-kevin@krkeegan.com> 1204001486 -0800
- git-parent:
[390646d0edea5e5f9a7ac57f9d0ee6f91488ea4c]
- git-author:
- KRKeegan <-NOSPAM-kevin@krkeegan.com> 1204001486 -0800
- Message:
Pull raw data from config
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4ac7bd1 |
rd432b85 |
|
| 38 | 38 | t = Template(file=os.path.join(SCRIPTDIR,'templates', 'settings.tmpl')) |
|---|
| 39 | 39 | t.container = cname |
|---|
| 40 | | t.server_data = dict(config.items('Server')) |
|---|
| | 40 | t.server_data = dict(config.items('Server', raw=True)) |
|---|
| 41 | 41 | t.server_known = ["port", "guid", "ffmpeg", "beacon", "hack83", "debug", \ |
|---|
| 42 | 42 | "optres", "audio_br", "video_br", "max_video_br", "width",\ |
|---|
| 43 | 43 | "height", "ffmpeg_prams", "bufsize"] |
|---|
| 44 | | t.shares_data = shares_data = [ (section, dict(config.items(section))) \ |
|---|
| | 44 | t.shares_data = shares_data = [ (section, dict(config.items(section, raw=True))) \ |
|---|
| 45 | 45 | for section in config.sections() \ |
|---|
| 46 | 46 | if not(section.startswith('_tivo_') \ |
|---|
| … | … | |
| 49 | 49 | config.get(section,'type').lower() != 'admin')] |
|---|
| 50 | 50 | t.shares_known = ["type", "path", "auto_subshares"] |
|---|
| 51 | | t.tivos_data = [ (section, dict(config.items(section))) for section in config.sections() \ |
|---|
| | 51 | t.tivos_data = [ (section, dict(config.items(section, raw=True))) for section in config.sections() \ |
|---|
| 52 | 52 | if section.startswith('_tivo_')] |
|---|
| 53 | 53 | t.tivos_known = ["aspect169", "audio_br", "video_br", "width", "height", "ffmpeg_prams"] |
|---|