diff --git a/src/NzbDrone.Core/Datastore/Migration/199_mediainfo_to_ffmpeg.cs b/src/NzbDrone.Core/Datastore/Migration/199_mediainfo_to_ffmpeg.cs index 48a108c4d..1924e0de7 100644 --- a/src/NzbDrone.Core/Datastore/Migration/199_mediainfo_to_ffmpeg.cs +++ b/src/NzbDrone.Core/Datastore/Migration/199_mediainfo_to_ffmpeg.cs @@ -789,7 +789,7 @@ namespace NzbDrone.Core.Datastore.Migration private string MigratePrimaries(string primary) { - return primary.Replace("BT.", "bt"); + return primary.IsNotNullOrWhiteSpace() ? primary.Replace("BT.", "bt") : primary; } private string MigrateTransferCharacteristics(string transferCharacteristics)