Tango.info track tagger: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(→‎Bug2: Use format_string=%date%;%year% for testing this bug.)
Line 8: Line 8:
==Usage==
==Usage==
The tagger has two input boxes
The tagger has two input boxes
* [[tango.info music tagger track references]]
* [[tango.info track tagger track references]]
* [[tango.info music tagger format string]]
* [[tango.info track tagger format string]]


Submit presents an output box:
Submit presents an output box:

Revision as of 2012-07-03T17:37:31


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].

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.2.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=http://www.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