Mp3tag

From tango.info wiki
Jump to: navigation, search

Intro

Mp3tag is a program for editing the tags of music files in all major audio formats. It is available as freeware from http://www.mp3tag.de/en/download.html supported by donation.

Issues

  • Mp3tag has had changes that broke compatibility with procedures, scripts, configurations etc. All changes are documented here copied here.
    • V2.47 changed many field names, causing most export scripts and some configurations that used them to fail silently, producing incorrect results. This included many of the Mp3tag applications on this wiki, some of which have yet to be adapted accordingly. Some, and some fixed, are here.
    • V2.45 changed the filter specification format to one incompatible with previous versions

Integration with tango.info

  • tagging
  • Browsing - you can browse direct from Mp3tag to the tango.info info of the album of any track having the album barcode number (UPC, EAN or TINP) in the Album tag or the folder path.
    • To set this up:
      1. Click Tools, Options..., Tools, <starred page icon>
      2. Enter
        • Name tango.info
        • Path e.g. C:\Program Files\Internet Explorer\IEXPLORE.EXE
        • Parameter https://tango.info/$num($regexp(%album%:%_folderpath%,(?:.*?(\d{12,14}).*)|^,$1),14)
      3. Uncheck for all selected files
      4. click OK, and click OK.
    • To use
      • select a track and press CTRL+1, or:
      • right-click a track and click Tools ► tango.info
  • Browsing - if you are using TINT-based filing, you can browse direct from Mp3tag to the tango.info info for the current track .
    • To set this up:
      1. Click Tools, Options..., Tools, <starred page icon>
      2. Enter
        • Name tango.info
        • Path e.g. C:\Program Files\Internet Explorer\IEXPLORE.EXE
        • Parameter https://tango.info/%_parent_directory%\%_directory%\%track%
      3. Uncheck for all selected files
      4. click OK, and click OK.
    • To use
      • select a track and press CTRL+1, or:
      • right-click a track and click Tools ► tango.info

Usage

  • Filtering by TINP, from a file containing one TINP per line
    1. Edit the file to change all line-ends to the | character e.g. 02480002110729|02480002111528|02480002112921... making a one-line TINP list
    2. In MP3tag, tick View | Filter
      • In Field select the field containing the TINP e.g.
        • if TINT-based filing is used, select _PATHNAME
        • if the TINP is in the Album name, select ALBUM
      • In Filter, paste the one-line TINP list
    • Mp3tag will now show only the tracks matching those TINs.
    • Filtering by TINT\ is not possible, due the Filter not offering FILEPATH.

Scripting

Various natively unavailable operations can be coded as follows.

  • $if($regexpmatch(subject,pattern),whenmatched,whennotmatched)

-> $if($neql(subject,$regexp(subject,pattern,)),whenmatched,whennotmatched)

Various operations can be made more concise as follows:

  • $if($neql(0,$strstr(subject,substring)),whenmatched,whennotmatched)

-> $ifgreater($strstr(subject,substring),0,whenmatched,whennotmatched)

Documentation

Official documentation is lacking, e.g.

missing scripting functions

$list - http://forums.mp3tag.de/index.php?showtopic=7847&view=findpost&p=36819

undocumented behavour

Convert Tag file - Tag keying on _PATH - http://forums.mp3tag.de/index.php?showtopic=12116&view=findpost&p=48417