Tango.info track tagger format string

From tango.info wiki
Revision as of 2010-02-23T16:23:20 by Tobiasco (talk | contribs) (//$sf["%year%"]=$t["track_year"];//recording date reduced to YYYY)
Jump to navigation Jump to search

The tango.info tagger since 1.3 (work in progress) accepts a format string for the output.

It can be set via the url or input field.

http://tools.tango.info/tagger1.3.php?format_string=%25tin%25

  • %disc_tqty% number of tracks in disc (count in tracks table, CURRENTLY THIS IS NOT THE MAX OF TRACK NUMBER)
  • %album_tqty% number of tracks in album (count in tracks table)
  • %album_dqty% number of discs in album (max value for album_side in tracks table)

Aliases exist see below. For work on tags or wishes see TIS tags.

/*album specific*/
$sf["%tin%"]=$t["album_tin"];
$sf["%album_name%"]=$t["album_name"];
$sf["%album_artist%"]=$t["album_artist"];
$sf["%album_pubcode%"]=$t["album_pubcode"];
$sf["%album_dqty%"]=$t["album_disc_qty"];
 $sf["%album_disc_qty%"]=$sf["%album_dqty%"];//alias
$sf["%album_tqty%"]=$t["album_track_qty"];

/*disc specific*/
$sf["%discnumber%"]=$t["album_side"];		
$sf["%disc_tqty%"]=$t["track_qty"];
 $sf["%disc_track_qty%"]=$sf["%disc_tqty%"];//alias

/*track specific*/
$sf["%tint%"]="{$t["album_tin"]}-{$t["album_side"]}-{$t["track_num"]}";
$sf["%track%"]=$t["track_num"];
$sf["%title%"]=$t["track_name"];
$sf["%artist%"]=$t["track_artists"];		
$sf["%genre%"]=$t["track_genr"];	
$sf["%date%"]=$t["track_date"];//tango.info recording date
//$sf["%year%"]=$t["track_year"];//recording date reduced to YYYY, to be implemented
$sf["%duration%"]=$t["track_dura"];
$sf["%track_orch%"]=$t["track_orch"];
$sf["%track_voca%"]=$t["track_voca"];