You've already forked Sonarr
							
							
				mirror of
				https://github.com/Sonarr/Sonarr.git
				synced 2025-10-31 00:07:55 +02:00 
			
		
		
		
	Episodes will actually be renamed now
This commit is contained in:
		| @@ -43,6 +43,7 @@ namespace NzbDrone.Core.MediaFiles | ||||
|             var episodes = _episodeService.GetEpisodesByFileId(episodeFile.Id); | ||||
|             var newFileName = _buildFileNames.BuildFilename(episodes, series, episodeFile); | ||||
|             var filePath = _buildFileNames.BuildFilePath(series, episodes.First().SeasonNumber, newFileName, Path.GetExtension(episodeFile.Path)); | ||||
|             MoveFile(episodeFile, filePath); | ||||
|  | ||||
|             return filePath; | ||||
|         } | ||||
| @@ -51,7 +52,8 @@ namespace NzbDrone.Core.MediaFiles | ||||
|         { | ||||
|             var newFileName = _buildFileNames.BuildFilename(localEpisode.Episodes, localEpisode.Series, episodeFile); | ||||
|             var filePath = _buildFileNames.BuildFilePath(localEpisode.Series, localEpisode.SeasonNumber, newFileName, Path.GetExtension(episodeFile.Path)); | ||||
|              MoveFile(episodeFile, filePath); | ||||
|             MoveFile(episodeFile, filePath); | ||||
|  | ||||
|             return filePath; | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user