mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
8b860bcb82
* Changed: Remove Language Profiles * fixup! Changed: Remove Language Profiles * fixup! Changed: Remove Language Profiles * Remove unused method in FileNameBuilder * Fixed: Cleanup Int Converter Copy/Paste Issues and Grammar
32 lines
632 B
JavaScript
32 lines
632 B
JavaScript
|
|
function getNewArtist(artist, payload) {
|
|
const {
|
|
rootFolderPath,
|
|
monitor,
|
|
qualityProfileId,
|
|
metadataProfileId,
|
|
artistType,
|
|
albumFolder,
|
|
tags,
|
|
searchForMissingAlbums = false
|
|
} = payload;
|
|
|
|
const addOptions = {
|
|
monitor,
|
|
searchForMissingAlbums
|
|
};
|
|
|
|
artist.addOptions = addOptions;
|
|
artist.monitored = true;
|
|
artist.qualityProfileId = qualityProfileId;
|
|
artist.metadataProfileId = metadataProfileId;
|
|
artist.rootFolderPath = rootFolderPath;
|
|
artist.artistType = artistType;
|
|
artist.albumFolder = albumFolder;
|
|
artist.tags = tags;
|
|
|
|
return artist;
|
|
}
|
|
|
|
export default getNewArtist;
|