Fixed: Normalize all line endings to LF in repo

pull/3823/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/
Upstream-Name: nzbdrone
Source: https://github.com/Sonarr/Sonarr
Files: *
Copyright: 2010-2016 Sonarr <hello@sonarr.tv>
License: GPL-3.0+
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
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nzbdrone
Source: https://github.com/Sonarr/Sonarr
Files: *
Copyright: 2010-2016 Sonarr <hello@sonarr.tv>
License: GPL-3.0+
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
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
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 FluentValidation;
using Radarr.Http.ClientSchema;
using NzbDrone.Core.NetImport;
using NzbDrone.Core.NetImport.ImportExclusions;
using NzbDrone.Core.Validation.Paths;
using Radarr.Http;
namespace NzbDrone.Api.NetImport
{
public class ImportExclusionsModule : RadarrRestModule<ImportExclusionsResource>
{
private readonly IImportExclusionsService _exclusionService;
public ImportExclusionsModule(NetImportFactory netImportFactory, IImportExclusionsService exclusionService) : base("exclusions")
{
_exclusionService = exclusionService;
GetResourceAll = GetAll;
CreateResource = AddExclusion;
DeleteResource = RemoveExclusion;
GetResourceById = GetById;
}
public List<ImportExclusionsResource> GetAll()
{
return _exclusionService.GetAllExclusions().ToResource();
}
public ImportExclusionsResource GetById(int id)
{
return _exclusionService.GetById(id).ToResource();
}
public int AddExclusion(ImportExclusionsResource exclusionResource)
{
var model = exclusionResource.ToModel();
return _exclusionService.AddExclusion(model).Id;
}
public void RemoveExclusion (int id)
{
_exclusionService.RemoveExclusion(new ImportExclusion { Id = id });
}
}
}
using System.Collections.Generic;
using FluentValidation;
using Radarr.Http.ClientSchema;
using NzbDrone.Core.NetImport;
using NzbDrone.Core.NetImport.ImportExclusions;
using NzbDrone.Core.Validation.Paths;
using Radarr.Http;
namespace NzbDrone.Api.NetImport
{
public class ImportExclusionsModule : RadarrRestModule<ImportExclusionsResource>
{
private readonly IImportExclusionsService _exclusionService;
public ImportExclusionsModule(NetImportFactory netImportFactory, IImportExclusionsService exclusionService) : base("exclusions")
{
_exclusionService = exclusionService;
GetResourceAll = GetAll;
CreateResource = AddExclusion;
DeleteResource = RemoveExclusion;
GetResourceById = GetById;
}
public List<ImportExclusionsResource> GetAll()
{
return _exclusionService.GetAllExclusions().ToResource();
}
public ImportExclusionsResource GetById(int id)
{
return _exclusionService.GetById(id).ToResource();
}
public int AddExclusion(ImportExclusionsResource exclusionResource)
{
var model = exclusionResource.ToModel();
return _exclusionService.AddExclusion(model).Id;
}
public void RemoveExclusion (int id)
{
_exclusionService.RemoveExclusion(new ImportExclusion { Id = id });
}
}
}

@ -1,46 +1,46 @@
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.NetImport;
using NzbDrone.Core.Movies;
namespace NzbDrone.Api.NetImport
{
public class ImportExclusionsResource : ProviderResource
{
//public int Id { get; set; }
public int TmdbId { get; set; }
public string MovieTitle { get; set; }
public int MovieYear { get; set; }
}
public static class ImportExclusionsResourceMapper
{
public static ImportExclusionsResource ToResource(this Core.NetImport.ImportExclusions.ImportExclusion model)
{
if (model == null) return null;
return new ImportExclusionsResource
{
Id = model.Id,
TmdbId = model.TmdbId,
MovieTitle = model.MovieTitle,
MovieYear = model.MovieYear
};
}
public static List<ImportExclusionsResource> ToResource(this IEnumerable<Core.NetImport.ImportExclusions.ImportExclusion> exclusions)
{
return exclusions.Select(ToResource).ToList();
}
public static Core.NetImport.ImportExclusions.ImportExclusion ToModel(this ImportExclusionsResource resource)
{
return new Core.NetImport.ImportExclusions.ImportExclusion
{
TmdbId = resource.TmdbId,
MovieTitle = resource.MovieTitle,
MovieYear = resource.MovieYear
};
}
}
}
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.NetImport;
using NzbDrone.Core.Movies;
namespace NzbDrone.Api.NetImport
{
public class ImportExclusionsResource : ProviderResource
{
//public int Id { get; set; }
public int TmdbId { get; set; }
public string MovieTitle { get; set; }
public int MovieYear { get; set; }
}
public static class ImportExclusionsResourceMapper
{
public static ImportExclusionsResource ToResource(this Core.NetImport.ImportExclusions.ImportExclusion model)
{
if (model == null) return null;
return new ImportExclusionsResource
{
Id = model.Id,
TmdbId = model.TmdbId,
MovieTitle = model.MovieTitle,
MovieYear = model.MovieYear
};
}
public static List<ImportExclusionsResource> ToResource(this IEnumerable<Core.NetImport.ImportExclusions.ImportExclusion> exclusions)
{
return exclusions.Select(ToResource).ToList();
}
public static Core.NetImport.ImportExclusions.ImportExclusion ToModel(this ImportExclusionsResource resource)
{
return new Core.NetImport.ImportExclusions.ImportExclusion
{
TmdbId = resource.TmdbId,
MovieTitle = resource.MovieTitle,
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 FluentAssertions;
using NUnit.Framework;
using Moq;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Movies.Events;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using Moq;
using NzbDrone.Core.Organizer;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Movies.Events;
using System.Collections.Generic;
namespace NzbDrone.Core.Test.BulkImport
namespace NzbDrone.Core.Test.BulkImport
{
[TestFixture]
public class AddMultiMoviesFixture : CoreTest<MovieService>
{
{
private List<Movie> fakeMovies;
[SetUp]
public void Setup()
{
fakeMovies = Builder<Movie>.CreateListOfSize(3).BuildList();
{
fakeMovies = Builder<Movie>.CreateListOfSize(3).BuildList();
fakeMovies.ForEach(m =>
{
m.Path = null;
m.RootFolderPath = @"C:\Test\TV";
{
m.Path = null;
m.RootFolderPath = @"C:\Test\TV";
});
}
@ -35,41 +35,41 @@ namespace NzbDrone.Core.Test.BulkImport
var movies = Subject.AddMovies(fakeMovies);
foreach (Movie movie in movies)
{
movie.Path.Should().NotBeNullOrEmpty();
foreach (Movie movie in movies)
{
movie.Path.Should().NotBeNullOrEmpty();
}
//Subject.GetAllMovies().Should().HaveCount(3);
}
[Test]
public void movies_added_should_ignore_already_added()
{
}
[Test]
public void movies_added_should_ignore_already_added()
{
Mocker.GetMock<IBuildFileNames>()
.Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null))
.Returns((Movie m, NamingConfig n) => m.Title);
Mocker.GetMock<IMovieRepository>().Setup(s => s.All()).Returns(new List<Movie> { fakeMovies[0] });
var movies = Subject.AddMovies(fakeMovies);
Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2)));
}
[Test]
public void movies_added_should_ignore_duplicates()
{
Mocker.GetMock<IBuildFileNames>()
.Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null))
.Returns((Movie m, NamingConfig n) => m.Title);
fakeMovies[2].TmdbId = fakeMovies[0].TmdbId;
var movies = Subject.AddMovies(fakeMovies);
Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2)));
.Returns((Movie m, NamingConfig n) => m.Title);
Mocker.GetMock<IMovieRepository>().Setup(s => s.All()).Returns(new List<Movie> { fakeMovies[0] });
var movies = Subject.AddMovies(fakeMovies);
Mocker.GetMock<IMovieRepository>().Verify(v => v.InsertMany(It.Is<List<Movie>>(l => l.Count == 2)));
}
[Test]
public void movies_added_should_ignore_duplicates()
{
Mocker.GetMock<IBuildFileNames>()
.Setup(s => s.GetMovieFolder(It.IsAny<Movie>(), null))
.Returns((Movie m, NamingConfig n) => m.Title);
fakeMovies[2].TmdbId = fakeMovies[0].TmdbId;
var movies = Subject.AddMovies(fakeMovies);
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"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>HD Film (RAPiDCOWS) :: Danishbits.org</title>
<link>http://danishbits.org/</link>
<description>RSS feed for all new HD Film (RAPiDCOWS).</description>
<language>en-us</language>
<lastBuildDate>Thu, 03 May 2018 11:12:03 +0200</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Gazelle Feed Class</generator> <item>
<title><![CDATA[Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> </channel>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>HD Film (RAPiDCOWS) :: Danishbits.org</title>
<link>http://danishbits.org/</link>
<description>RSS feed for all new HD Film (RAPiDCOWS).</description>
<language>en-us</language>
<lastBuildDate>Thu, 03 May 2018 11:12:03 +0200</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Gazelle Feed Class</generator> <item>
<title><![CDATA[Marfa.Girl.2012.NORDiC.720p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Cowgirls.n.Angels.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Big.Hit.1998.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.7.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Phantom.Thread.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.15.17.to.Paris.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Walking.with.the.Enemy.2013.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Broken.Circle.Breakdown.2012.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Boy.in.the.Striped.Pyjamas.2008.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[27.Gone.Too.Soon.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Most.Likely.to.Murder.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Kriegerin.2011.Retail.DK.SEsubs.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[90.Minutes.in.Heaven.2015.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[50.to.1.2014.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killer.Klowns.from.Outer.Space.1988.NORDiC.REMASTERED.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Monky.2017.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Monky.2017.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Candy.Jar.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.720p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Sugar.Mountain.2016.NORDiC.1080p.BluRay.x264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[The.Rachel.Divide.2018.NORDiC.1080p.WEB-DL.H.264-RAPiDCOWS]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Deep.Blue.Sea.2.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Backstabbing.for.Beginners.2018.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> <item>
<title><![CDATA[Killing.Gunther.2017.NORDiC.REMUX.1080p.BluRay.AVC.DTS-HD.MA.5.1-CDB]]></title>
<description><![CDATA[]]></description>
<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>
<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>
<category><![CDATA[dat-owns]]></category>
<dc:creator>N/A</dc:creator>
</item> </channel>
</rss>

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

@ -1,131 +1,131 @@
using System;
using System.Linq;
using System.Collections.Generic;
using NLog;
using NzbDrone.Common.Instrumentation.Extensions;
using NzbDrone.Core.Download;
using NzbDrone.Core.Messaging.Commands;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Queue;
using NzbDrone.Core.DecisionEngine;
namespace NzbDrone.Core.IndexerSearch
{
public class MovieSearchService : IExecute<MoviesSearchCommand>, IExecute<MissingMoviesSearchCommand>, IExecute<CutoffUnmetMoviesSearchCommand>
{
private readonly IMovieService _movieService;
private readonly IMovieCutoffService _movieCutoffService;
private readonly ISearchForNzb _nzbSearchService;
private readonly IProcessDownloadDecisions _processDownloadDecisions;
private readonly IQueueService _queueService;
private readonly Logger _logger;
public MovieSearchService(IMovieService movieService,
IMovieCutoffService movieCutoffService,
ISearchForNzb nzbSearchService,
IProcessDownloadDecisions processDownloadDecisions,
IQueueService queueService,
Logger logger)
{
_movieService = movieService;
_movieCutoffService = movieCutoffService;
_nzbSearchService = nzbSearchService;
_processDownloadDecisions = processDownloadDecisions;
_queueService = queueService;
_logger = logger;
}
public void Execute(MoviesSearchCommand message)
{
var downloadedCount = 0;
foreach (var movieId in message.MovieIds)
{
var movies = _movieService.GetMovie(movieId);
if (!movies.Monitored)
{
_logger.Debug("Movie {0} is not monitored, skipping search", movies.Title);
continue;
}
var decisions = _nzbSearchService.MovieSearch(movieId, false, false);//_nzbSearchService.SeasonSearch(message.MovieId, season.SeasonNumber, false, message.Trigger == CommandTrigger.Manual);
downloadedCount += _processDownloadDecisions.ProcessDecisions(decisions).Grabbed.Count;
}
_logger.ProgressInfo("Movie search completed. {0} reports downloaded.", downloadedCount);
}
public void Execute(MissingMoviesSearchCommand message)
{
var pagingSpec = new PagingSpec<Movie>
{
Page = 1,
PageSize = 100000,
SortDirection = SortDirection.Ascending,
SortKey = "Id"
};
pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieService.MoviesWithoutFiles(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
}
public void Execute(CutoffUnmetMoviesSearchCommand message)
{
var pagingSpec = new PagingSpec<Movie>
{
Page = 1,
PageSize = 100000,
SortDirection = SortDirection.Ascending,
SortKey = "Id"
};
pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Where(q => q.Movie != null).Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
}
private void SearchForMissingMovies(List<Movie> movies, bool userInvokedSearch)
{
_logger.ProgressInfo("Performing missing search for {0} movies", movies.Count);
var downloadedCount = 0;
foreach (var movieId in movies.GroupBy(e => e.Id))
{
List<DownloadDecision> decisions;
try
{
decisions = _nzbSearchService.MovieSearch(movieId.Key, userInvokedSearch, false);
}
catch (Exception ex)
{
var message = String.Format("Unable to search for missing movie {0}", movieId.Key);
_logger.Error(ex, message);
continue;
}
var processed = _processDownloadDecisions.ProcessDecisions(decisions);
downloadedCount += processed.Grabbed.Count;
}
_logger.ProgressInfo("Completed missing search for {0} movies. {1} reports downloaded.", movies.Count, downloadedCount);
}
}
}
using System;
using System.Linq;
using System.Collections.Generic;
using NLog;
using NzbDrone.Common.Instrumentation.Extensions;
using NzbDrone.Core.Download;
using NzbDrone.Core.Messaging.Commands;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Queue;
using NzbDrone.Core.DecisionEngine;
namespace NzbDrone.Core.IndexerSearch
{
public class MovieSearchService : IExecute<MoviesSearchCommand>, IExecute<MissingMoviesSearchCommand>, IExecute<CutoffUnmetMoviesSearchCommand>
{
private readonly IMovieService _movieService;
private readonly IMovieCutoffService _movieCutoffService;
private readonly ISearchForNzb _nzbSearchService;
private readonly IProcessDownloadDecisions _processDownloadDecisions;
private readonly IQueueService _queueService;
private readonly Logger _logger;
public MovieSearchService(IMovieService movieService,
IMovieCutoffService movieCutoffService,
ISearchForNzb nzbSearchService,
IProcessDownloadDecisions processDownloadDecisions,
IQueueService queueService,
Logger logger)
{
_movieService = movieService;
_movieCutoffService = movieCutoffService;
_nzbSearchService = nzbSearchService;
_processDownloadDecisions = processDownloadDecisions;
_queueService = queueService;
_logger = logger;
}
public void Execute(MoviesSearchCommand message)
{
var downloadedCount = 0;
foreach (var movieId in message.MovieIds)
{
var movies = _movieService.GetMovie(movieId);
if (!movies.Monitored)
{
_logger.Debug("Movie {0} is not monitored, skipping search", movies.Title);
continue;
}
var decisions = _nzbSearchService.MovieSearch(movieId, false, false);//_nzbSearchService.SeasonSearch(message.MovieId, season.SeasonNumber, false, message.Trigger == CommandTrigger.Manual);
downloadedCount += _processDownloadDecisions.ProcessDecisions(decisions).Grabbed.Count;
}
_logger.ProgressInfo("Movie search completed. {0} reports downloaded.", downloadedCount);
}
public void Execute(MissingMoviesSearchCommand message)
{
var pagingSpec = new PagingSpec<Movie>
{
Page = 1,
PageSize = 100000,
SortDirection = SortDirection.Ascending,
SortKey = "Id"
};
pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieService.MoviesWithoutFiles(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
}
public void Execute(CutoffUnmetMoviesSearchCommand message)
{
var pagingSpec = new PagingSpec<Movie>
{
Page = 1,
PageSize = 100000,
SortDirection = SortDirection.Ascending,
SortKey = "Id"
};
pagingSpec.FilterExpressions.Add(v => v.Monitored == true);
List<Movie> movies = _movieCutoffService.MoviesWhereCutoffUnmet(pagingSpec).Records.ToList();
var queue = _queueService.GetQueue().Where(q => q.Movie != null).Select(q => q.Movie.Id);
var missing = movies.Where(e => !queue.Contains(e.Id)).ToList();
SearchForMissingMovies(missing, message.Trigger == CommandTrigger.Manual);
}
private void SearchForMissingMovies(List<Movie> movies, bool userInvokedSearch)
{
_logger.ProgressInfo("Performing missing search for {0} movies", movies.Count);
var downloadedCount = 0;
foreach (var movieId in movies.GroupBy(e => e.Id))
{
List<DownloadDecision> decisions;
try
{
decisions = _nzbSearchService.MovieSearch(movieId.Key, userInvokedSearch, false);
}
catch (Exception ex)
{
var message = String.Format("Unable to search for missing movie {0}", movieId.Key);
_logger.Error(ex, message);
continue;
}
var processed = _processDownloadDecisions.ProcessDecisions(decisions);
downloadedCount += processed.Grabbed.Count;
}
_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 NzbDrone.Common.Extensions;
using NzbDrone.Core.Movies;
namespace NzbDrone.Core.Validation.Paths
{
public class MoviePathValidator : PropertyValidator
{
private readonly IMovieService _moviesService;
public MoviePathValidator(IMovieService moviesService)
: base("Path is already configured for another movie")
{
_moviesService = moviesService;
}
protected override bool IsValid(PropertyValidatorContext context)
{
if (context.PropertyValue == null) return true;
dynamic instance = context.ParentContext.InstanceToValidate;
var instanceId = (int)instance.Id;
return (!_moviesService.GetAllMovies().Exists(s => s.Path.PathEquals(context.PropertyValue.ToString()) && s.Id != instanceId));
}
}
using FluentValidation.Validators;
using NzbDrone.Common.Extensions;
using NzbDrone.Core.Movies;
namespace NzbDrone.Core.Validation.Paths
{
public class MoviePathValidator : PropertyValidator
{
private readonly IMovieService _moviesService;
public MoviePathValidator(IMovieService moviesService)
: base("Path is already configured for another movie")
{
_moviesService = moviesService;
}
protected override bool IsValid(PropertyValidatorContext context)
{
if (context.PropertyValue == null) return true;
dynamic instance = context.ParentContext.InstanceToValidate;
var instanceId = (int)instance.Id;
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"?>
<configuration>
<appSettings>
<add key="FluentAssertions.TestFramework" value="nunit" />
</appSettings>
<runtime>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="FluentAssertions.TestFramework" value="nunit" />
</appSettings>
<runtime>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
Loading…
Cancel
Save