File Variables

These variables are populated from information found in the audio files themselves, without any special Picard settings.

Note

Variables that rely on information from the files (e.g.: _bitrate) are only available for use on tracks with attached files, when running scripts manually on files or in the file naming script.

Warning

Prior to version 2.5 Picard did not support using file variables in tagging scripts.

_bitrate

Approximate bitrate in kbps.

_bits_per_sample

Bits of data per sample.

_channels

Number of audio channels in the file.

_dirname

The name of the directory containing the file at the point of being loaded into Picard. (since Picard 1.1)

_extension

The file’s extension. (since Picard 0.9)

_filename

The name of the file without extension. (since Picard 1.1)

_file_created_timestamp

The file creation timestamp in the form ‘YYYY-MM-DD HH:MM:SS’ as reported by the file system. (since Picard 2.9)

_file_modified_timestamp

The file modification timestamp in the form ‘YYYY-MM-DD HH:MM:SS’ as reported by the file system. (since Picard 2.9)

_format

Media format of the file (e.g.: MPEG-1 Audio).

_length

The length of the track in format mins:secs.

_sample_rate

Number of digitizing samples per second (Hz).

_filesize

Size of the file in bytes.