From d9daf14f17c6a5977f6492a71d64c398aed0cff5 Mon Sep 17 00:00:00 2001 From: Sergey Belov Date: Tue, 20 Jun 2023 08:24:31 +0300 Subject: [PATCH] MP3::Tag config fix (fixes #44) --- src/ya.pl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ya.pl b/src/ya.pl index 5110dda..c3e6617 100755 --- a/src/ya.pl +++ b/src/ya.pl @@ -269,12 +269,9 @@ if($opt{dir} && !-d $opt{dir}) } # Fix for "Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24')" -MP3::Tag->config -( - id3v23_unsync => 0, - write_v24 => 1, - decode_encoding_v2 => 'UTF-8' -); +MP3::Tag->config(write_v24 => 1); +MP3::Tag->config(id3v23_unsync => 0); +MP3::Tag->config(decode_encoding_v2 => 'UTF-8'); my $ua = LWP::UserAgent->new (