autobrr / omegabrr

Omegabrr transforms monitored shows, movies, books and music from arrs into autobrr filters. It also supports adding titles from custom lists to autobrr filters.
https://autobrr.com
MIT License
127 stars 11 forks source link

enhancement(parsing): improve handling of parentheses #55

Closed s0up4200 closed 1 year ago

s0up4200 commented 1 year ago

if title ends with ) then replace it with ? instead of trimming it

s0up4200 commented 1 year ago

Tested with Sonarr. Success.

2023-04-26T19:02:01+02:00 DBG from a total of 4 shows we found 1 monitored and created 3 release titles client=sonarr type=sonarr
2023-04-26T19:02:01+02:00 DBG got 3 filter titles client=sonarr type=sonarr
2023-04-26T19:02:01+02:00 TRC The?Office*US?,The?Office*US,The?Office client=sonarr type=sonarr

Just a note: This wont affect the current way titles are parsed. It only adds one more version of titles that ends with eg. (US).