Ability to delete from Edit Series (link wasn't available before).

add .nzb to file when downloading, need to change to WebRequest/WebResponse to get the file so we can retrieve the actual file name... Use %NZBDRONE_PATH% to store NZB if path is not provided...
pull/4/head
Mark McDowall 14 years ago
parent f07b305684
commit 302949048b

@ -177,7 +177,7 @@ namespace NzbDrone.Core.Providers
if (_diskProvider.FolderExists(path))
{
var filename = path + Path.DirectorySeparatorChar + nzb.TitleFix;
var filename = path + Path.DirectorySeparatorChar + nzb.TitleFix + ".nzb";
if (_httpProvider.DownloadFile(nzb.Link.ToString(), filename))
AddToHistory(episodeParseResults, series, nzb, indexer);

@ -94,6 +94,7 @@
<div>
<%: Html.ActionLink("Back to Show", "Details", new { seriesId = Model.SeriesId }) %> |
<%: Html.ActionLink("Back to List", "Index") %>
<%: Html.ActionLink("Delete Series", "Delete", new { seriesId = Model.SeriesId })%>
</div>
<div id="result"></div>

Loading…
Cancel
Save