this post was submitted on 06 Jul 2023
21 points (95.7% liked)

Selfhosted

39893 readers
358 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (2 children)

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.

[–] [email protected] 2 points 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.

[–] [email protected] 1 points 1 year ago (1 children)

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?

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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".

[–] [email protected] 1 points 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.

[–] [email protected] 8 points 1 year ago (1 children)

+1 for Readarr, it's not perfect but it's been pretty solid in combination with audiobookshelf for me

[–] [email protected] 4 points 1 year ago

Another +1 for Readarr.

[–] [email protected] 5 points 1 year ago (1 children)

I sirt it manually. I just rip a CD, edit its metadata with MusicBrainz Picard then place all the MP3's in a folder for just the book and then move it to the folder of the author.

Once scanned by audiobookshelf I modify the metadata a bit more and then let audiobookshelf combine the book to one file.

[–] [email protected] 2 points 1 year ago

Yeah, for I'm sorting manually as well, but it would be nice to just drop files in a folder and then forget about it.

[–] [email protected] 3 points 1 year ago

So OpenAudible kinda gives me the information I need in the metadata, so I ended up making a simple python script that copies them around based on that.