Fixed: Subtitle title migration when original title is null
This commit is contained in:
parent
dbbf1a7f58
commit
8921c5d7a0
|
@ -62,7 +62,6 @@ namespace NzbDrone.Core.Test.Datastore.Migration
|
|||
Id = 1,
|
||||
SeriesId = 1,
|
||||
RelativePath = episodePath,
|
||||
OriginalFilePath = string.Empty,
|
||||
Quality = new { }.ToJson(),
|
||||
Size = 0,
|
||||
DateAdded = now,
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace NzbDrone.Core.Datastore.Migration
|
|||
var id = reader.GetInt32(0);
|
||||
var relativePath = reader.GetString(1);
|
||||
var episodeFileRelativePath = reader.GetString(2);
|
||||
var episodeFileOriginalFilePath = reader.GetString(3);
|
||||
var episodeFileOriginalFilePath = reader[3] as string;
|
||||
|
||||
var subtitleTitleInfo = CleanSubtitleTitleInfo(episodeFileRelativePath, episodeFileOriginalFilePath, relativePath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue