
This panel configures the extraction of lyrics from happi.dev. Before you can get lyrics you must have registered and received an API key. The process is defined in Get Lyrics Introduction. The API key must be entered on this panel.
The Introduction to Get Lyrics topic provides information on happi.dev.
We have purchased credits as a shared pool on happi.dev. You can access this shared pool by entering free for the happi.dev API Key field. These credits are a shared resource and at some point they will disappear..
You must specify which lyrics provier you are going to use.
The panel attempts to display the number of remaining free and paid credits (API calls). This information can be extracted in actions via an escape sequence (\\?lc) which returns the sum of the two values. Note that the value displayed represents the information returned when either of the APIs was last accessed in Yate. If you use the same key on a different Mac, the value may be incorrect and will only update whan an API request is issued. The value displayed represents the sum of free and purchased API credits. The amounts are not updated when you change the provider. The Refresh button can be used if you want to update the counts immediately.
Matching is performed primarily using the Artist and Title fields. It is possible that an incorrect match is made. The happi.dev API returns multiple matches. Album metadata in the case of ties. You can elect to Retain match qualifiers. With this option enabled, when a match occurs and a lyric is saved, normalized UDTIs are created or modified:
An attempt to acquire a lyric results in the creation or modification of a UDTI named Get Lyrics Status. The formatting of the Get Lyrics Status UDTI is described in Get Lyrics Status Format.
If you do not wish to see a message displayed when there is no match, you can enable the Do not display 'not found' messsages option.
The various options and means of disallowing a track from being processed when searching for lyrics are specified in the following flow control description:
If the track was processed and lyrics were returned you still have a number of options. If the Always save results to Get Lyrics Text option is set, the returned lyrics will be saved to a normalized UDTI named Get Lyrics Text. In this case the Lyrics field will not be modified and the process is complete.
If lyrics were returned, they may still be declined. There are three tests which can optionally be performed which can decline a returned match. When a match is declined you can choose to save it to a normalized UDTI named Get Lyrics Text. The three tests are:
The API returns the Artist metadata that it associates with the match. You can do a fuzzy compare of the track's Artist field and the returned matched artist metadata. Note that the Weight Export Set is applied. You specify the threshold percentage to be deemed successful. When the set percentage is 0%, the artist metadata is not compared. 75% seems to be a good value.
The API returns the Title metadata that it associates wit the match, You can do a fuzzy compare of the track's Title field and the returned matched title metadata. Note that the Weight Export Set is applied. You specify the threshold percentage to be deemed successful. When the set percentage is 0%, the title metadata is not compared. 75% seems to be a good value.
If either of the above three tests are run and fail, the results will only be retained if you have the Save to Get Lyrics Text if ignored option set. If none of the tests were run or if the run tests met their thresholds, the lyrics will be saved to the Lyrics field.
Warning: The above tests should be experimented with. We've found that there are often variances which can cause a match to be declined. For instance the database might have the lyrics for a duet as opposed to the original artist. The title might be tagged as (live) while your track is not. Both of the preceding situations can cause an artist or title test to fail and it is difficult to determine an appropriate percentage for the fuzzy matching. Typically we leave the three tests set to 0% and make sure that Retain match qualifiers is set. This way you can always vet the results yourself at a later time. Featuring information on a title field will typically mess things up.