use v5.12;
use warnings;
+use File::Temp;
use FindBin;
use lib $FindBin::Bin;
my $flac = shift;
my $tags = shift;
+ my @version;
+ if (defined($tags->{version})) {
+ @version = ('(' . $tags->{version} . ')');
+ }
+
# This is an old TODO; what's wrong with --ty ?
# TODO: Look at TDOR, TDRL, TDRC for date.
say(
'--tn',
quote($tags->{tracknumber}),
'--tt',
- quote($tags->{title}),
+ quote(join(' ', $tags->{title}, @version)),
'--ty',
quote($tags->{date}),
'$pic_options',