TINT-based filing migration: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
→‎Windows: improve description
Line 2: Line 2:
This page describes how to migrate to [[TINT-based filing]], i.e. filing based on [[TIN]], side# and track#.
This page describes how to migrate to [[TINT-based filing]], i.e. filing based on [[TIN]], side# and track#.
==Windows==
==Windows==
Use the software: [[mp3tag]].
Use the software: [[mp3tag]]. mp3tag lets you read and write parts of the pathnames.  
===filename===
;The migration goal is to have
* TIN - %_parent_directory%
* Side# - %_directory%
* Track# - %_filename%
 
;Three useful commands are
;Three useful commands are
* Convert | Tag -> Filename
* Convert | Tag -> Filename
Line 9: Line 13:
* Convert | Filename -> Filename (The third command can maybe replace the two step uses of the other two commands - not tested).
* Convert | Filename -> Filename (The third command can maybe replace the two step uses of the other two commands - not tested).


===Track# - %_filename%===
;process
;process
* A) If you have the tracknumber in the tag fields you can rename the file to  "tracknumber.fileextension".
* A) If you have the tracknumber in the tag fields you can rename the file to  "tracknumber.fileextension".
Line 25: Line 30:
** now the file is named 5.flac
** now the file is named 5.flac


===folder structure===
===Side# - %_directory%===
Todo:
* introduce the side folder. Very often it will be a folder named "1"
* introduce the side folder (very often will be only one folder named "1")
* if all tracks are on side 1 use: Convert | Tag -> Filename , format string: %_directory%\1\%track%
** goal: the foldername (%_directory% in mp3tag) should be the side number. The name of the parent folder (%_parent_directory%) should be the TIN.
** if before conversion , after conversion
** if all tracks are on side 1 use: Convert | Tag -> Filename , format string: %_directory%\1\%track%
 
*** if before conversion %_directory% = albumname folder name, after conversion %_directory% = Side#, %_parent_directory% = albumname folder name
;Example
* Calo_Al_compas_del_corazon\5.flac
* %_directory% = albumname folder name
* if all tracks are on side 1 use: Convert | Tag -> Filename , format string: %_directory%\1\%track%
* you get Calo_Al_compas_del_corazon\1\5.flac
* %_directory% = Side#, %_parent_directory% = albumname folder name
 
===TIN - %_parent_directory%===
todo
* TIN conversions....
* TIN conversions....
** sometext_[<TIN|EAN|UPC>]/
** sometext_[<TIN|EAN|UPC>]/
** <TIN|EAN|UPC>_sometext/
** <TIN|EAN|UPC>_sometext/

Revision as of 2008-12-25T23:28:27

This page describes how to migrate to TINT-based filing, i.e. filing based on TIN, side# and track#.

Windows

Use the software: mp3tag. mp3tag lets you read and write parts of the pathnames.

The migration goal is to have
  • TIN - %_parent_directory%
  • Side# - %_directory%
  • Track# - %_filename%
Three useful commands are
  • Convert | Tag -> Filename
  • Convert | Filename -> Tag
  • Convert | Filename -> Filename (The third command can maybe replace the two step uses of the other two commands - not tested).

Track# - %_filename%

process
  • A) If you have the tracknumber in the tag fields you can rename the file to "tracknumber.fileextension".
    • Convert | Tag -> Filename
    • format string: %track%, or if you want to remove leading zeros: "$num(%track%,1)"
  • B) If you don't have the tracknumber in the tags but the filename starts with the number then you can put it in the tracknumber tag.
    • Convert | Filename -> Tag
    • Format string something like "%track% - %dummy%" or "%track%_%dummy%" or "%track%_-_%dummy%".
    • go to A)
Example
  • 05_-_la_punalada.flac
    • Convert | Filename -> Tag, format string %track%_-_%dummy%
    • now the track number field contains "05"
    • Convert | Tag -> Filename, format string $num(%track%,1)
    • now the file is named 5.flac

Side# - %_directory%

  • introduce the side folder. Very often it will be a folder named "1"
  • if all tracks are on side 1 use: Convert | Tag -> Filename , format string: %_directory%\1\%track%
    • if before conversion , after conversion
Example
  • Calo_Al_compas_del_corazon\5.flac
  • %_directory% = albumname folder name
  • if all tracks are on side 1 use: Convert | Tag -> Filename , format string: %_directory%\1\%track%
  • you get Calo_Al_compas_del_corazon\1\5.flac
  • %_directory% = Side#, %_parent_directory% = albumname folder name

TIN - %_parent_directory%

todo

  • TIN conversions....
    • sometext_[<TIN|EAN|UPC>]/
    • <TIN|EAN|UPC>_sometext/