MPA

From the to-do list: MPA V1.0: post API integration

✔ Auto-tagging: include Aliases

Comments

Pierre henri Seylan on February 26, 2019:

We have developped a feature which allows to auto-tag files when they are imported into the app.
It currently works by parsing the file's tittle and extracting tags which are matching the tags provided by the API.

For example:
If a file is named "jazz_piano03.wav"
It will be assiged the tags "jazz" + "piano"

This already works, this task is about extending this functionality.

Recently we have added something called "tags aliases" in the API.
This means that it it no longer only provides tags, but also synomim of tags.

For example:
The tag "piano" can have the alliases "keys" "key" "keyboard" "steinway"

The API should provide tags alog with their alliases.

This task is about extending the auto-tagging feature so that it also tags the file with the main tag when an alias is detected in the file tittle.

details:
When importing a file and parsing the tittle, we should now also check for alliases.
If an allias is detected, the file is tagged with the main tag.
So for example, in the case of:
  • Main tag: "piano"
  • Alliases: "keys" "key" "keyboard" "steinway"
the file is tagged with "piano" if any of the alliases is detected when parsing the file.


to test the auto-tagging functionality, simply drag and drop audio files in the "personal" section of the sound library.
Make sure that there are some tags to be detected, so the file's tittle should contain at least one tag which is present in our tags database (like piano, drums, synth, etc)