The seedbox.tasks.filecopy Module

CopyFile task plugin for copying a file to specified location.

class seedbox.tasks.filecopy.CopyFile(media_file)

Bases: seedbox.tasks.base.BaseTask

Provides the capability of copying files locally.

execute()

Perform copying action 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