Difference between revisions of "User:BrianFreud/CrazyPicardQTStrings"

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
 
((Imported from MoinMoin))
Line 1: Line 1:
=Insanely Long PicardQT File Naming Strings=
+
=The Insanely Long PicardQT File Naming String=
   
 
Ok, one of the things people know about me is that I have a ton of music. Another is that I '''hate''' clumsy music player interfaces. I like my Winamp/Explorer combo just fine. :)
 
Ok, one of the things people know about me is that I have a ton of music. Another is that I '''hate''' clumsy music player interfaces. I like my Winamp/Explorer combo just fine. :)
Line 5: Line 5:
 
I also use my files to clean the database, which in turn lets me name and tag my files better.
 
I also use my files to clean the database, which in turn lets me name and tag my files better.
   
This has led to the Insanely Long File Naming String.
+
This has led to the '''Insanely Long File Naming String'''.
   
  +
'''Non-Various Artists'''
Want to see it?
 
   
$if2($if($not(%releasetype%),No Type/),$if($not(%releasestatus%),No Status/),$if($eq(%releasestatus%,official),$if2($if($not(%asin%),No ASIN/),$if($not(%date%),No Date/))),$if($eq(%releasestatus%,promotion),$if2($if($not(%date%),No Date/))),$if(%asin%,$if($not(%barcode%),No Barcode/)))$if2($if($eq(%releasetype%,soundtrack),Soundtracks/%album%$if(%releasestatus%, [%releasestatus%])$if(%date%, [$left(%date%,4)] )/$num(%tracknumber%,2). %artist% - %title%),$if($eq(%[[Brian Genre|BrianGenre]]%,classical),$if2($if($not(%composer%),No Composer/),$if($not(%performer%),No Performer/),$if($not(%conductor%),No Conductor/))Classical/$if(%composer%,%composer%/)$if(%conductor%,%conductor%, )$if(%performer%,%performer%)/%album%$if(%discnumber%,\(disc %discnumber%$if(%discsubtitle%,: %discsubtitle%))),$if($eq(%[[Brian Genre|BrianGenre]]%,bogusartists),[[Bogus Artists|BogusArtists]]/,%[[Brian Genre|BrianGenre]]%/)$if(%overartist%,%overartist%/)%artist%/$if(%releasetype%,[%releasetype%] )$if(%releasestatus%,[%releasestatus%] )$if(%date%,[$left(%date%,4)] )%album%/$num(%tracknumber%,3). %title%)
+
<pre>$if2($if($not(%releasetype%),No Type/),$if($not(%releasestatus%),No Status/),$if($eq(%releasestatus%,official),$if2($if($not(%asin%),No ASIN/),$if($not(%date%),No Date/))),$if($eq(%releasestatus%,promotion),$if2($if($not(%date%),No Date/))),$if(%asin%,$if($not(%barcode%),No Barcode/)))$if2($if($eq(%releasetype%,soundtrack),Soundtracks/%album%$if(%releasestatus%, [%releasestatus%])$if(%date%, [$left(%date%,4)] )/$num(%tracknumber%,2). %artist% - %title%),$if($eq(%BrianGenre%,classical),$if2($if($not(%composer%),No Composer/),$if($not(%performer%),No Performer/),$if($not(%conductor%),No Conductor/))Classical/$if(%composer%,%composer%/)$if(%conductor%,%conductor%, )$if(%performer%,%performer%)/%album%/),$if($eq(%BrianGenre%,bogusartists),BogusArtists/,%BrianGenre%/)$if(%overartist%,%overartist%/)%artist%/$if(%releasetype%,[%releasetype%] )$if(%releasestatus%,[%releasestatus%] )$if(%date%,[$left(%date%,4)] )%album%/$num(%tracknumber%,3). %title%)
  +
</pre>
   
  +
'''Various Artists'''
It's actually shorter than it used to be, but only because I moved a lot of it to tagger script.
 
  +
  +
<pre>$if2($if($not(%releasetype%),No Type/),$if($not(%releasestatus%),No Status/),$if($eq(%releasestatus%,official),$if2($if($not(%asin%),No ASIN/),$if($not(%date%),No Date/))),$if($eq(%releasestatus%,promotion),$if2($if($not(%date%),No Date/))),$if(%asin%,$if($not(%barcode%),No Barcode/)))$if2($if($eq(%releasetype%,soundtrack),Soundtracks/%album%$if(%releasestatus%, [%releasestatus%])$if(%date%, [$left(%date%,4)] )/$num(%tracknumber%,2). %artist% - %title%),$if($eq(%BrianGenre%,classical),$if2($if($not(%composer%),No Composer/),$if($not(%performer%),No Performer/),$if($not(%conductor%),No Conductor/))Classical/$if(%composer%,%composer%/)$if(%conductor%,%conductor%, )$if(%performer%,%performer%)/%album%/),$if($eq(%BrianGenre%,bogusartists),BogusArtists/,%BrianGenre%/)$if(%overartist%,%overartist%/)%artist%/$if(%releasetype%,[VA %releasetype%] )$if(%releasestatus%,[%releasestatus%] )$if(%date%,[$left(%date%,4)] )%album%/$num(%tracknumber%,3). %title%)
  +
</pre>
   
 
It's a great example of the power of PicardQT's extensible file naming string capabilities.
 
It's a great example of the power of PicardQT's extensible file naming string capabilities.
   
It's complex enough, though, that I have to manipulate it via its own spreadsheet, just to keep it straight. It does still have issues - Classical still doesn't work right. Everything else does, however. Feel free to use it - and if you can find the bug in classical, let me know!
+
It's complex enough, though, that I have to manipulate it via its own spreadsheet, just to keep it straight.
  +
  +
It now handles classical correctly too! (Not sure if "No Conductor", "No Performer", and "No Composer" work right yet.)
   
 
[[Media:TaggerScript.txt|TaggerScript.txt]] [[Media:QTSpreadsheet.xls|QTSpreadsheet.xls]]
 
[[Media:TaggerScript.txt|TaggerScript.txt]] [[Media:QTSpreadsheet.xls|QTSpreadsheet.xls]]
   
 
==Comments==
 
==Comments==
 
--- [[User:BrianFreud|BrianFreud]]
 

Revision as of 18:42, 3 June 2007

The Insanely Long PicardQT File Naming String

Ok, one of the things people know about me is that I have a ton of music. Another is that I hate clumsy music player interfaces. I like my Winamp/Explorer combo just fine. :)

I also use my files to clean the database, which in turn lets me name and tag my files better.

This has led to the Insanely Long File Naming String.

Non-Various Artists

$if2($if($not(%releasetype%),No Type/),$if($not(%releasestatus%),No Status/),$if($eq(%releasestatus%,official),$if2($if($not(%asin%),No ASIN/),$if($not(%date%),No Date/))),$if($eq(%releasestatus%,promotion),$if2($if($not(%date%),No Date/))),$if(%asin%,$if($not(%barcode%),No Barcode/)))$if2($if($eq(%releasetype%,soundtrack),Soundtracks/%album%$if(%releasestatus%, [%releasestatus%])$if(%date%, [$left(%date%,4)] )/$num(%tracknumber%,2). %artist% - %title%),$if($eq(%BrianGenre%,classical),$if2($if($not(%composer%),No Composer/),$if($not(%performer%),No Performer/),$if($not(%conductor%),No Conductor/))Classical/$if(%composer%,%composer%/)$if(%conductor%,%conductor%, )$if(%performer%,%performer%)/%album%/),$if($eq(%BrianGenre%,bogusartists),BogusArtists/,%BrianGenre%/)$if(%overartist%,%overartist%/)%artist%/$if(%releasetype%,[%releasetype%] )$if(%releasestatus%,[%releasestatus%] )$if(%date%,[$left(%date%,4)] )%album%/$num(%tracknumber%,3). %title%)

Various Artists

$if2($if($not(%releasetype%),No Type/),$if($not(%releasestatus%),No Status/),$if($eq(%releasestatus%,official),$if2($if($not(%asin%),No ASIN/),$if($not(%date%),No Date/))),$if($eq(%releasestatus%,promotion),$if2($if($not(%date%),No Date/))),$if(%asin%,$if($not(%barcode%),No Barcode/)))$if2($if($eq(%releasetype%,soundtrack),Soundtracks/%album%$if(%releasestatus%, [%releasestatus%])$if(%date%, [$left(%date%,4)] )/$num(%tracknumber%,2). %artist% - %title%),$if($eq(%BrianGenre%,classical),$if2($if($not(%composer%),No Composer/),$if($not(%performer%),No Performer/),$if($not(%conductor%),No Conductor/))Classical/$if(%composer%,%composer%/)$if(%conductor%,%conductor%, )$if(%performer%,%performer%)/%album%/),$if($eq(%BrianGenre%,bogusartists),BogusArtists/,%BrianGenre%/)$if(%overartist%,%overartist%/)%artist%/$if(%releasetype%,[VA %releasetype%] )$if(%releasestatus%,[%releasestatus%] )$if(%date%,[$left(%date%,4)] )%album%/$num(%tracknumber%,3). %title%)

It's a great example of the power of PicardQT's extensible file naming string capabilities.

It's complex enough, though, that I have to manipulate it via its own spreadsheet, just to keep it straight.

It now handles classical correctly too! (Not sure if "No Conductor", "No Performer", and "No Composer" work right yet.)

TaggerScript.txt QTSpreadsheet.xls

Comments