Dynamic ID3 comment field
Deben Oldert a édité cette page il y a 5 ans

Dynamic ID3 comment field

In order to make my own DJ life easier, I use the comment tag in a mp3 to save some more information about the track. With some information in this field, smart playlists could be used to automatically add new songs to playlists or to filter music automatically.

Using dynamic tags

By default the comment section is not filed in. If you want to use it do the following:

  1. Open the program through command line
  2. Go to settings by typing the command settings
  3. You will now see a list of all possible settings of the program
  4. Choose the commentFormat setting
  5. Type the format you want to use, e.g: LABEL:{label};
  6. Save the settings and all newly downloaded songs will contain the format filled in in their comment section, e.g: LABEL:Spinnin' Records;

Sounds cool, but what are the posibilities?

Good question, you can use multiple variables in that line. They are listed below.

Variable Description
{artist} Artists of the track
{title} Title of the track
{genre} Genre of the track (if known, spotify doesn't know)
{album} Album containing the track
{duration} Duration of the track in seconds
{label} Label that released the track (if known)
{playlist} Spotify playlist that contained the song

Most of the variables are saved in their own tag field of an mp3 file, meaning that implementing those might be unnessary. But the interesting ones are {label} and {playlist}, since these values can't normally be saved in a mp3 file.

How to format this comment field?

Just the {label} part prints the label that released the track, like Spinnin' Records. This might be better used when enclosing the variable, like LABEL:{label}; results in LABEL:Spinnin' Records;. This way multiple things could be saved in that field, for example: LABEL:{label};PLAYLIST:{playlist}; would result in LABEL:Spinnin' Records;PLAYLIST:Cool EDM songs;

Using this in smart playlist

Almost any software has the ability to create smart playlists. By using the format stated above one could create a smart playlist with the following rule:

Songs where comment contains LABEL:Spinnin' Records;

This would result in creating a smart playlist containing only songs that are released by Spinnin' Records.