Application icon

Artist Reference Database

 

If you are updating these actions from release 4 of these actions take note that all actions are now labelled as being version 5.1. Any actions left behind in the Artist Reference Database folder from earlier versions will not be labelled as version 5 and may be deleted.

Way back in 2015 we thought it would be neat to maintain an Artist database which would allow us to lookup various information about artists in our collection.

This file describes a variety of actions which were written to build the databases, manage them as part of your new album workflow and to provide the query functionality.

In order to get full functionality out of this suite of actions you will require an Album Database which describes the albums in your collection. For the purposes of this suite the database only has to have an Album, Folder Path and Yate Album ID field. However, you may as well throw other columns in there, as Album database are really useful. Personally we keep Album and Track databases updated at all times. The supplied builder for the Album database uses an Export Set called ARDB: Album DB. You might want to take a look at it to see if you want to change any of the fields. Note that the column order is irrelevant as this suite determines the column layout at runtime.

A word on Yate Album IDs. A Yate Album ID is simply a unique value. Every database, including iTunes/Music/TV uses unique IDs. We have Yate Album IDs and Yate Track IDs in all of our tracks to maximize the database capability.

If you do not already have an Album database you will have to create one. Further, you have to construct the Artist Reference database. There are three actions provided to do so. Whichever action you pick must be run through the Batch Processor. Make sure that you enable Auto-Saving of files.

ARDB: Build Album Database
This action will construct the initial Album Database. Yate Album IDs will be created if required.
ARDB: Build Artist Ref DB
This action will construct the initial Artist Database. Yate Album IDs will be created if required.
ARDB: Build both Databases
This action will construct the both databases. Yate Album IDs will be created if required.

There are three actions provided which you can call as part of your new album workflow. They are intended to be rn from the UI.

Add to Artist Ref DB
This action evaluates the current open tracks and adds their artist information to the Artist database. Yate Album IDs will be created if required.
Remove from Artist Ref DB
This action removes the artist information for the open tracks. Note that all information associated with any of the Yate Album Ids present in any of the selected files will be removed.
Update Album DB
This action opens and updates the Album database with information from the currently open tracks. Yate Album IDs will be created if required.

There are helper helper actions which are called in a variety of places. They are not intended to be directly called. These actions all have a name starting with Helper:

All of the above actions validate the configuration settings by calling an action named ARDB: Configure. The action can be directly run at any time. The action will exit immediately if the configuration seems okay. If you want to force the configuration wizard to run hold down the Options key when starting any of the previous actions.

And now for the fun part. The Query Artist Reference DB action. Some of us have this on a toolbar icon because we use it so often. The action issues a prompt and depending on what text you enter, various result types are displayed. The results can be displayed in the Log Viewer or in the Album database. The action can be configured to repeat until cancelled or to stop after a single function is executed.

The functions that can be executed are displayed each time the prompt for text panel is displayed.

When you first start the action if the selected tracks (if any) have a consistent Album Artist or Artist name, that name will automatically be displayed in the text entry field.

The Repeat checkbox at the lower left of the UI panel allows the action to repeat until cancelled.




Content List:

Folder: Artist Reference Database

    Action: Query Artist Reference DB

    Action: ARDB: Configure

    Action: Add to Artist Ref DB

    Action: Remove from Artist Ref DB

    Action: Update Album DB

    Action: Helper: Apply Reference Artist List

    Helper: Build Reference Artist List

    Helper: Remove Reference Artist List

    Helper: Verify Config + Open ARDB

    Action: ARDB: Build both Databases

    Action: ARDB: Build Album Database

    Action: ARDB: Build Artist Ref DB

Export set: ARDB: Album DB

Export set: ARDB: Artist DB

Requirements:

Yate v6.0.2

History:

2015-12-16  First release in v3.10 Preview 1.

2015-12-12  Changes for v3.10 Preview 2.

2015-12-16  Changes for v3.10 Preview 3.

2016-02-24  Patch to ensure that list items are treated as separate entities in Helper: Build Reference Artist List when applying case transformation.

2016-08-28  v3.14 optimizations.

2016-09-19  Query Artist Reference DB will test if the Shift key is down. If it is and a consistent Album Artist or Artist can be found, the query will automatically use that data.

2018-04-03  v4: Updated to maintain the Artist Database keys as being case insensitive.

2020-07-16  v5: Updated for Yate v6.0 capabilities.

2020-09-13  v5.1: Added documentation link..

Download


Back to Yate Resources