this post was submitted on 08 Jan 2026
35 points (94.9% liked)

Selfhosted

54368 readers
854 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi guys!

So...Yeah. I have your average Deluge/Sonarr/Radarr combo. What I'm finding increasingly annoying is, these days some release groups are putting their names more frequently BEFORE the filename. This makes it rather hard to find even the folders of the files being downloaded. Is there an easy way to address this? I'd like to keep the rest of the things in the filename there, and maybe even the release group name...but at the end of the file. The most important thing, the filename should come first. How to best do this?

Thanks!

you are viewing a single comment's thread
view the rest of the comments

I want to say Sonarr has a regex renaming feature, but I may just be making that up as I'm not looking at my instance right now. Doing whatever renaming based on a pattern would be preferable during the download phase in order to keep the metadata of each service clean.

Failing that, if you have a predictable list of release group strings you want removed from filenames, a one liner with sed or similar would take care of this. You'd then break the known locations of these files by any service tracking them of course, but they will eventually be reindexed.