Skip to content

[Bug]: Not checking for available disk size #436

@pquerner

Description

@pquerner

Describe the Bug

I had the "remove audio language" plugin run on some files. On some files the plugin did nothing.
After moving the file from the tmp dir back to the original dir, it is not checked if available disk size is given.

Instead the file is moved until no more disk size is available and then the original file is removed.

Steps to Reproduce

  1. Have 2 disks
  2. Disk 2 (source) has size for 1 file only
  3. Have a plugin (I've used the language remover plugin) target that file
  4. The tmp dir for unmaniac is on disk 1
  5. Disk 1 has enough storage available
  6. After the plugin is done processing this file (it sits on disk 1 in the tmp dir) it will be moved to disk 2 (source dir).
  7. The source dir is quickly full and the "move" command is done early
  8. The source file is removed as if the job was done successfuly

Expected Behavior

The destination path is checked for available disk space. If its not given, the job should fail.

Screenshots

No response

Relevant Settings

Not relevant.

Version

0.2.8

Platform

Docker on Linux

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions