Changeset d432b851a3d9d90da1c66822fdc0562b814afa80

Show
Ignore:
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
  • plugins/admin/admin.py

    r4ac7bd1 rd432b85  
    3838        t = Template(file=os.path.join(SCRIPTDIR,'templates', 'settings.tmpl')) 
    3939        t.container = cname 
    40         t.server_data = dict(config.items('Server')) 
     40        t.server_data = dict(config.items('Server', raw=True)) 
    4141        t.server_known = ["port", "guid", "ffmpeg", "beacon", "hack83", "debug", \ 
    4242                          "optres", "audio_br", "video_br", "max_video_br", "width",\ 
    4343                          "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))) \ 
    4545                                        for section in config.sections() \ 
    4646                                        if not(section.startswith('_tivo_') \ 
     
    4949                                         config.get(section,'type').lower() != 'admin')] 
    5050        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() \ 
    5252                         if section.startswith('_tivo_')] 
    5353        t.tivos_known = ["aspect169", "audio_br", "video_br", "width", "height", "ffmpeg_prams"]