Tango.info track tagger

From tango.info wiki
Jump to navigation Jump to search


To be used for tango.info music tagging.

Name

It was suggested to use the name "track tagger" instead of "music tagger", since a track may contain non-music [1].

The tool only delivers track meta data, it does not write tags into files, so "tagger" might be a misnomer.

In v1.3.3 the h1 tag for the tool was changed from "Tool: Tagger" to "Tool: Track tagger".

Usage

The tagger has two input boxes

Submit presents an output box:

Each line consists of

  • starting with "Error:" - an error
  • not - tag data from one track, in the Format String format

Development

Latest version: https://tango.info/tools/tagger1.3.3.php

Bugs

Bug1

in URI mode (only), failure on track reference parsing

  • fine

https://tango.info/tools/tagger1.3.2.php?track_references=http://cjj1.com/chrisjj/tango/cjjsets/2009-09-18_Wolfson.html

NOTE: Acceptance of URL in track references field is undefined behavior! Chrisjjj 2010-12-03T11:29:05 (UTC)

  • fails

https://tango.info/tools/tagger1.3.2.php?track_references=https://tango.info/wiki/User:Tobiasco/FresedoRRRR&format_string=%25tint%25

each tint contained thrice, source for one tint:

<a href="https://tango.info/00743212200621-1-2" 
class="external free" title="https://tango.info/00743212200621-1-2"
rel="nofollow">https://tango.info/00743212200621-1-2</a>

Bug2

%year% can be missing, while page shows a year

On V1.3.2, %year% can fail, returning a null string instead of the year value e.g. track page shows year 1941:

http://img442.imageshack.us/img442/1194/trackbendigotunombretan.png

but using format string %year%, tagger tag list shows null:

http://img855.imageshack.us/img855/3026/tangoinfogooglechrome.png

This did not happen on a track the date of which had month and day.

Use format_string=%date%;%year% for testing this bug.

Bug3

null output can cause a missing tag list line

On V1.3.2, null output from a field (such as caused by the %year% failure reported separately) can cause a missing tag list line, leading to misaligment of tag lines v. tracks and hence to severe mistagging. E.g. http://img163.imageshack.us/img163/3026/tangoinfogooglechrome.png

This did not happen where the track line generated other output e.g. from format string %year%; .

Not always missing:

07730725820029-1-1
07730725820029-1-1
07798108080255-1-1
gives two lines

07798108080255-1-1
07730725820029-1-1
07798108080255-1-1
gives three lines

If the %year% is filled in case Bug2 is fixed, one can use format_string=%dummy% to test this bug.

Bug4

Tag list and Process message layout

On V1.3.2, Tag list and Process message: are on the same line, as if a line break was missing.

http://img163.imageshack.us/img163/3026/tangoinfogooglechrome.png