mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
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
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue