Fixed: Normalize all line endings to LF in repo

pull/2/head
ta264 5 years ago committed by Qstick
parent 9f07b65877
commit 779809b78b

48
debian/copyright vendored

@ -1,24 +1,24 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nzbdrone Upstream-Name: nzbdrone
Source: https://github.com/Sonarr/Sonarr Source: https://github.com/Sonarr/Sonarr
Files: * Files: *
Copyright: 2010-2016 Sonarr <hello@sonarr.tv> Copyright: 2010-2016 Sonarr <hello@sonarr.tv>
License: GPL-3.0+ License: GPL-3.0+
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
. .
This package is distributed in the hope that it will be useful, This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
. .
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
. .
On Debian systems, the complete text of the GNU General On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

2
debian/install vendored

@ -1 +1 @@
nzbdrone_bin/* opt/NzbDrone nzbdrone_bin/* opt/NzbDrone

@ -1,46 +1,46 @@
using System.Collections.Generic; using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Radarr.Http.ClientSchema; using Radarr.Http.ClientSchema;
using NzbDrone.Core.NetImport; using NzbDrone.Core.NetImport;
using NzbDrone.Core.NetImport.ImportExclusions; using NzbDrone.Core.NetImport.ImportExclusions;
using NzbDrone.Core.Validation.Paths; using NzbDrone.Core.Validation.Paths;
using Radarr.Http; using Radarr.Http;
namespace NzbDrone.Api.NetImport namespace NzbDrone.Api.NetImport
{ {
public class ImportExclusionsModule : RadarrRestModule<ImportExclusionsResource> public class ImportExclusionsModule : RadarrRestModule<ImportExclusionsResource>
{ {
private readonly IImportExclusionsService _exclusionService; private readonly IImportExclusionsService _exclusionService;
public ImportExclusionsModule(NetImportFactory netImportFactory, IImportExclusionsService exclusionService) : base("exclusions") public ImportExclusionsModule(NetImportFactory netImportFactory, IImportExclusionsService exclusionService) : base("exclusions")
{ {
_exclusionService = exclusionService; _exclusionService = exclusionService;
GetResourceAll = GetAll; GetResourceAll = GetAll;
CreateResource = AddExclusion; CreateResource = AddExclusion;
DeleteResource = RemoveExclusion; DeleteResource = RemoveExclusion;
GetResourceById = GetById; GetResourceById = GetById;
} }
public List<ImportExclusionsResource> GetAll() public List<ImportExclusionsResource> GetAll()
{ {
return _exclusionService.GetAllExclusions().ToResource(); return _exclusionService.GetAllExclusions().ToResource();
} }
public ImportExclusionsResource GetById(int id) public ImportExclusionsResource GetById(int id)
{ {
return _exclusionService.GetById(id).ToResource(); return _exclusionService.GetById(id).ToResource();
} }
public int AddExclusion(ImportExclusionsResource exclusionResource) public int AddExclusion(ImportExclusionsResource exclusionResource)
{ {
var model = exclusionResource.ToModel(); var model = exclusionResource.ToModel();
return _exclusionService.AddExclusion(model).Id; return _exclusionService.AddExclusion(model).Id;
} }
public void RemoveExclusion (int id) public void RemoveExclusion (int id)
{ {
_exclusionService.RemoveExclusion(new ImportExclusion { Id = id }); _exclusionService.RemoveExclusion(new ImportExclusion { Id = id });
} }
} }
} }

@ -1,46 +1,46 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NzbDrone.Core.NetImport; using NzbDrone.Core.NetImport;
using NzbDrone.Core.Movies; using NzbDrone.Core.Movies;
namespace NzbDrone.Api.NetImport namespace NzbDrone.Api.NetImport
{ {
public class ImportExclusionsResource : ProviderResource public class ImportExclusionsResource : ProviderResource
{ {
//public int Id { get; set; } //public int Id { get; set; }
public int TmdbId { get; set; } public int TmdbId { get; set; }
public string MovieTitle { get; set; } public string MovieTitle { get; set; }
public int MovieYear { get; set; } public int MovieYear { get; set; }
} }
public static class ImportExclusionsResourceMapper public static class ImportExclusionsResourceMapper
{ {
public static ImportExclusionsResource ToResource(this Core.NetImport.ImportExclusions.ImportExclusion model) public static ImportExclusionsResource ToResource(this Core.NetImport.ImportExclusions.ImportExclusion model)
{ {
if (model == null) return null; if (model == null) return null;
return new ImportExclusionsResource return new ImportExclusionsResource
{ {
Id = model.Id, Id = model.Id,
TmdbId = model.TmdbId, TmdbId = model.TmdbId,
MovieTitle = model.MovieTitle, MovieTitle = model.MovieTitle,
MovieYear = model.MovieYear MovieYear = model.MovieYear
}; };
} }
public static List<ImportExclusionsResource> ToResource(this IEnumerable<Core.NetImport.ImportExclusions.ImportExclusion> exclusions) public static List<ImportExclusionsResource> ToResource(this IEnumerable<Core.NetImport.ImportExclusions.ImportExclusion> exclusions)
{ {
return exclusions.Select(ToResource).ToList(); return exclusions.Select(ToResource).ToList();
} }
public static Core.NetImport.ImportExclusions.ImportExclusion ToModel(this ImportExclusionsResource resource) public static Core.NetImport.ImportExclusions.ImportExclusion ToModel(this ImportExclusionsResource resource)
{ {
return new Core.NetImport.ImportExclusions.ImportExclusion return new Core.NetImport.ImportExclusions.ImportExclusion
{ {
TmdbId = resource.TmdbId, TmdbId = resource.TmdbId,
MovieTitle = resource.MovieTitle, MovieTitle = resource.MovieTitle,
MovieYear = resource.MovieYear MovieYear = resource.MovieYear
}; };
} }
} }
} }

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FluentValidation" version="6.2.1.0" targetFramework="net461" />
<package id="Ical.Net" version="2.2.32" targetFramework="net461" />
<package id="Nancy" version="1.4.4" targetFramework="net461" />
<package id="Nancy.Authentication.Basic" version="1.4.1" targetFramework="net461" />
<package id="Nancy.Authentication.Forms" version="1.4.1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
<package id="NLog" version="4.6.6" targetFramework="net461" />
</packages>

@ -1,28 +1,28 @@
using FizzWare.NBuilder; using FizzWare.NBuilder;
using FluentAssertions; using FluentAssertions;
using NUnit.Framework; using NUnit.Framework;
using Moq; using Moq;
using NzbDrone.Core.Organizer; using NzbDrone.Core.Organizer;
using NzbDrone.Core.Movies; using NzbDrone.Core.Movies;
using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Movies.Events; using NzbDrone.Core.Movies.Events;
using System.Collections.Generic; using System.Collections.Generic;
namespace NzbDrone.Core.Test.BulkImport namespace NzbDrone.Core.Test.BulkImport
{ {
[TestFixture] [TestFixture]
public class AddMultiMoviesFixture : CoreTest<MovieService> public class AddMultiMoviesFixture : CoreTest<MovieService>
{ {
private List<Movie> fakeMovies; private List<Movie> fakeMovies;
[SetUp] [SetUp]
public void Setup() public void Setup()
{ {
fakeMovies = Builder<Movie>.CreateListOfSize(3).BuildList(); fakeMovies = Builder<Movie>.CreateListOfSize(3).BuildList();
fakeMovies.ForEach(m => fakeMovies.ForEach(m =>
{ {
m.Path = null; m.Path = null;
m.RootFolderPath = @"C:\Test\TV"; m.RootFolderPath = @"C:\Test\TV";
}); });
} }
@ -35,41 +35,41 @@ namespace NzbDrone.Core.Test.BulkImport
var movies = Subject.AddMovies(fakeMovies); var movies = Subject.AddMovies(fakeMovies);
foreach (Movie movie in movies) foreach (Movie movie in movies)
{ {
movie.Path.Should().NotBeNullOrEmpty(); movie.Path.Should().NotBeNullOrEmpty();
} }
//Subject.GetAllMovies().Should().HaveCount(3); //Subject.GetAllMovies().Should().HaveCount(3);
} }
[Test] [Test]
public void movies_added_should_ignore_already_added() public void movies_added_should_ignore_already_added()
{ {
Mocker.GetMock<IBuildFileNames>() Mocker.GetMock<IBuildFileNames>()
.Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null)) .Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null))
.Returns((Movie m, NamingConfig n) => m.Title); .Returns((Movie m, NamingConfig n) => m.Title);
Mocker.GetMock<IMovieRepository>().Setup(s => s.All()).Returns(new List<Movie> { fakeMovies[0] }); Mocker.GetMock<IMovieRepository>().Setup(s => s.All()).Returns(new List<Movie> { fakeMovies[0] });
var movies = Subject.AddMovies(fakeMovies); var movies = Subject.AddMovies(fakeMovies);
Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2))); Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2)));
} }
[Test] [Test]
public void movies_added_should_ignore_duplicates() public void movies_added_should_ignore_duplicates()
{ {
Mocker.GetMock<IBuildFileNames>() Mocker.GetMock<IBuildFileNames>()
.Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null)) .Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null))
.Returns((Movie m, NamingConfig n) => m.Title); .Returns((Movie m, NamingConfig n) => m.Title);
fakeMovies[2].TmdbId = fakeMovies[0].TmdbId; fakeMovies[2].TmdbId = fakeMovies[0].TmdbId;
var movies = Subject.AddMovies(fakeMovies); var movies = Subject.AddMovies(fakeMovies);
Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2))); Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2)));
} }
} }
} }

@ -1,312 +1,312 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel> <channel>
<title>HD Film (RAPiDCOWS) :: Danishbits.org</title> <title>HD Film (RAPiDCOWS) :: Danishbits.org</title>
<link>http://danishbits.org/</link> <link>http://danishbits.org/</link>
<description>RSS feed for all new HD Film (RAPiDCOWS).</description> <description>RSS feed for all new HD Film (RAPiDCOWS).</description>
<language>en-us</language> <language>en-us</language>
<lastBuildDate>Thu, 03 May 2018 11:12:03 +0200</lastBuildDate> <lastBuildDate>Thu, 03 May 2018 11:12:03 +0200</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> <docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Gazelle Feed Class</generator> <item> <generator>Gazelle Feed Class</generator> <item>
<title><![CDATA[Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Thu, 03 May 2018 10:56:03 +0200</pubDate> <pubDate>Thu, 03 May 2018 10:56:03 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960749</link> <link>https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960749</link>
<guid>https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960749</guid> <guid>https://danishbits.org/torrents.php/Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960749</guid>
<comments>http://danishbits.org/torrents.php?id=961807</comments> <comments>http://danishbits.org/torrents.php?id=961807</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Thu, 03 May 2018 10:14:09 +0200</pubDate> <pubDate>Thu, 03 May 2018 10:14:09 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960732</link> <link>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960732</link>
<guid>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960732</guid> <guid>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960732</guid>
<comments>http://danishbits.org/torrents.php?id=961790</comments> <comments>http://danishbits.org/torrents.php?id=961790</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Thu, 03 May 2018 10:14:07 +0200</pubDate> <pubDate>Thu, 03 May 2018 10:14:07 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960731</link> <link>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960731</link>
<guid>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960731</guid> <guid>https://danishbits.org/torrents.php/Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960731</guid>
<comments>http://danishbits.org/torrents.php?id=961789</comments> <comments>http://danishbits.org/torrents.php?id=961789</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Wed, 02 May 2018 20:54:41 +0200</pubDate> <pubDate>Wed, 02 May 2018 20:54:41 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960314</link> <link>https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960314</link>
<guid>https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960314</guid> <guid>https://danishbits.org/torrents.php/The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960314</guid>
<comments>http://danishbits.org/torrents.php?id=961372</comments> <comments>http://danishbits.org/torrents.php?id=961372</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB]]></title> <title><![CDATA[Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Wed, 02 May 2018 12:18:51 +0200</pubDate> <pubDate>Wed, 02 May 2018 12:18:51 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960040</link> <link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=960040</link>
<guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960040</guid> <guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=960040</guid>
<comments>http://danishbits.org/torrents.php?id=961098</comments> <comments>http://danishbits.org/torrents.php?id=961098</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Wed, 02 May 2018 11:04:19 +0200</pubDate> <pubDate>Wed, 02 May 2018 11:04:19 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959995</link> <link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959995</link>
<guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959995</guid> <guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959995</guid>
<comments>http://danishbits.org/torrents.php?id=961053</comments> <comments>http://danishbits.org/torrents.php?id=961053</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Wed, 02 May 2018 10:21:45 +0200</pubDate> <pubDate>Wed, 02 May 2018 10:21:45 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959975</link> <link>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959975</link>
<guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959975</guid> <guid>https://danishbits.org/torrents.php/Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959975</guid>
<comments>http://danishbits.org/torrents.php?id=961033</comments> <comments>http://danishbits.org/torrents.php?id=961033</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Wed, 02 May 2018 01:10:26 +0200</pubDate> <pubDate>Wed, 02 May 2018 01:10:26 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959619</link> <link>https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959619</link>
<guid>https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959619</guid> <guid>https://danishbits.org/torrents.php/The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959619</guid>
<comments>http://danishbits.org/torrents.php?id=960677</comments> <comments>http://danishbits.org/torrents.php?id=960677</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 20:10:57 +0200</pubDate> <pubDate>Tue, 01 May 2018 20:10:57 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959519</link> <link>https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959519</link>
<guid>https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959519</guid> <guid>https://danishbits.org/torrents.php/Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959519</guid>
<comments>http://danishbits.org/torrents.php?id=960577</comments> <comments>http://danishbits.org/torrents.php?id=960577</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 20:00:46 +0200</pubDate> <pubDate>Tue, 01 May 2018 20:00:46 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959512</link> <link>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959512</link>
<guid>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959512</guid> <guid>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959512</guid>
<comments>http://danishbits.org/torrents.php?id=960570</comments> <comments>http://danishbits.org/torrents.php?id=960570</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 19:59:30 +0200</pubDate> <pubDate>Tue, 01 May 2018 19:59:30 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959510</link> <link>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959510</link>
<guid>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959510</guid> <guid>https://danishbits.org/torrents.php/The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959510</guid>
<comments>http://danishbits.org/torrents.php?id=960568</comments> <comments>http://danishbits.org/torrents.php?id=960568</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 18:44:23 +0200</pubDate> <pubDate>Tue, 01 May 2018 18:44:23 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959491</link> <link>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959491</link>
<guid>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959491</guid> <guid>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959491</guid>
<comments>http://danishbits.org/torrents.php?id=960549</comments> <comments>http://danishbits.org/torrents.php?id=960549</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 18:44:04 +0200</pubDate> <pubDate>Tue, 01 May 2018 18:44:04 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959490</link> <link>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959490</link>
<guid>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959490</guid> <guid>https://danishbits.org/torrents.php/The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959490</guid>
<comments>http://danishbits.org/torrents.php?id=960548</comments> <comments>http://danishbits.org/torrents.php?id=960548</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 17:58:14 +0200</pubDate> <pubDate>Tue, 01 May 2018 17:58:14 +0200</pubDate>
<link>https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959484</link> <link>https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959484</link>
<guid>https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959484</guid> <guid>https://danishbits.org/torrents.php/27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959484</guid>
<comments>http://danishbits.org/torrents.php?id=960542</comments> <comments>http://danishbits.org/torrents.php?id=960542</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 14:18:26 +0200</pubDate> <pubDate>Tue, 01 May 2018 14:18:26 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959367</link> <link>https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959367</link>
<guid>https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959367</guid> <guid>https://danishbits.org/torrents.php/Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959367</guid>
<comments>http://danishbits.org/torrents.php?id=960425</comments> <comments>http://danishbits.org/torrents.php?id=960425</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 11:41:52 +0200</pubDate> <pubDate>Tue, 01 May 2018 11:41:52 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959254</link> <link>https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=959254</link>
<guid>https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959254</guid> <guid>https://danishbits.org/torrents.php/Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=959254</guid>
<comments>http://danishbits.org/torrents.php?id=960312</comments> <comments>http://danishbits.org/torrents.php?id=960312</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 03:21:36 +0200</pubDate> <pubDate>Tue, 01 May 2018 03:21:36 +0200</pubDate>
<link>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958960</link> <link>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958960</link>
<guid>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958960</guid> <guid>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958960</guid>
<comments>http://danishbits.org/torrents.php?id=960018</comments> <comments>http://danishbits.org/torrents.php?id=960018</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 03:19:25 +0200</pubDate> <pubDate>Tue, 01 May 2018 03:19:25 +0200</pubDate>
<link>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958958</link> <link>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958958</link>
<guid>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958958</guid> <guid>https://danishbits.org/torrents.php/90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958958</guid>
<comments>http://danishbits.org/torrents.php?id=960016</comments> <comments>http://danishbits.org/torrents.php?id=960016</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Tue, 01 May 2018 02:30:54 +0200</pubDate> <pubDate>Tue, 01 May 2018 02:30:54 +0200</pubDate>
<link>https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958929</link> <link>https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958929</link>
<guid>https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958929</guid> <guid>https://danishbits.org/torrents.php/50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958929</guid>
<comments>http://danishbits.org/torrents.php?id=959987</comments> <comments>http://danishbits.org/torrents.php?id=959987</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Mon, 30 Apr 2018 21:31:23 +0200</pubDate> <pubDate>Mon, 30 Apr 2018 21:31:23 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958702</link> <link>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958702</link>
<guid>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958702</guid> <guid>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958702</guid>
<comments>http://danishbits.org/torrents.php?id=959760</comments> <comments>http://danishbits.org/torrents.php?id=959760</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Mon, 30 Apr 2018 21:30:31 +0200</pubDate> <pubDate>Mon, 30 Apr 2018 21:30:31 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958701</link> <link>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958701</link>
<guid>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958701</guid> <guid>https://danishbits.org/torrents.php/Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958701</guid>
<comments>http://danishbits.org/torrents.php?id=959759</comments> <comments>http://danishbits.org/torrents.php?id=959759</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Mon, 30 Apr 2018 18:09:08 +0200</pubDate> <pubDate>Mon, 30 Apr 2018 18:09:08 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958582</link> <link>https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958582</link>
<guid>https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958582</guid> <guid>https://danishbits.org/torrents.php/Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958582</guid>
<comments>http://danishbits.org/torrents.php?id=959640</comments> <comments>http://danishbits.org/torrents.php?id=959640</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Mon, 30 Apr 2018 18:08:59 +0200</pubDate> <pubDate>Mon, 30 Apr 2018 18:08:59 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958581</link> <link>https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958581</link>
<guid>https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958581</guid> <guid>https://danishbits.org/torrents.php/Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958581</guid>
<comments>http://danishbits.org/torrents.php?id=959639</comments> <comments>http://danishbits.org/torrents.php?id=959639</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Mon, 30 Apr 2018 13:08:13 +0200</pubDate> <pubDate>Mon, 30 Apr 2018 13:08:13 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958467</link> <link>https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=958467</link>
<guid>https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958467</guid> <guid>https://danishbits.org/torrents.php/Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=958467</guid>
<comments>http://danishbits.org/torrents.php?id=959525</comments> <comments>http://danishbits.org/torrents.php?id=959525</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 19:29:45 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 19:29:45 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957889</link> <link>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957889</link>
<guid>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957889</guid> <guid>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957889</guid>
<comments>http://danishbits.org/torrents.php?id=958947</comments> <comments>http://danishbits.org/torrents.php?id=958947</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title> <title><![CDATA[Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 19:29:39 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 19:29:39 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957888</link> <link>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957888</link>
<guid>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957888</guid> <guid>https://danishbits.org/torrents.php/Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957888</guid>
<comments>http://danishbits.org/torrents.php?id=958946</comments> <comments>http://danishbits.org/torrents.php?id=958946</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title> <title><![CDATA[The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 18:04:55 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 18:04:55 +0200</pubDate>
<link>https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957808</link> <link>https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957808</link>
<guid>https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957808</guid> <guid>https://danishbits.org/torrents.php/The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957808</guid>
<comments>http://danishbits.org/torrents.php?id=958866</comments> <comments>http://danishbits.org/torrents.php?id=958866</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title> <title><![CDATA[Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 14:53:03 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 14:53:03 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957725</link> <link>https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957725</link>
<guid>https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957725</guid> <guid>https://danishbits.org/torrents.php/Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957725</guid>
<comments>http://danishbits.org/torrents.php?id=958783</comments> <comments>http://danishbits.org/torrents.php?id=958783</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title> <title><![CDATA[Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 10:28:56 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 10:28:56 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957570</link> <link>https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957570</link>
<guid>https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957570</guid> <guid>https://danishbits.org/torrents.php/Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957570</guid>
<comments>http://danishbits.org/torrents.php?id=958628</comments> <comments>http://danishbits.org/torrents.php?id=958628</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> <item> </item> <item>
<title><![CDATA[Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title> <title><![CDATA[Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description> <description><![CDATA[]]></description>
<pubDate>Sun, 29 Apr 2018 08:22:42 +0200</pubDate> <pubDate>Sun, 29 Apr 2018 08:22:42 +0200</pubDate>
<link>https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957508</link> <link>https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED&amp;id=957508</link>
<guid>https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957508</guid> <guid>https://danishbits.org/torrents.php/Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB.torrent/?action=download&amp;REPLACED&amp;REPLACED;id=957508</guid>
<comments>http://danishbits.org/torrents.php?id=958566</comments> <comments>http://danishbits.org/torrents.php?id=958566</comments>
<category><![CDATA[dat-owns]]></category> <category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator> <dc:creator>N/A</dc:creator>
</item> </channel> </item> </channel>
</rss> </rss>

@ -1,7 +1,7 @@
namespace NzbDrone.Core.Download.Clients.Sabnzbd.Responses namespace NzbDrone.Core.Download.Clients.Sabnzbd.Responses
{ {
public class SabnzbdFullStatusResponse public class SabnzbdFullStatusResponse
{ {
public SabnzbdFullStatus Status { get; set; } public SabnzbdFullStatus Status { get; set; }
} }
} }

@ -1,131 +1,131 @@
using System; using System;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using NLog; using NLog;
using NzbDrone.Common.Instrumentation.Extensions; using NzbDrone.Common.Instrumentation.Extensions;
using NzbDrone.Core.Download; using NzbDrone.Core.Download;
using NzbDrone.Core.Messaging.Commands; using NzbDrone.Core.Messaging.Commands;
using NzbDrone.Core.Movies; using NzbDrone.Core.Movies;
using NzbDrone.Core.Datastore; using NzbDrone.Core.Datastore;
using NzbDrone.Core.Queue; using NzbDrone.Core.Queue;
using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.DecisionEngine;
namespace NzbDrone.Core.IndexerSearch namespace NzbDrone.Core.IndexerSearch
{ {
public class MovieSearchService : IExecute<MoviesSearchCommand>, IExecute<MissingMoviesSearchCommand>, IExecute<CutoffUnmetMoviesSearchCommand> public class MovieSearchService : IExecute<MoviesSearchCommand>, IExecute<MissingMoviesSearchCommand>, IExecute<CutoffUnmetMoviesSearchCommand>
{ {
private readonly IMovieService _movieService; private readonly IMovieService _movieService;
private readonly IMovieCutoffService _movieCutoffService; private readonly IMovieCutoffService _movieCutoffService;
private readonly ISearchForNzb _nzbSearchService; private readonly ISearchForNzb _nzbSearchService;
private readonly IProcessDownloadDecisions _processDownloadDecisions; private readonly IProcessDownloadDecisions _processDownloadDecisions;
private readonly IQueueService _queueService; private readonly IQueueService _queueService;
private readonly Logger _logger; private readonly Logger _logger;
public MovieSearchService(IMovieService movieService, public MovieSearchService(IMovieService movieService,
IMovieCutoffService movieCutoffService, IMovieCutoffService movieCutoffService,
ISearchForNzb nzbSearchService, ISearchForNzb nzbSearchService,
IProcessDownloadDecisions processDownloadDecisions, IProcessDownloadDecisions processDownloadDecisions,
IQueueService queueService, IQueueService queueService,
Logger logger) Logger logger)
{ {
_movieService = movieService; _movieService = movieService;
_movieCutoffService = movieCutoffService; _movieCutoffService = movieCutoffService;
_nzbSearchService = nzbSearchService; _nzbSearchService = nzbSearchService;
_processDownloadDecisions = processDownloadDecisions; _processDownloadDecisions = processDownloadDecisions;
_queueService = queueService; _queueService = queueService;
_logger = logger; _logger = logger;
} }
public void Execute(MoviesSearchCommand message) public void Execute(MoviesSearchCommand message)
{ {
var downloadedCount = 0; var downloadedCount = 0;
foreach (var movieId in message.MovieIds) foreach (var movieId in message.MovieIds)
{ {
var movies = _movieService.GetMovie(movieId); var movies = _movieService.GetMovie(movieId);
if (!movies.Monitored) if (!movies.Monitored)
{ {
_logger.Debug("Movie {0} is not monitored, skipping search", movies.Title); _logger.Debug("Movie {0} is not monitored, skipping search", movies.Title);
continue; continue;
} }
var decisions = _nzbSearchService.MovieSearch(movieId, false, false);//_nzbSearchService.SeasonSearch(message.MovieId, season.SeasonNumber, false, message.Trigger == CommandTrigger.Manual); var decisions = _nzbSearchService.MovieSearch(movieId, false, false);//_nzbSearchService.SeasonSearch(message.MovieId, season.SeasonNumber, false, message.Trigger == CommandTrigger.Manual);
downloadedCount += _processDownloadDecisions.ProcessDecisions(decisions).Grabbed.Count; downloadedCount += _processDownloadDecisions.ProcessDecisions(decisions).Grabbed.Count;
} }
_logger.ProgressInfo("Movie search completed. {0} reports downloaded.", downloadedCount); _logger.ProgressInfo("Movie search completed. {0} reports downloaded.", downloadedCount);
} }
public void Execute(MissingMoviesSearchCommand message) public void Execute(MissingMoviesSearchCommand message)
{ {
var pagingSpec = new PagingSpec<Movie> var pagingSpec = new PagingSpec<Movie>
{ {
Page = 1, Page = 1,
PageSize = 100000, PageSize = 100000,
SortDirection = SortDirection.Ascending, SortDirection = SortDirection.Ascending,
SortKey = "Id" SortKey = "Id"
}; };
pagingSpec.FilterExpressions.Add(v => v.Monitored == true); pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieService.MoviesWithoutFiles(pagingSpec).Records.ToList(); List<Movie> movies = _movieService.MoviesWithoutFiles(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Select(q => q.Movie.Id); var queue = _queueService.GetQueue().Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList(); var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual); SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
} }
public void Execute(CutoffUnmetMoviesSearchCommand message) public void Execute(CutoffUnmetMoviesSearchCommand message)
{ {
var pagingSpec = new PagingSpec<Movie> var pagingSpec = new PagingSpec<Movie>
{ {
Page = 1, Page = 1,
PageSize = 100000, PageSize = 100000,
SortDirection = SortDirection.Ascending, SortDirection = SortDirection.Ascending,
SortKey = "Id" SortKey = "Id"
}; };
pagingSpec.FilterExpressions.Add(v => v.Monitored == true); pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList(); List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Where(q => q.Movie != null).Select(q => q.Movie.Id); var queue = _queueService.GetQueue().Where(q => q.Movie != null).Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList(); var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual); SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
} }
private void SearchForMissingMovies(List<Movie> movies, bool userInvokedSearch) private void SearchForMissingMovies(List<Movie> movies, bool userInvokedSearch)
{ {
_logger.ProgressInfo("Performing missing search for {0} movies", movies.Count); _logger.ProgressInfo("Performing missing search for {0} movies", movies.Count);
var downloadedCount = 0; var downloadedCount = 0;
foreach (var movieId in movies.GroupBy(e => e.Id)) foreach (var movieId in movies.GroupBy(e => e.Id))
{ {
List<DownloadDecision> decisions; List<DownloadDecision> decisions;
try try
{ {
decisions = _nzbSearchService.MovieSearch(movieId.Key, userInvokedSearch, false); decisions = _nzbSearchService.MovieSearch(movieId.Key, userInvokedSearch, false);
} }
catch (Exception ex) catch (Exception ex)
{ {
var message = String.Format("Unable to search for missing movie {0}", movieId.Key); var message = String.Format("Unable to search for missing movie {0}", movieId.Key);
_logger.Error(ex, message); _logger.Error(ex, message);
continue; continue;
} }
var processed = _processDownloadDecisions.ProcessDecisions(decisions); var processed = _processDownloadDecisions.ProcessDecisions(decisions);
downloadedCount += processed.Grabbed.Count; downloadedCount += processed.Grabbed.Count;
} }
_logger.ProgressInfo("Completed missing search for {0} movies. {1} reports downloaded.", movies.Count, downloadedCount); _logger.ProgressInfo("Completed missing search for {0} movies. {1} reports downloaded.", movies.Count, downloadedCount);
} }
} }
} }

File diff suppressed because it is too large Load Diff

@ -1,27 +1,27 @@
using FluentValidation.Validators; using FluentValidation.Validators;
using NzbDrone.Common.Extensions; using NzbDrone.Common.Extensions;
using NzbDrone.Core.Movies; using NzbDrone.Core.Movies;
namespace NzbDrone.Core.Validation.Paths namespace NzbDrone.Core.Validation.Paths
{ {
public class MoviePathValidator : PropertyValidator public class MoviePathValidator : PropertyValidator
{ {
private readonly IMovieService _moviesService; private readonly IMovieService _moviesService;
public MoviePathValidator(IMovieService moviesService) public MoviePathValidator(IMovieService moviesService)
: base("Path is already configured for another movie") : base("Path is already configured for another movie")
{ {
_moviesService = moviesService; _moviesService = moviesService;
} }
protected override bool IsValid(PropertyValidatorContext context) protected override bool IsValid(PropertyValidatorContext context)
{ {
if (context.PropertyValue == null) return true; if (context.PropertyValue == null) return true;
dynamic instance = context.ParentContext.InstanceToValidate; dynamic instance = context.ParentContext.InstanceToValidate;
var instanceId = (int)instance.Id; var instanceId = (int)instance.Id;
return (!_moviesService.GetAllMovies().Exists(s => s.Path.PathEquals(context.PropertyValue.ToString()) && s.Id != instanceId)); return (!_moviesService.GetAllMovies().Exists(s => s.Path.PathEquals(context.PropertyValue.ToString()) && s.Id != instanceId));
} }
} }
} }

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<appSettings> <appSettings>
<add key="FluentAssertions.TestFramework" value="nunit" /> <add key="FluentAssertions.TestFramework" value="nunit" />
</appSettings> </appSettings>
<runtime> <runtime>
</runtime> </runtime>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup> </startup>
</configuration> </configuration>
Loading…
Cancel
Save