The seedbox.tasks.fileunrar Module

UnrarFile task plugin

For decompressing archived files to specified location.

class seedbox.tasks.fileunrar.UnrarFile(media_file)

Bases: seedbox.tasks.base.BaseTask

Provides the capability of decompressing archived files.

execute()

Perform file decompression for the provided media_file.

static is_actionable(media_file)

Perform check to determine if action should be taken.

Parameters:media_file – an instance of a MediaFile to check
Returns:a flag indicating to act or not to act
Return type:boolean