debridmediamanager / zurg-testing

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.
468 stars 33 forks source link

Request: Regex Rewriting Support + Other Naming Ideas #44

Open maxexcloo opened 9 months ago

maxexcloo commented 9 months ago

Feature Description I have some movies and shows that contain domains in the names, I'd like to rewrite and remove these (just so that Infuse can match metadata more accurately). For example:

[ACESSE...HD-ELITE.ME] A.Bruxa.de.Blair.1999.1080p.BluRay.x264.DUAL
[ Torrent911.tv ] Viking.Wolf.2022.MULTI.1080p.WEB.x264-LOST

Another idea I've had is to allow naming the child file (if only_show_the_biggest_file: true) to the parent folder name as I have some files that don't have good names (e.g. www.ddlparadiz.com.mkv).

Finally some of my shows have extras and I haven't thought of a good way to hide these as sizes vary, maybe file hiding based on regex? Not too sure yet!)

Problem and Motivation Infuse doesn't seem to match metadata well for these items.

Possible Solution Add a new option in directories that allows a rewrite. Even a simple find and replace with regex would be perfect.

Alternatives Considered Infuse isn't very flexible when it comes to metadata so the only other option is a support ticket or manually fixing over 1000 items metadata.

Your Environment

yowmamasita commented 8 months ago

Thanks for the inputs! Let me think about this more

maxexcloo commented 8 months ago

Another idea would be to allow manual mapping of hashes to names, I’m writing a tool to scrape torrents from lists and populate Real Debrid - I already have known good naming so I could track that and store it somewhere.

yowmamasita commented 8 months ago

Another idea would be to allow manual mapping of hashes to names, I’m writing a tool to scrape torrents from lists and populate Real Debrid - I already have known good naming so I could track that and store it somewhere.

This is actually an "in progress" project of mine

The reason why I'm building https://debridmediamanager.com/ the way it is

maxexcloo commented 8 months ago

Another idea would be to allow manual mapping of hashes to names, I’m writing a tool to scrape torrents from lists and populate Real Debrid - I already have known good naming so I could track that and store it somewhere.

This is actually an "in progress" project of mine

The reason why I'm building https://debridmediamanager.com/ the way it is

I was using Plex Debrid to scan lists (Plex Watchlist, Overseer, Trakt, etc) and then search using Torrentio and Orion - it's been quite unstable lately though so is there's anything simple in the works that doesn't rely on Plex or actually mounting the share (I use Infuse directly) that would be sweet, it's quite a large project to reimplement if someone else is already working on it (although it's fun!)

ianOsborne commented 2 months ago

Another idea would be to allow manual mapping of hashes to names, I’m writing a tool to scrape torrents from lists and populate Real Debrid - I already have known good naming so I could track that and store it somewhere.

This is actually an "in progress" project of mine

The reason why I'm building https://debridmediamanager.com/ the way it is

please let me know when you get renaming worked out, this is the only thing stopping the solution from being perfect. Thanks!