MediaElch icon indicating copy to clipboard operation
MediaElch copied to clipboard

Allow post-processing before saving

Open Roemer opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. There are some things which are missing and take time to implement. In my case, I would like to remove some information (like thumbs for posters, see #1322) and replace ß with ss.

Describe the solution you'd like Not sure yet. Maybe as a start add a list of regex that can be applied for search/replace. Also maybe add a list of x-paths that should be removed. That would solve my most urgent cases. Another way would be to allow a path to an external application for the post-processing to be specified. This would immediately fix my issue as I do it this way right now (but I have to manually call the external tool).

Describe alternatives you've considered For now, I have my separate cli tool (C#) that does the missing things. For now this is:

  • Search/Replace in values (ß to ss).
  • Remove all <thumb aspect="poster"...</thumb>
  • Check if an age rating is defined (and warn otherwise so I can add it manually)
  • Future: Add additonal ratings instead of just one.

Roemer avatar Feb 07 '22 09:02 Roemer

Is this request in regards to movie details in general, i.e. do you just want to avoid non-ASCII characters such as ß in general, or is this related to file names? :-)

bugwelle avatar Feb 15 '22 19:02 bugwelle

Basically it's just about post-processing the nfo (xml) file.

Roemer avatar Feb 15 '22 19:02 Roemer