Bases: object
Processing unit for transcoding a single file.
Multiple instances of this class are asynchronously executed in a multiprocessing worker pool queue.
Parameters: |
---|
Perform all process steps to convert FLAC file to the defined output format.
Parameters: | encoder (flacsync.encoder._Encoder) – Encoder instance object used for conversion. |
---|
Return a list of destination files that have no matching source file. Only consider files that match paths from source list (if any).
Parameters: | |
---|---|
Returns: | List of orphan destination files. |
Interactively prompt the user to remove all orphaned files located in the destination file path(s).
Parameters: |
---|
Return a list of source files for transcoding.
Parameters: | |
---|---|
Returns: | List of source files. |
Convert all source paths to absolute path, and remove non-existent paths.
Parameters: | |
---|---|
Returns: | List of source files with absolute path names. |
optparse handler for one-time storage of single option.
See also
Option Callbacks reference.
Parameters: |
|
---|---|
Raises : | OptionValueError if option is already defined. |
optparse handler for storing an encoder option.
See also
Option Callbacks reference.
Parameters: |
|
---|---|
Raises : | OptionValueError if encoder does not support the option. |