Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/ef3005f2bbf8508be0bd373a0df01360eff23c3f You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: GetFilesByAlbum should only return files for monitored releases

Since switching releases doesn't clear out trackfiles for unmonitored
releases, we need to ensure we only return files for monitored
releases otherwise we will return duplicates
pull/6/head
ta264 6 years ago
parent 225af556d9
commit ef3005f2bb

@ -43,7 +43,9 @@ namespace NzbDrone.Core.MediaFiles
public List<TrackFile> GetFilesByAlbum(int albumId)
{
return Query
.Where(f => f.AlbumId == albumId)
.Join<Track, AlbumRelease>(JoinType.Inner, t => t.AlbumRelease, (t, r) => t.AlbumReleaseId == r.Id)
.Where<AlbumRelease>(r => r.Monitored == true)
.AndWhere(f => f.AlbumId == albumId)
.ToList();
}

Loading…
Cancel
Save