Update of /cvsroot/quickrip/ng
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28094
Modified Files:
base.py
Removed Files:
base.pyc config.pyc output.pyc
Log Message:
Minor additions to base and cli.
Removed .pyc files from repository.
Index: base.py
===================================================================
RCS file: /cvsroot/quickrip/ng/base.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** base.py 1 Mar 2004 23:17:22 -0000 1.2
--- base.py 3 Mar 2004 01:45:15 -0000 1.3
***************
*** 109,115 ****
- size of resultant file (MB)"""
try:
! self.filesize = int(filesize)
! self.length = int(length)
! self.audiobr = int(audiobr)
self.rate = ((self.filesize * 8192) / self.length) - self.audiobr
self.rate = self.rate * 0.98 # Correction based on addition of credits and usual error
--- 109,115 ----
- size of resultant file (MB)"""
try:
! self.filesize = float(filesize)
! self.length = float(length)
! self.audiobr = float(audiobr)
self.rate = ((self.filesize * 8192) / self.length) - self.audiobr
self.rate = self.rate * 0.98 # Correction based on addition of credits and usual error
***************
*** 125,131 ****
- bitrate of title (Kbps)"""
try:
! self.length = int(length)
! self.audiobr = int(audiobr)
! self.bitrate = int(bitrate)
self.filesize = ((self.bitrate + self.audiobr) * self.length) / 8192
self.filesize = self.filesize * (1 / 0.98) # Correction based on addition of credits and usual error
--- 125,131 ----
- bitrate of title (Kbps)"""
try:
! self.length = float(length)
! self.audiobr = float(audiobr)
! self.bitrate = float(bitrate)
self.filesize = ((self.bitrate + self.audiobr) * self.length) / 8192
self.filesize = self.filesize * (1 / 0.98) # Correction based on addition of credits and usual error
***************
*** 158,163 ****
title['id'] = t['trackno']
title['name'] = ''.join([self.raw_dvd.label, '-', str(t['trackno'])])
! title['size'] = 680
! title['vbr'] = min(2000, self.calcRate(int(t['length']), 96, 680))
title['abr'] = 128
title['length'] = t['length']
--- 158,163 ----
title['id'] = t['trackno']
title['name'] = ''.join([self.raw_dvd.label, '-', str(t['trackno'])])
! title['size'] = 680.0
! title['vbr'] = float(min(2000, self.calcRate(int(t['length']), 96, 680.0)))
title['abr'] = 128
title['length'] = t['length']
--- base.pyc DELETED ---
--- config.pyc DELETED ---
--- output.pyc DELETED ---
|