|
|
@ -16,13 +16,24 @@ import styles from './ArtistHistoryRow.css';
|
|
|
|
|
|
|
|
|
|
|
|
function getTitle(eventType) {
|
|
|
|
function getTitle(eventType) {
|
|
|
|
switch (eventType) {
|
|
|
|
switch (eventType) {
|
|
|
|
case 'grabbed': return 'Grabbed';
|
|
|
|
case 'grabbed':
|
|
|
|
case 'artistFolderImported': return 'Artist Folder Imported';
|
|
|
|
return 'Grabbed';
|
|
|
|
case 'trackFileImported': return 'Download Folder Imported';
|
|
|
|
case 'downloadImported':
|
|
|
|
case 'downloadFailed': return 'Download Failed';
|
|
|
|
return 'Download Completed';
|
|
|
|
case 'trackFileDeleted': return 'Track File Deleted';
|
|
|
|
case 'trackFileImported':
|
|
|
|
case 'trackFileRenamed': return 'Track File Renamed';
|
|
|
|
return 'Track Imported';
|
|
|
|
default: return 'Unknown';
|
|
|
|
case 'downloadFailed':
|
|
|
|
|
|
|
|
return 'Download Failed';
|
|
|
|
|
|
|
|
case 'trackFileDeleted':
|
|
|
|
|
|
|
|
return 'Track File Deleted';
|
|
|
|
|
|
|
|
case 'trackFileRenamed':
|
|
|
|
|
|
|
|
return 'Track File Renamed';
|
|
|
|
|
|
|
|
case 'trackFileRetagged':
|
|
|
|
|
|
|
|
return 'Track File Tags Updated';
|
|
|
|
|
|
|
|
case 'albumImportIncomplete':
|
|
|
|
|
|
|
|
return 'Album Import Incomplete';
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return 'Unknown';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|