Export configuration to build Discogs Custom Search Commands

Mp3tag comes with only 4 discogs commands to search for album, artist+album, artist+title and artist+year. Often these are not enough to successfully and efficiently search for a dataset on discogs that fits your needs. Furthermore mp3tag meanwhile supports up to five search criteria and that could be better used. But it's not easy to add some custom made searches without some deeper knowledge of mp3tags internal functions.

With this export script you now have a rather simple to use tool that allows the design and test of your own search commands. All you have to do is to change the content of the tag fields, that you want to use as search criteria, into a question mark and then run this export script. This will generate a custom made discogs search command that uses these marked tag fields as search criteria.

Search Criteria		Tag field
--------------------------------
Artist				Artist
Album				Album
Title				Title
Barcode				Barcode
Catalognumber		Catalognumber
Master ID			Discogs_Master_ID
--------------------------------
Country				Country
Credit				Composer
Mediatype			Mediatype
Genre				Genre
Publisher			Publisher
Year				Year
--------------------------------
Result Page			Result_Page

Download
Discogs Custom Search Command.mte (3.3 KB)

Installation
Open the configuration folder and copy the script 'Discogs Custom Search Command' to the export directory.

Usage Instruction

  1. Copy a single arbitrary track with tag fields into an empty folder
  2. Open this folder in Mp3tag
  3. Use Alt-T to edit the tag fields of this track
  4. Select up to five tag fields from the above list and write a single question mark '?' into it. If the desired tag field does not exist you simply have to create it.
  5. Now execute this export configuration script with File -> Export (Ctrl+E)
  6. Optionally you can now restore the edited tags with Ctrl-Z

After this you should find in the Tag Sources menu a new entry 'Discogs Custom Search Command' ready for testing. If you want to keep it further rename the corresponding file in the data\sources folder.

Hints:

Preferably build a search command starting with one or two tag fields from the first group in the above table and then add tag fields up to the maximum of five search criteria from the second group.

The credit search field is useful for finding discogs releases that contain not only a track list but also names of composers and other extra artists. This credit search seems to work only if it does not contain the same name as the artist field.

The Result_Page can be used to overcome the limit of 100 matches from the discogs database (effectively reducing the number of search criteria to four).

Now use your imagination and have fun!

4 Likes