Home | Trees | Index | Help |
|
---|
Package CedarBackup2 :: Package writers :: Module dvdwriter :: Class MediaDefinition |
|
object
--+
|
MediaDefinition
Class encapsulating information about DVD media definitions.
The following media types are accepted:MEDIA_DVDPLUSR
: DVD+R media (4.4 GB capacity)
MEDIA_DVDPLUSRW
: DVD+RW media (4.4 GB capacity)
Note that the capacity attribute returns capacity in terms of ISO
sectors (util.ISO_SECTOR_SIZE)
. This is for compatibility
with the CD writer functionality.
Method Summary | |
---|---|
Creates a media definition for the indicated media type. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Property Summary | |
---|---|
mediaType : Configured media type. | |
rewritable : Boolean indicating whether the media is rewritable. | |
capacity : Total capacity of media in 2048-byte sectors. |
Method Details |
---|
__init__(self,
mediaType)
Creates a media definition for the indicated media type.
|
Property Details |
---|
mediaTypeConfigured media type. |
rewritableBoolean indicating whether the media is rewritable. |
capacityTotal capacity of media in 2048-byte sectors. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Mar 29 20:58:30 2007 | http://epydoc.sf.net |