mirror of https://github.com/Sonarr/Sonarr
New: Import subtitles and extra files when importing media files
This commit is contained in:
parent
9a870a3709
commit
836131ebb1
|
@ -57,10 +57,6 @@ namespace NzbDrone.Core.Extras
|
||||||
extraFileManager.CreateAfterEpisodeImport(series, episodeFile);
|
extraFileManager.CreateAfterEpisodeImport(series, episodeFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove
|
|
||||||
// Not importing files yet, testing that parsing is working properly first
|
|
||||||
return;
|
|
||||||
|
|
||||||
var sourcePath = localEpisode.Path;
|
var sourcePath = localEpisode.Path;
|
||||||
var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
|
var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
|
||||||
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);
|
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);
|
||||||
|
|
|
@ -76,4 +76,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">Import Extra Files</label>
|
||||||
|
|
||||||
|
<div class="col-sm-1 col-sm-push-5 help-inline">
|
||||||
|
<i class="icon-sonarr-form-info" title="Comma separated list of extra files to import, ie sub,nfo (.nfo will be imported as .nfo-orig)"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-5 col-sm-pull-1">
|
||||||
|
<input type="text" name="extraFileExtensions" class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Loading…
Reference in New Issue