Exclusions not working?

Jun 16, 2014 at 1:34 PM
Hi ijourneaux,

I'm using v2.3.2, and I don't think the exclusion list is working properly. It used to work no problem in the older version I used.

I've got the exclusions option set in the config file: <add key="UseExclusions" value="true" />

And I think the exclusion list is overwriting each time it runs, rather then appending. I used to have over a 1000 entries in the exclusion list, and now there is only a dozen or so.

To give you an example, my exclusion list now looks as follows:
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfAnyType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <anyType xsi:type="xsd:string">No Good Deed (Trailer Mirror)</anyType>
  <anyType xsi:type="xsd:string">No Good Deed (Trailer)</anyType>
  <anyType xsi:type="xsd:string">Dumb and Dumber To (Trailer)</anyType>
  <anyType xsi:type="xsd:string">Spanish Lake (Trailer)</anyType>
  <anyType xsi:type="xsd:string">Witching &amp; Bitching (Trailer)</anyType>
  <anyType xsi:type="xsd:string">Witching &amp; Bitching (Trailer (old))</anyType>
  <anyType xsi:type="xsd:string">Jackass Presents: Bad Grandpa (.5 Trailer Mirror)</anyType>
  <anyType xsi:type="xsd:string">Jackass Presents: Bad Grandpa (.5 Trailer)</anyType>
  <anyType xsi:type="xsd:string">Birdman (Teaser Trailer Mirror)</anyType>
  <anyType xsi:type="xsd:string">Birdman (Teaser Trailer)</anyType>
I deleted each trailer from my computer that was in the exclusion list, and ran the program again, and it started to download the same trailers again rather then skipping them, eg:
16/06/2014 10:18:07 PM - Next trailer: No Good Deed (Trailer)
16/06/2014 10:18:07 PM - 
    480p       http://videos.hd-trailers.net/e5ab8e60-7db6-4aaa-b6d6-eae06aef9614_yanhb5MjXpNJMj4ubTbqGDignTsTkbxnWf9wfSx9iAdeVzem4ylUzGf-_IcjkUo2839Qm5KS4H0-_9_0.mp4
    720p       http://videos.hd-trailers.net/e5ab8e60-7db6-4aaa-b6d6-eae06aef9614_yanhb5MjXpNJMj4ubTbqGDignTsTkbxnWf9wfSx9iAdeVzem4ylUzGf-_IcjkUo2839Qm5KS4H0-_10_0.mp4
    1080p      http://videos.hd-trailers.net/e5ab8e60-7db6-4aaa-b6d6-eae06aef9614_yanhb5MjXpNJMj4ubTbqGDignTsTkbxnWf9wfSx9iAdeVzem4ylUzGf-_IcjkUo2839Qm5KS4H0-_11_0.mp4
    poster     http://static.hd-trailers.net/images/no-good-deed-poster-20140613.jpg

16/06/2014 10:18:07 PM - Looking up MovieName on IMDB
16/06/2014 10:18:14 PM - IMDB page was located
16/06/2014 10:18:14 PM - Extracted download url (1080p): http://videos.hd-trailers.net/e5ab8e60-7db6-4aaa-b6d6-eae06aef9614_yanhb5MjXpNJMj4ubTbqGDignTsTkbxnWf9wfSx9iAdeVzem4ylUzGf-_IcjkUo2839Qm5KS4H0-_11_0.mp4
16/06/2014 10:18:14 PM - Local directory: D:\-=Movies=-\-=Trailers=-\2014-06-16 No Good Deed (Trailer)
16/06/2014 10:18:14 PM - Filename : No Good Deed (Trailer)-trailer.mp4
16/06/2014 10:18:15 PM - Stream successfully opened
16/06/2014 10:19:33 PM - Grabbing poster... 
16/06/2014 10:19:33 PM - Poster grab successful
16/06/2014 10:19:33 PM - Exclusion added
16/06/2014 10:19:33 PM - No Good Deed (Trailer) (1080p) : Downloaded
I notice the log used to say exclusions loaded, eg, "6/05/2014 2:00:02 AM - 1598 exclusions loaded."

But it no longer says that?

Jun 17, 2014 at 4:25 AM
Similarly, my install of v2.3.4 overwrites instead of appends the exclusion file. If you require further details such as log or config files, I can provide those.
Jun 17, 2014 at 4:41 AM
Just to add a data point, it seems the last time it was working for me was v2.3.0.
Jun 17, 2014 at 1:21 PM
Thanks for the details. I found the root cause last night and post an new version tonight.
Jul 8, 2014 at 7:10 AM
Just to follow-up, everything worked great with v2.3.6, however there appears to be a regression in v2.3.7 that yields similar behavior. Specifically, an entry for 2.3.6 in my exclusion file exists:
<anyType xsi:type="xsd:string">Gone Girl (Trailer)</anyType>
However, v2.3.7 downloaded a variant of this, and added it to the exclusions xml:
<anyType xsi:type="xsd:string">Gone Girl  (Trailer)</anyType>
Many other entries with double spaces before the parenthesis have been added. Perhaps some sort of pre-processor that strips extraneous whitespace is in order?
Jul 10, 2014 at 2:08 AM
When I was building the trailer name and type from its pieces, an extra space snuck in. Easy fix. So I don't want to break existing exclusions I want to also strip out extra white space when doing the comparisons.