Allow series name in season folder

pull/6/head
Mark McDowall 12 years ago
parent ef4ad53277
commit a2d993138c

@ -78,8 +78,10 @@ namespace NzbDrone.Core.MediaFiles
string path = series.Path;
if (series.SeasonFolder)
{
//TODO: Allow series name
var seasonFolder = _configService.SortingSeasonFolderFormat
.Replace("%sn", series.Title)
.Replace("%s.n", series.Title.Replace(' ', '.'))
.Replace("%s_n", series.Title.Replace(' ', '_'))
.Replace("%0s", seasonNumber.ToString("00"))
.Replace("%s", seasonNumber.ToString());

@ -113,7 +113,7 @@
<div class="controls">
<input type="text" placeholder="Season %s" name="seasonFolderFormat"/>
<span class="help-inline">
<i class="icon-question-sign" title="How should season folders be named? (Use %0s to pad to two digits)"/>
<i class="icon-question-sign" title="How should season folders be named? (Use %0s to pad to two digits, %sn for Series Name)"/>
</span>
</div>
</div>

Loading…
Cancel
Save