MusicBrainz Picard
v2.13.3

About Picard

  • Introduction
  • Contributing to the Project
  • Acknowledgements
  • Glossary of Terms

Getting Started

  • Download & Install Picard
  • Starting Picard
  • Main Screen
  • Status Icons
  • Configuration
  • Tags & Variables
  • Scripting
  • Scripting Functions
    • $copy
    • $copymerge
    • $delete
    • $set
    • $setmulti
    • $unset
    • $delprefix
    • $find
    • $firstalphachar
    • $firstwords
    • $get
    • $initials
    • $left
    • $len
    • $lower
    • $num
    • $pad
    • $replace
    • $reverse
    • $right
    • $rreplace
    • $rsearch
    • $strip
    • $substr
    • $swapprefix
    • $title
    • $trim
    • $truncate
    • $upper
    • $cleanmulti
    • $getmulti
    • $join
    • $lenmulti
    • $map
    • $performer
    • $replacemulti
    • $reversemulti
    • $slice
    • $sortmulti
    • $unique
    • $add
    • $div
    • $mod
    • $mul
    • $sub
    • $and
    • $endswith
    • $eq
    • $eq_all
    • $eq_any
    • $gt
    • $gte
    • $if
    • $if2
    • $in
    • $inmulti
    • $is_audio
    • $is_complete
    • $is_multi
    • $is_video
    • $lt
    • $lte
    • $ne
    • $ne_all
    • $ne_any
    • $not
    • $or
    • $startswith
    • $countryname
    • $dateformat
    • $datetime
    • $day
    • $matchedtracks
    • $max
    • $min
    • $month
    • $year
    • $foreach
    • $while
    • $noop

Using Picard

  • General Usage
  • Other Picard Tasks
  • Option Profiles
  • Command and Batch Processing
  • Extending Picard
  • Frequently Asked Questions

Workflow Recommendations

  • General Recommendations
  • When the CD is available
  • When the ripper log file is available
  • When files are grouped by album
  • When files are not grouped but have some metadata
  • When files are not grouped and have little or no existing metadata

Troubleshooting

  • General Troubleshooting
  • Picard won’t start
  • There is no coverart
  • Tags are not updated or saved
  • Files are not being saved
  • Picard just stopped working
  • macOS shows the app is damaged

Tutorials

  • Writing a File Naming Script
  • Understanding Acoustic Fingerprinting and AcoustIDs
  • Handling of multiple release countries
  • Writing a Plugin
  • Loading releases with MusicBrainz for Android

Video Tutorials

  • Introduction to Picard
  • Attaching a Disc ID
  • Submitting an AcoustID

Appendices

  • Appendix A: Plugins API
  • Appendix B: Tag Mapping
  • Appendix C: Command Line Options
  • Appendix D: Keyboard Shortcuts
  • Appendix E: Scripting Functions Listed Alphabetically

References

  • Index
MusicBrainz Picard
  • Scripting Functions
  • $right

$right

Usage: $right(text,number)
Category: text

Description:

Returns the last number characters from text. If number is less than 1, then the value used is the number of characters in text plus number (e.g.: $right(abcd,0) is the same as $right(abcd,4)). If number is missing or a negative number greater than the number of characters in text, the function will return an empty string.

Example:

The following statements will return the values indicated:

$right(abcd,2)   ==>  "cd"
$right(abcd,0)   ==>  "cd"
$right(abcd,-1)  ==>  "bcd"
$right(abcd,)    ==>  ""
$right(abcd,-5)  ==>  ""
Next Previous

This MusicBrainz Picard User Guide is licensed under CC0 1.0

Built with Sphinx using a theme provided by Read the Docs.
Options en
Select Version
Select Language
English
Français
Downloads
PDF File
epub File
HTML Files
Tag Map Spreadsheet