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...
This commit is contained in:
parent
f07b305684
commit
302949048b
|
@ -177,7 +177,7 @@ namespace NzbDrone.Core.Providers
|
||||||
|
|
||||||
if (_diskProvider.FolderExists(path))
|
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))
|
if (_httpProvider.DownloadFile(nzb.Link.ToString(), filename))
|
||||||
AddToHistory(episodeParseResults, series, nzb, indexer);
|
AddToHistory(episodeParseResults, series, nzb, indexer);
|
||||||
|
|
|
@ -94,6 +94,7 @@
|
||||||
<div>
|
<div>
|
||||||
<%: Html.ActionLink("Back to Show", "Details", new { seriesId = Model.SeriesId }) %> |
|
<%: Html.ActionLink("Back to Show", "Details", new { seriesId = Model.SeriesId }) %> |
|
||||||
<%: Html.ActionLink("Back to List", "Index") %>
|
<%: Html.ActionLink("Back to List", "Index") %>
|
||||||
|
<%: Html.ActionLink("Delete Series", "Delete", new { seriesId = Model.SeriesId })%>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="result"></div>
|
<div id="result"></div>
|
||||||
|
|
Loading…
Reference in New Issue