User:Mineo: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
mNo edit summary |
|||
Line 17: | Line 17: | ||
* Moving the relationship to track level |
* Moving the relationship to track level |
||
* Should be on track level |
* Should be on track level |
||
=== Picard scripting === |
|||
<pre> |
|||
$unset(composer) |
|||
$unset(lyricist) |
|||
$unset(conductor) |
|||
$unset(performer) |
|||
$unset(producer) |
|||
$unset(engineer) |
|||
$unset(arranger) |
|||
$unset(mixer) |
|||
$unset(genre) |
|||
$unset(_rating) |
|||
$unset(bpm) |
|||
$unset(mood) |
|||
$unset(isrc) |
|||
$unset(copyright) |
|||
$unset(lyrics:description) |
|||
$unset(media) |
|||
$unset(catalognumber) |
|||
$unset(barcode) |
|||
$unset(encodedby) |
|||
$unset(releasestatus) |
|||
$unset(asin) |
|||
$unset(script) |
|||
$unset(language) |
|||
$unset(musicip_puid) |
|||
$unset(musicip_fingerprint) |
|||
$unset(composersort) |
|||
⚫ | |||
$or( |
|||
⚫ | |||
$eq(%label%,OverClocked ReMix) |
|||
) |
|||
,$set(_pathextra,%label%) |
|||
, |
|||
) |
|||
$unset(label) |
|||
</pre> |
|||
=== Picard file naming === |
=== Picard file naming === |
||
<pre> |
<pre> |
||
⚫ | |||
⚫ | |||
$and( |
|||
⚫ | |||
$not(%_pathextra%) |
|||
) |
|||
$noop(begin soundtrack) |
$noop(begin soundtrack) |
||
$if( |
|||
⚫ | |||
$in(%_dirname%, Score), |
|||
Soundtracks - Score, |
|||
Soundtracks |
|||
) |
|||
⚫ | |||
$if( |
$if( |
||
%date%, |
%date%, |
||
Line 29: | Line 78: | ||
) |
) |
||
/ |
/ |
||
⚫ | |||
⚫ | |||
$gt(%totaldiscs%,1), |
|||
Disc %_paddeddiscnumber%$if(%discsubtitle%,: %discsubtitle%,)/, |
|||
⚫ | |||
$noop(begin |
$noop(begin pathextra) |
||
$if( |
$if( |
||
%_pathextra%, |
|||
⚫ | |||
%_pathextra%/, |
|||
) |
) |
||
$noop(end |
$noop(end pathextra) |
||
$noop(begin normal) |
$noop(begin normal) |
||
$if2( |
$if2( |
||
%albumartist%, |
|||
%artist% |
|||
)/ |
)/ |
||
⚫ | |||
⚫ | |||
$if( |
$if( |
||
⚫ | |||
$ne(%albumartist%,Various Artists), |
|||
$left(%date%,4) - , |
$left(%date%,4) - , |
||
⚫ | |||
%date% - |
|||
⚫ | |||
⚫ | |||
) |
) |
||
⚫ | |||
%album%/ |
|||
$if( |
$if( |
||
$gt(%totaldiscs%,1), |
$gt(%totaldiscs%, 1), |
||
Disc %_paddeddiscnumber% |
Disc %_paddeddiscnumber%/, |
||
) |
|||
- %discsubtitle%, |
|||
) |
|||
⚫ | |||
⚫ | |||
%_paddedtracknumber% - %title% |
%_paddedtracknumber% - %title% |
||
</pre> |
</pre> |
Revision as of 12:50, 16 December 2012
Websites with catalogues of classical music
Editing helpers
Clippings is a Firefox addon which "saves and manages frequently-entered text for later pasting into Web page forms"
Text snippets
- Please add this relationship to all the tracks, not to the release (doc:Advanced_Relationship_Style).
- doc:ClassicalStyleGuide
- Please provide some evidence that what you are adding has actually been released somewhere. See doc:How_To_Write_Edit_Notes.
- Moving the relationship to track level
- Should be on track level
Picard scripting
$unset(composer) $unset(lyricist) $unset(conductor) $unset(performer) $unset(producer) $unset(engineer) $unset(arranger) $unset(mixer) $unset(genre) $unset(_rating) $unset(bpm) $unset(mood) $unset(isrc) $unset(copyright) $unset(lyrics:description) $unset(media) $unset(catalognumber) $unset(barcode) $unset(encodedby) $unset(releasestatus) $unset(asin) $unset(script) $unset(language) $unset(musicip_puid) $unset(musicip_fingerprint) $unset(composersort) $if( $or( $eq(%label%,8bitpeoples), $eq(%label%,OverClocked ReMix) ) ,$set(_pathextra,%label%) , ) $unset(label)
Picard file naming
$if( $and( $inmulti(%releasetype%,soundtrack), $not(%_pathextra%) ) $noop(begin soundtrack) $if( $in(%_dirname%, Score), Soundtracks - Score, Soundtracks ) /%album% - $if2(%albumartist%,%albumartist%) $if( %date%, \($left(%date%,4)\), ) / $noop(end soundtrack), $noop(begin pathextra) $if( %_pathextra%, %_pathextra%/, ) $noop(end pathextra) $noop(begin normal) $if2( %albumartist%, %artist% )/ $if( %date%, $left(%date%,4) - , ) %album%/ ) $noop(end normal)/ $if( $gt(%totaldiscs%, 1), Disc %_paddeddiscnumber%/, ) %_paddedtracknumber% - %title%
MusicBrainz basic database setup
- Follow INSTALL to point 3a)
- carton exec ./script/setup_test_db_for_selenium.pl
- start the server with MUSICBRAINZ_USE_TEST_DATABASE=1 carton exec -Ilib -- plackup -r
- connect directly to the DB with carton exec ./admin/psql