Tango.info track tagger format string: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(Undo revision 27785 by Tobiasco (Talk))
No edit summary
Line 1: Line 1:
[[category:tango.info]]
[[category:tango.info]]
%tin%
* %disc_tqty% number of tracks in disc (count in tracks table, CURRENTLY THIS IS NOT THE MAX OF TRACK NUMBER)
%tint%
* %album_tqty% number of tracks in album (count in tracks table)
%disc_tqty% number of tracks in disc (count in tracks table)
* %album_dqty% number of discs in album (max value for album_side in tracks table)
%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)


<pre>
<pre>

Revision as of 2009-09-01T21:16:38

  • %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)
/*album specific*/
$sf["%tin%"]=$t["album_tin"];
$sf["%album_name%"]=$t["album_name"];
$sf["%album_artist%"]=$t["album_artist"];
$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"];
$sf["%duration%"]=$t["track_dura"];
$sf["%track_orch%"]=$t["track_orch"];
$sf["%track_voca%"]=$t["track_voca"];