Last.fm represents its annotations to tracks, albums and artists in tags. These tags are of a much broader scope than the tags kept in the metadata typically stored in audio tracks. This suite divides the tags into the following categories:
The sample actions provide the means of importing (appending or overwriting) any of the tags which fall into one of the above categories.
A large number of actions are provided. Many of the actions are helpers which are called by others. The names of these actions all start with Last.fm Suite Helper:
Many other actions start with a prefix of Last.fm Suite Helper. These are small actions each of which does one type of import. The intent is that you can call them from your own actions.
Most of these actions create and/or use a database named LastFM DB. While you need not manually edit the database you can do so if you wish. The database files are placed in a folder you specify when the suite is configured.
The database is quite simple and consists of three columns:
This database is created and opened when training the The LastFM DB database database. The database is overwritten whenever required. If you wish to preserve the contents of the database you will have to save it manually. The database consists of the following columns:
• Last.fm Train the Database
Last.fm Album and Track tags will be downloaded for all selected files. The set of merged results will reduced by removing any tags already currently known. known implies that the tag is a genre; mood; in the LastFM DB database and not ignored; an artist; a year or a decade.
The resultant list of unknown tags will be displayed in the LastFM Temp DB database. You can make any changes to the tags in the displayed database and commit them to the LastFM DB database by selecting Run Action>Apply Changes to LastFM DB from the context menu.
• Apply Changes to LastFM DB
This action can only be run from the LastFM Temp DB database. It will apply any changes you've made to the LastFM DB database. The action is not displayed on Actions menus. Warning: If you explicitly ignore all tags that you are not interested in, the LastFM DB database may grow at an alarming rate. It may be preferable to allow these tags to be implicitly ignored and to only accept those tags you wish to preserve.
• Last.fm Suite Configuration
This is the configuration action for the suite. The action is automatically called when required information is missing. If you want to change the configuration, you can manually run this action. This first time you run this action or it is automatically run for you, more information on the importing of metadata will become clearer.
• Last.fm Sample
This is a sample action which will download Album and Track tags for all selected files. Priority is given to Album tags. The following metadata may be imported:
If you want to make changes to this action it is strongly recommended that you duplicate the action in the Action Manager and make the changes in the copy. This is avoid losing changes if you download updates for the suite.
The action basically sets a number of configuration named variables and calls the Last.fm Suite Helper: Extract Metadata action. It is easy to change what is imported by making changes to the configuration named variables initialized in the action. For more information on the values to use, read the first Comment statement in the Last.fm Suite Helper: Extract Metadata action.
• Last.fm Display Available Metadata in Log Viewer
This action downloads Album and Track tags then displays a list of categories and associated tags in the Log Viewer.
• Helper Actions
Actions in the suite with names which start with Last.fm Suite Helper: are called by the above actions. They should not be directly called. The actions are not displayed on Actions menus.
Content List:
Folder: Last.fm Suite
Actions:
Last.fm Sample
Last.fm Suite Helper: Extract Metadata
Last.fm Suite Helper: Set DB Access Visibility
Last.fm Suite Helper: Process Downloaded Last.fm Tags
Last.fm Suite Helper: Open or Create the LastFM DB
Last.fm Suite Configuration
Last.fm Suite Helper: Last.fm Apply Case Transformations
Last.fm Display Available Metadata in Log Viewer
Last.fm Train the Database
Last.fm Suite Helper: Display a Tags List
Apply Changes to LastFM DB
Last.fm Suite Helper: Append Genres
Last.fm Suite Helper: Append Moods
Last.fm Suite Helper: Append Others
Last.fm Suite Helper: Overwrite Decade
Last.fm Suite Helper: Overwrite Decade if Missing
Last.fm Suite Helper: Overwrite Genre (1)
Last.fm Suite Helper: Overwrite Genre (1) if Missing
Last.fm Suite Helper: Overwrite Genres
Last.fm Suite Helper: Overwrite Moods
Last.fm Suite Helper: Overwrite Original Release Time
Last.fm Suite Helper: Overwrite Original Release Time if Missing
Last.fm Suite Helper: Overwrite Others
Last.fm Suite Helper: Overwrite Year
Last.fm Suite Helper: Overwrite Year if Missing
Export Sets:
last.fm DB
last.fm Temp
Action Runtime Settings :
Apply Changes to LastFM DB
Requirements:
Yate v6.13
History:
Date | Version | Information |
---|---|---|
2020-09-13 | v1.0 | First release. |
2020-09-13 | v1.1 | Restricted database access. |
2021-03-23 | v1.2 | Bug fixes. |
2021-03-23 | v1.2 | Bug fixes. |
2021-03-26 | v1.4 | The database was not auto created. |
2021-03-28 | v1.5 | Added the ability to set Original Release Time. |
2021-03-28 | v1.6 | Genre's were using the wrong join sequence. |
2021-04-15 | v1.7 | An action listed for remote loading in Last.fm Suite Helper: Extract Metadata had an extra space in the name. |
2021-05-18 | v1.8 | Added the ability to sort Genres, Moods and others in 'Last.fm Sample'. |
2022-06-01 | v1.9 | Fixed a bug which could cause certain functions to fail. |
2023-01-02 | v2.0 | Updated for Yate v6.13. Major version bump is to ensure updates are okay with older Yate versions. |