Changeset 38ba163c3473da4cf4d54591704b1b58dfdd2f63

Show
Ignore:
Timestamp:
01/24/08 17:05:51 (10 months ago)
Author:
wgw <tjm1100@gmail.com>
git-committer:
wgw <tjm1100@gmail.com> 1201215951 -0600
git-parent:

[d895ed6be74bc6b9167c119ab28673fea7154920]

git-author:
wgw <tjm1100@gmail.com> 1201215951 -0600
Message:

Set default audio bitrate for HD Tivo's

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • config.py

    rd895ed6 r38ba163  
    164164        audiobr = int(max(int(strtod(config.get('Server', 'audio_br'))/1000), 64)/64)*64 
    165165        return str(min(audiobr, getMaxAudioBR(tsn))) + 'k' 
    166     except NoOptionError: #default to 192 
    167         return '192k' 
     166    except NoOptionError: #defaults for S3/S2 TiVo 
     167        if tsn and tsn[:3] in getHDtivos(): 
     168            return '384k' 
     169        else: 
     170            return '192k' 
    168171 
    169172def getAudioCodec(tsn = None):