From 0301701a506aef691386afad45ffc04bcc2e803a Mon Sep 17 00:00:00 2001 From: Sven Pachnit Date: Sat, 30 Nov 2024 01:33:10 +0100 Subject: [PATCH] Ruby 3.2 compat --- lib/audioinfo/mpcinfo.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/audioinfo/mpcinfo.rb b/lib/audioinfo/mpcinfo.rb index e8be23e..0228571 100755 --- a/lib/audioinfo/mpcinfo.rb +++ b/lib/audioinfo/mpcinfo.rb @@ -30,8 +30,7 @@ class MpcInfo SV4_6_HEADER = Regexp.new( '^[\x00\x01\x10\x11\x40\x41\x50\x51\x80\x81\x90\x91\xC0\xC1\xD0\xD1][\x20-37][\x00\x20\x40\x60\x80\xA0\xC0\xE0]/', - nil, - 'n' + Regexp::NOENCODING ) attr_reader :infos, :id3v2_tag