Audiobookshelf media sorter - eviltoast

So thanks to this community, I have found the wonders of Audiobookshelf! Seems very promosing so far, but my main gripe is with my folder structure. I am therefore wondering if there is any media sorter tools out there? I’m thinking something along the lines of https://github.com/jpillora/media-sort (for plex) that I can use to sort the files into a supported folder structure for ABS, but even better would be if it also had a metadata agent that created an .obf file with common information.

If anyone has any tips it would be greatly appreciated, even if it’s some script that someone uses for own personal use that they wouldn’t mind sharing, I’m not closed to doing some coding work myself in order to get this right.

  • Zikeji@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    I use Readarr, it’s an automation tool such as Sonarr and Radarr. You don’t necessarily need to use it to do the download portion and could only use it for sorting / folder structure, but that might be overkill.

    I imported all my Audible audio books (I used OpenAudible to download them) without much issue.

    • justcallmelarry@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      It does seem a bit like overkill :D I might try it, but otherwise I might try to figure something out myself at some point. Sounds like a nice hobby project.

    • justcallmelarry@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I’m not getting how to set it up without the download functionality, how do i tell it to just reorganize a folder into another folder?

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        So you set up a download folder, that is where it expects new files. Then you can drop them in there and it should be detected for automatic import (if it is confident), otherwise manual import (where you select the author & book & format). You still need to add the author to the library in order to have it manage it.

        I’ll be on my computer later so if you’re still having trouble let me know and I can try and put together a step by step guide.

        • justcallmelarry@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I think mostly I didnt see any options for setting up the download folder, just different download options (like torrent and usenet etc).

          • Zikeji@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            You create a “Torrent Blackhole” download client, set the Blackhole folder to somewhere irrelevant (nothing should end up here anyway if you don’t have an indexer setup, I set mine to /tmp). Set the watch folder to the one you want it to watch for new files.

            When you add a book, it’ll go in the activity tab and either auto import if it matches a book with your settings, or you’ll get the option to manual import it and select the author, book, series, etc.

            Keep in mind you still have to add the author under “Add New”.

            • justcallmelarry@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              ah ok, got it to work with manual imports now, but I think maybe this doesn’t really suit my use case. big thanks for explaining the readarr stuff! I can see why people would like it if they use the grabbing parts of it as well.