Skip to content

Commit

Permalink
Remove "Is Single File Release" property from the track resource clas…
Browse files Browse the repository at this point in the history
…s and the database table.
  • Loading branch information
zhangdoa committed Jan 7, 2024
1 parent 80100df commit b18cd45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/Lidarr.Api.V1/Tracks/TrackResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class TrackResource : RestResource

public ArtistResource Artist { get; set; }
public Ratings Ratings { get; set; }
public bool IsSingleFileRelease { get; set; }

// Hiding this so people don't think its usable (only used to set the initial state)
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
Expand Down Expand Up @@ -59,7 +58,6 @@ public static TrackResource ToResource(this Track model)
MediumNumber = model.MediumNumber,
HasFile = model.HasFile,
Ratings = model.Ratings,
IsSingleFileRelease = model.IsSingleFileRelease
};
}

Expand Down
1 change: 0 additions & 1 deletion src/NzbDrone.Core/Datastore/Migration/076_add_flac_cue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public class add_flac_cue : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Alter.Table("Tracks").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
Alter.Table("TrackFiles").AddColumn("IsSingleFileRelease").AsBoolean().WithDefaultValue(false);
}
}
Expand Down

0 comments on commit b18cd45

Please sign in to comment.