PAhelper / PhoenixAdult.bundle

Plex Meta-Data Agent for scene videos from multiple adult sites
357 stars 140 forks source link

File renamer #619

Open Keysersose12 opened 4 years ago

Keysersose12 commented 4 years ago

Apologies as this is not an issue with the plugin as such but more of a question/idea. Feel free to close if necessary. A lot of people are probably doing the same thing in that they are renaming the official download file names to a format that suits the scraper. This can be very slow and tedious. It would be great if we could generate our own renamer that we could crowdsource to compile a list of official download file names with the required scraper search name. Anyone interested in doing sonething like this?

So for example mfstreagankyle_qt (and likewise the other resolution variations) would be renamed to “MyFirstSexTeacher REAGAN FOXX FUCKING IN THE CLASSROOM WITH HER BIG TITS“

pedrolara-boop commented 4 years ago

@Keysersose12, there is a script on the postprocessing folder. It is intended for NZB downloads; I never got it to work correctly and has partial support for a few sites. It is promising but needs guide documentation and probably some tweaks.

I have the same issue as you have for the official downloaded files. I'm using Better Finder Rename, it is paid and really useful. It helps a lot; I even have a workaround that adds spaces to Upcase letters, something common on some websites.

Naughty America, it's a tricky one, besides the name of the series at the beginning it follows the first name of the actors, maybe with a list of all names.

Keysersose12 commented 4 years ago

Thanks will look at those scripts. My issue is all the existing files I already have that need to be renamed. I will look at create a list in Excel and then list beside it what I need to rename it to but will be very slow so my thinking was if multiple people were doing this for multiple sites it could benefit us all.

josst10 commented 4 years ago

Those scripts are incredible when you can get them to work. Look into Advanced Renamer. MP3Tag is pretty versatile too.

SgtBatten commented 4 years ago

I wrote the sab script and yes it is designed only for the sites I wanted to work but it works.

If you have issues with it please raise them so we can investigate. If you want other sites added please raise issues or suggest code amendments so we can add them.

The script also does a batch rename for old content if you set it up to do so and your existing files are compatible.

PowerModder commented 4 years ago

Hi, I developed this. https://github.com/PowerModder/Watchdog-Adult-Renamer As SgtBatten's script this has a limited support for now (All network1service sites and Bangbros sites). And the best is that it co-operates with some parts of the Agent like PAsearchSites. As i developed it and tried to figure out how some of the sites provide you downloads I discovered that they have different methods. For example, the most easy site pool was the network1services. As i downloaded a file from the site it gave the scenenamequality for all their scenes. So you just split at and use the first part to do the matching and the first is 100% your scene. Other site just returns mp4_quality for all the scenes so if you download may scenes at the same time you end up having a bunch of mp4_1080p_i files. Other site will provide you with those titles "mfstreagankyle_quality" etc. So you can't develop a standarized method. If you can provide me "schemes" on how other sites or networks provide the download links maybe i will be able to somehow give support for "official downloads". However, the program needs to work with other title formats so i used agent's way to remove the trash from a scene (like rarbg).

SgtBatten commented 4 years ago

@PowerModder nice work however I don't think you can rely on a download coming from the website itself. You need to be able to get by with a variety of formats such as just the site and a date. Many people will be downloading from other sources.

PowerModder commented 4 years ago

Hello @SgtBatten . Thanks for your kind words. Yes now the new version support trash removal and i plan to support googlesearch too!

c477y commented 2 years ago

Totally unrelated to the project but I have been working on a ruby gem called xxx_rename (original name, I know 😂) that can bulk rename files downloaded from original sources using the APIs provided by the websites. Currently it renames files in a very specific format but if enough people find it useful I can customise it to work with plex/jellyfin clients as well.