|
|
@ -73,7 +73,7 @@ namespace NzbDrone.Core.MediaFiles.TrackImport
|
|
|
|
|
|
|
|
|
|
|
|
var trackFile = new TrackFile();
|
|
|
|
var trackFile = new TrackFile();
|
|
|
|
trackFile.DateAdded = DateTime.UtcNow;
|
|
|
|
trackFile.DateAdded = DateTime.UtcNow;
|
|
|
|
trackFile.ForeignArtistId = localTrack.Artist.ForeignArtistId;
|
|
|
|
trackFile.ArtistId = localTrack.Artist.Id;
|
|
|
|
trackFile.Path = localTrack.Path.CleanFilePath();
|
|
|
|
trackFile.Path = localTrack.Path.CleanFilePath();
|
|
|
|
trackFile.Size = _diskProvider.GetFileSize(localTrack.Path);
|
|
|
|
trackFile.Size = _diskProvider.GetFileSize(localTrack.Path);
|
|
|
|
trackFile.Quality = localTrack.Quality;
|
|
|
|
trackFile.Quality = localTrack.Quality;
|
|
|
|