TINT-based filing: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
**Convert | Tag - Filename, Format string:<pre>C:\My Music\$regexp(%album%,'.*\[(\d{14})\]',\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%</pre> (where Album contains [TIN])
**Convert | Tag - Filename, Format string:<pre>C:\My Music\$regexp(%album%,'.*\[(\d{14})\]',\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%</pre> (where Album contains [TIN])
**Convert | Tag - Filename, Format string:<pre>C:\My Music\$regexp(00$regexp(%album%,.*\'['(\d{12,14})\']',\1),.*(\d{14}),\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%</pre> (where Album contains [UPC/EAN/TIN])
**Convert | Tag - Filename, Format string:<pre>C:\My Music\$regexp(00$regexp(%album%,.*\'['(\d{12,14})\']',\1),.*(\d{14}),\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%</pre> (where Album contains [UPC/EAN/TIN])
==Other TINT-based schemes - examples==
===Concise===
*<tt>My Music\'''08427328146067'''-'''2'''\'''1'''.flac</tt> [TINT]
*<tt>My Music\'''08427328146067'''-'''2'''-'''1'''.flac</tt> [TINT]
*<tt>My Music\'''08427328146067'''\'''2'''-'''1'''.flac</tt> [TINT]
===Verbose===
*<tt>My Music\'''828766933420'''-'''1'''_El_rey_del_compas_(1941-1943)\'''1''' El rey del compás.flac</tt>
*<tt>My Music\40 Grandes Exitos (CD1 of 2) '''8427328146067'''-'''1'''\'''01''' Patotero sentimental.flac</tt>
===Scheme-dependent meaning===
==Non-TINT-based schemes==
*<tt>My Music\'''08427328146067'''-'''002'''\'''1'''.flac</tt>
*<tt>My Music\El rey del compas (1941-1943) '''828766933420'''\'''1''' El rey del compás.flac</tt>
*<tt>My Music\'''828766933420'''_El_rey_del_compas_(1941-1943)\'''1''' El rey del compás.flac</tt>
*Ambiguous case: <tt>My Music\'''08427328146067'''\'''2'''-'''9'''_de_julio.flac</tt>
**take care - disc 2 track 9, or single disc track 2?


==See also==
==See also==
*[[pathnames]]
*[[pathnames]]

Revision as of 2008-03-08T16:01:52

Overview

TINT\ may be used as the basis of a music library's filepath format e.g. track 1 of disc 1 of the album having TIN 00008637207120 has the filepath C:\My Music\00008637207120\1\1.flac.

The TINT subpath is fixed forever. It contains no metadata, so avoids metadata correction causing inconsistentcy or breakage of references from e.g. playlists. The TINT subfilepath is constant across multiple libraries, allowing playlist to be transported, file extension and content set permitting.

The fact that TINT includes the disc segment number even for single-disc albums means that the folder tree level of track files is uniform for all albums, allowing access to are creation of TIN fields in scriptiong to be uniform.

To ease identification when browsing the folder tree directly, each album folder may contain a file named <Album> - <Album Artist>.txt or .htm. This can contain track metadata.

To ease location of a particular album, there may additional subfolders holding descriptively-named links/shortcuts:

  • "!Explore by Album title" holding links/shortcuts named <Album> - <Album Artist>.lnk
  • "!Explore by Album Artist" holding links/shortcuts named <Album Artist> - <Album>.lnk.

Examples

single-disc albums

  • My Music\00828766933420\1\1.flac

multi-disc albums

  • My Music\08427328146067\1\1.flac
  • My Music\08427328146067\2\1.flac

Management with Mp3tag

  • Within Mp3tag script, TINT\ path fields are accessible as the following placeholders:
    • TIN - %_parent_directory%
    • Disc# - %_directory%
    • Track# - %_filename%
  • Tag values may be set to TINT\ path values e.g:
    • Convert | Filename - Tag, Format string: %discnumber%\%track%
  • Track paths may be changed to TIN-based:
    • Convert | Tag - Filename, Format string:
      C:\My Music\$regexp(%album%,'.*\[(\d{14})\]',\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%
      (where Album contains [TIN])
    • Convert | Tag - Filename, Format string:
      C:\My Music\$regexp(00$regexp(%album%,.*\'['(\d{12,14})\']',\1),.*(\d{14}),\1)\$regexp(%discnumber%,(.*)/.*,\1)\%track%
      (where Album contains [UPC/EAN/TIN])

Other TINT-based schemes - examples

Concise

  • My Music\08427328146067-2\1.flac [TINT]
  • My Music\08427328146067-2-1.flac [TINT]
  • My Music\08427328146067\2-1.flac [TINT]

Verbose

  • My Music\828766933420-1_El_rey_del_compas_(1941-1943)\1 El rey del compás.flac
  • My Music\40 Grandes Exitos (CD1 of 2) 8427328146067-1\01 Patotero sentimental.flac

Scheme-dependent meaning

Non-TINT-based schemes

  • My Music\08427328146067-002\1.flac
  • My Music\El rey del compas (1941-1943) 828766933420\1 El rey del compás.flac
  • My Music\828766933420_El_rey_del_compas_(1941-1943)\1 El rey del compás.flac
  • Ambiguous case: My Music\08427328146067\2-9_de_julio.flac
    • take care - disc 2 track 9, or single disc track 2?

See also