Bases: builtins.object
Returns a list of strings which represent a subprocess command suitable for feeding into subprocess.Popen as the args parameter.
| Returns: | list of strings |
|---|---|
| Return type: | list |
Bases: builtins.Exception
Bases: ravenc.command.CommandError
dvd.py - Basic DVD routines.
Routines to detect DVD changes, to read the DVD contents and to hold the DVD data.
Bases: PyQt4.QtCore.QAbstractItemModel
A tree model for a Qt Tree widget. Represents a list of DVD nodes with title nodes underneath each DVD showing the length of the title.
| Parameters: | parent (PyQt4.QtCore.QObject) – parent object |
|---|
Necessary override. Returns the number of columns for the children of the given parent.
| Parameters: | parent (PyQt4.QtCore.QModelIndex) – parent row |
|---|---|
| Returns: | Number of columns |
| Return type: | int |
Necessary override. Returns the data stored under the given role for the item referred to by the index.
| Parameters: |
|
|---|---|
| Returns: | Data for the given index and role |
| Return type: | PyQt4.QtCore.QVariant |
Find the DVD position in the data tree from its device path, e.g. /dev/sr0.
| Parameters: | devpath (str) – The device path of the DVD to find |
|---|---|
| Returns: | The row of the DVD in the data tree |
| Return type: | int |
Necessary override. Returns the item flags for the given index.
| Parameters: | index (PyQt4.QtCore.QModelIndex) – Row index |
|---|---|
| Returns: | Returns the item flags |
| Return type: | PyQt4.QtCore.Qt.QItemFlags |
Returns the underlying node from an index. If the index is invalid then return the root node.
| Parameters: | index (PyQt4.QtCore.QModelIndex) – Row index |
|---|---|
| Returns: | The node at index |
| Return type: | ravenc.utils.Node |
Necessary override. Returns the data for the given role and section in the header with the specified orientation.
| Parameters: |
|
|---|
Necessary override. Return a QModelIndex that corresponds to the given row, column and parent node.
| Parameters: | |
|---|---|
| Returns: | Returns the index of the item |
| Return type: | PyQt4.QtCore.QModelIndex |
Actions to take when a DVD is inserted:
| Parameters: | device (pyudev.Device) – The device in which the DVD is inserted |
|---|---|
| Returns: | If inserting into the tree was successful |
| Return type: | bool |
Insert a list of titles into the data tree under a DVD node.
| Parameters: |
|
|---|---|
| Returns: | Success of insert |
| Return type: | bool |
Signal emitted when lsdvd returns data.
Slot method. Actions to take when udev signals a device change.
| Parameters: | dev (pyudev.Device) – The device which has changed |
|---|
Slot method. Receive data from lsdvd. Add the data to the associated DVD node.
| Parameters: |
|
|---|
Necessary override. Returns the parent of the node with the given QModelIndex.
| Parameters: | index (PyQt4.QtCore.QModelIndex) – Row index |
|---|---|
| Returns: | Returns parent of the node |
| Return type: | PyQt4.QtCore.QObject |
Remove a DVD node from the data tree.
| Parameters: | position (int) – The DVD to remove |
|---|---|
| Returns: | Success of removal |
| Return type: | bool |
Necessary override. Returns the number of rows under the given parent.
| Parameters: | parent (PyQt4.QtCore.QModelIndex) – parent row |
|---|---|
| Returns: | Number of rows |
| Return type: | int |
Bases: ravenc.utils.Node
DVD node for the Qt abstract data model. For use in the Tree Widget.
| Parameters: |
|
|---|
Bases: ravenc.utils.Node
Bases: datetime.timedelta
Bases: ravenc.utils.Node
Bases: threading.Thread
Thread class to run the lsdvd command. Data is returned via a signal.
| Parameters: |
|
|---|
Start the lsdvd thread. Emits datasig on completion.
Bases: ravenc.utils.Node
Title node for the Qt abstract data model. For use in the Tree Widget.
| Parameters: |
|
|---|
Bases: ravenc.encoders.CommandWithOutfile
Bases: ravenc.command.Command
Bases: PyQt4.QtGui.QComboBox
Bases: ravenc.forms.CodecGroup
Bases: PyQt4.QtGui.QLineEdit
Bases: PyQt4.QtGui.QRegExpValidator
Bases: PyQt4.QtGui.QGroupBox
Bases: threading.Thread
Bases: PyQt4.QtGui.QDialog
Bases: PyQt4.QtGui.QProgressBar
Bases: PyQt4.QtGui.QSpinBox
Bases: PyQt4.QtGui.QComboBox
Bases: ravenc.forms.CodecGroup
Bases: PyQt4.QtGui.QComboBox
Bases: ravenc.forms.CodecGroup
Bases: builtins.object
Bases: ravenc.utils.SourceBase
Bases: builtins.object
Bases: builtins.type
Bases: builtins.object
This is the Baserip package.
The alkali version of acidrip, a desktop utility to make ripping DVDs easy.