JohnDoee / flexget-cross-seed

Get torrents for data you already have locally
MIT License
15 stars 2 forks source link

Not matching #4

Closed HarringtonTom closed 4 years ago

HarringtonTom commented 4 years ago

A lot of RSS feeds don't actually show the file name with dots. Therefore they aren't matching.

RSS feed = 1080p AMZN WEB-DL Actual File Name = 1080p.AMZN.WEB-DL.

if I remove the dots from the filename, the torrent is found, but If I don't it just says all the torrents are undecided.

I'm guessing there is some way I can get around this by using the "manipulate" in the config. But how would I do that?

JohnDoee commented 4 years ago

Is the dot in the end of "Actual File Name" a typo ?

When matching it replaces - _ and . with spaces and lower-cases the name. Well, it should at least.

When matching it should look like this, with your example. RSS feed = 1080p AMZN WEB-DL -> 1080p amzn web dl Actual File Name = 1080p.AMZN.WEB-DL. -> 1080p amzn web dl <- (there's a space)

HarringtonTom commented 4 years ago

Actually I've just realized it might be because in AMZN WEB-DL's. The audio is named as DDP5.1 but on the RSS feed it's named as DD+ 5.1. Is it possible for it to only read up to 1080p.AMZN.WEB-DL of the file name such as Stargirl S01E01 1080p AMZN WEB-DL?

JohnDoee commented 4 years ago

You left your key in the RSS link, probably not what you wanted.

I've been thinking about a smart way to solve it and I got no smart solutions. So whatever you can get working is probably the best, even if it's just a one-off.

HarringtonTom commented 4 years ago

Yeah just been trying to edit it but it wouldn't let me haha. Its deleted now.

HarringtonTom commented 4 years ago

Thanks for the awesome Autotorrent though. Its so good.

HarringtonTom commented 4 years ago

Hi man sorry for reopening. Do you happen to know how I can get it working on PTP? Here is what the RSS title looks like:

Ginger Snaps [2000] by John Fawcett - H.264 / Blu-ray / MKV / 1080p / Remux / Collector's Edition / With Commentary [ Ginger.Snaps.2000.BluRay.Remux.1080p.AVC.DTS-HD.MA.5.1-TDD ]

So basically I need to grab what's in the [ ]

JohnDoee commented 4 years ago
   manipulate:
      - title: 
          extract: '\[ ([^[]+) \]$'

something like this ?

HarringtonTom commented 4 years ago

You my friend are a genius! Where did you learn the syntax for this?

JohnDoee commented 4 years ago

I might've seen the PTP feed and made that once. If you need others then I might have them too.

Manipulate generally is from https://flexget.com/Plugins/manipulate but I think you know that already.

HarringtonTom commented 4 years ago

Don't think I need any others atm, thanks anyway. Was just asking for the future