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

Improve Whisparr transformation into filters #80

Open thelordtourette opened 5 months ago

thelordtourette commented 5 months ago

Using Omegabrr to generate filters from Whisparr will not work with site names that contain two or more words, as the site name is usually not separated by dots or spaces like it is the case with movies and TV shows.

For example: Vixen.24.03.15.foo.bar RealityJunkies.24.03.22.foo.bar

A generated filter from Whisparr's monitored items looks like this: *Vixen* *Reality?Junkies*

The single word site name matches without a problem but the site with more than two word in the name will not because there is nothing between the words.

{
  "level": "debug",
  "module": "filter",
  "method": "CheckFilter",
  "time": "2024-03-22T06:01:40+01:00",
  "message": "(Whisparr Omegabrr) for release: RealityJunkies.24.03.22.Vanessa.Sky.My.Sister.Is.A.Slut.XXX.1080p.HEVC.x265.PRT[XvX] rejections: (match release not matching. got: RealityJunkies.24.03.22.Vanessa.Sky.My.Sister.Is.A.Slut.XXX.1080p.HEVC.x265.PRT[XvX] want: *Reality?Junkies*,*Vixen*)"
}