mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
more test/fixes
This commit is contained in:
parent
43e1c16cca
commit
8fca3c3419
10 changed files with 178 additions and 30 deletions
|
@ -92,7 +92,7 @@ namespace NzbDrone.Core.Providers
|
|||
_configProvider.SabPassword);
|
||||
}
|
||||
|
||||
public String GetSabTitle(EpisodeParseResult parseResult, String folderName)
|
||||
public String GetSabTitle(EpisodeParseResult parseResult)
|
||||
{
|
||||
//Show Name - 1x01-1x02 - Episode Name
|
||||
//Show Name - 1x01 - Episode Name
|
||||
|
@ -105,7 +105,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
var epNumberString = String.Join("-", episodeString);
|
||||
|
||||
var result = String.Format("{0} - {1} - {2} [{3}]", folderName, epNumberString, parseResult.EpisodeTitle, parseResult.Quality);
|
||||
var result = String.Format("{0} - {1} - {2} [{3}]", new DirectoryInfo(parseResult.Series.Path).Name, epNumberString, parseResult.EpisodeTitle, parseResult.Quality);
|
||||
|
||||
if (parseResult.Proper)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue