Skip to content

Will not send books if directories already exist #30

Description

@milochristiansen

I'm trying to send books to my device using the following template:

{author_sort}{series:|/|}/{series_index:|| - }{title} - {authors}

This should create a directory for the author, then if the book has a series create directories for each series and place the books inside. This works great... The first time. What ends up happening is if I upload more books for an author who already exists I get a timeout error trying to create the author directory. Also, when removing books from the device the empty directories remain behind, effectively ensuring I will be unable to upload any more books for those authors.

It is possible to go in and delete these orphan directories using the normal file transfer server, however this is very cumbersome and time consuming.

Ideally, not only would empty directories be pruned when removing books, but transferring books in the first place would gracefully handle existing directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions