User:Chrisjjj/TINT-based filing: Difference between revisions
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category: | [[Category:Identifier]] | ||
[[Category: | [[Category:Data]] | ||
==Overview== | ==Overview== | ||
TINT-based filing is an audio track filenaming scheme that uses only the track's [[TINT]] as the distinguishing segment of the full pathname | TINT-based filing is an audio track filenaming scheme that uses only the track's [[TINT]] as the distinguishing segment of the full pathname. The pathname takes the following format: | ||
<pre><nowiki><root> | <pre><nowiki><root>\<TIN>\<Side#>\<Track#>.<ext></nowiki></pre> | ||
where <tt>/</tt> represents the | where <tt>/</tt> represents the name segment separator appropriate to the filing system. | ||
For example, track 1 of CD 1 of the album having TIN 00008637207120 | For example, track 1 of CD 1 of the album having TIN 00008637207120 could have the pathname: | ||
<pre>C:\Users\Chris\My Music\00008637207120\1\1.flac</pre> | |||
Since a track's TINT | Since a track's TINT stays fixed forever, so does the TINT part of its pathname. The pathname contains no metadata, so metadata variation (e.g. correction) never causes cause incompatibility or breakage of references within e.g. playlists. A given track's TINT part is constant across multiple libraries, allowing playlists to be transported e.g. interpreted unambiguously in the absence of the original library, and played on a library having the same file extension and containing the same tracks. | ||
TINT's inclusion of the disc side segment even for single-side albums ensures the folder tree level of track files is uniform for all albums, allowing uniform access to and creation of TINT fields e.g. in scripted processes. | |||
==Examples== | ==Examples== | ||
* single-CD album | * single-CD album | ||
**<tt>C: | **<tt>C:\My Music\'''00828766933420'''\'''1'''\'''1'''.flac</tt> | ||
* double-CD album | * double-CD album | ||
**<tt>C: | **<tt>C:\My Music\'''08427328146067'''\'''1'''\'''1'''.flac</tt> | ||
**<tt>C: | **<tt>C:\My Music\'''08427328146067'''\'''2'''\'''1'''.flac</tt> | ||
* double-LP album | * double-LP album | ||
**<tt>C: | **<tt>C:\My Music\'''02480002926l24'''\'''1'''\'''1'''.flac</tt> | ||
**<tt>C: | **<tt>C:\My Music\'''02480002926l24'''\'''2'''\'''1'''.flac</tt> | ||
**<tt>C: | **<tt>C:\My Music\'''02480002926l24'''\'''3'''\'''1'''.flac</tt> | ||
**<tt>C: | **<tt>C:\My Music\'''02480002926l24'''\'''4'''\'''1'''.flac</tt> | ||
==Use in Windows Explorer== | ==Use in Windows Explorer== | ||
Line 57: | Line 57: | ||
==See also== | ==See also== | ||
* [[User:Chrisjjj/TINT usage]] | * [[User:Chrisjjj/TINT usage]] | ||
* [[TINT-based filing migration]] | * [[User:Chrisjjj/TINT-based filing migration]] | ||
* [[pathnames]] | * [[pathnames]] | ||
* [[listing pathnames to file]] | * [[listing pathnames to file]] |
Latest revision as of 2022-11-17T19:32:59
Overview
TINT-based filing is an audio track filenaming scheme that uses only the track's TINT as the distinguishing segment of the full pathname. The pathname takes the following format:
<root>\<TIN>\<Side#>\<Track#>.<ext>
where / represents the name segment separator appropriate to the filing system.
For example, track 1 of CD 1 of the album having TIN 00008637207120 could have the pathname:
C:\Users\Chris\My Music\00008637207120\1\1.flac
Since a track's TINT stays fixed forever, so does the TINT part of its pathname. The pathname contains no metadata, so metadata variation (e.g. correction) never causes cause incompatibility or breakage of references within e.g. playlists. A given track's TINT part is constant across multiple libraries, allowing playlists to be transported e.g. interpreted unambiguously in the absence of the original library, and played on a library having the same file extension and containing the same tracks.
TINT's inclusion of the disc side segment even for single-side albums ensures the folder tree level of track files is uniform for all albums, allowing uniform access to and creation of TINT fields e.g. in scripted processes.
Examples
- single-CD album
- C:\My Music\00828766933420\1\1.flac
- double-CD album
- C:\My Music\08427328146067\1\1.flac
- C:\My Music\08427328146067\2\1.flac
- double-LP album
- C:\My Music\02480002926l24\1\1.flac
- C:\My Music\02480002926l24\2\1.flac
- C:\My Music\02480002926l24\3\1.flac
- C:\My Music\02480002926l24\4\1.flac
Use in Windows Explorer
To ease identification when browsing the folder tree directly, each album folder may be 'labelled' with e.g. <Album> ; <Album Artist> by putting a file of this name in the album directory e.g. TINTed album labelling. Also, this label file may contain track metadata.
To ease location of a particular album, the root folder may contain 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.
Use in librarians
- MediaMonkey - to find a track by TINT, in the quick search box (on the Search toolbar) enter TINT followed by . (dot).
Use for playlists
- see TINT playlist
Use in Mp3tag
- Within Mp3tag script, TINT path fields are accessible as the following placeholders:
- TIN - %_parent_directory%
- Side# - %_directory%
- Track# - %_filename%
- TINT fields may be copied from path to tags:
- Convert | Filename - Tag, Format string:
\%TIN%\%discnumber%\%track%
(Note: %TIN% is a custom field.)
- Convert | Filename - Tag, Format string:
- TINT fields may be copied from tags to path i.e. the path is changed to TINT-based:
- Where the Album tag contains the string [<TIN>] (i.e. the TIN inside square brackets), and discnumber and track fields are present:
- Convert | Tag - Filename, Format string:
$regexp(%album%,'.*\[(\d{14})\]',\1)\$regexp(%discnumber%,(.*)/.*,\1)\$add(%track%,0)
- Convert | Tag - Filename, Format string:
- Where the Album tag contains the album barcode number as UPC, EAN or TIN, and discnumber and track fields are present:
- Convert | Tag - Filename, Format string:
$regexp(00$regexp(%album%,.*\'['(\d{12,14})\']',\1),.*(\d{14}),\1)\$regexp(%discnumber%,(.*)/.*,\1)\$add(%track%,0)
- Convert | Tag - Filename, Format string:
- Where the Album tag contains the string [<TIN>] (i.e. the TIN inside square brackets), and discnumber and track fields are present: