airdcpp-web / airdcpp-release-validator

AirDC++ extension that performs various validations for release directories
1 stars 3 forks source link

release validator handle multiple spaces after file extension as a file name #38

Closed infectormp closed 1 year ago

infectormp commented 1 year ago

If more than one space separate file and crc checksum in sfv Airdc handle these files as non-existent. Example:

01-max_cooper__nicolas_bougaieff--fracture_(original_mix)-lynx.mp3         7ad4f0fc
02-max_cooper__nicolas_bougaieff--ellipse_(original_mix)-lynx.mp3          45dcbea3
03-max_cooper--walls_(original_mix)-lynx.mp3                               597c49e8
04-max_cooper--meadows_(original_mix)-lynx.mp3                             a7734d4d
05-max_cooper--meadows_(microtrauma_remix)-lynx.mp3                        6befee4b
06-max_cooper__nicolas_bougaieff--fracture_(nymas_amethyst_remix)-lynx.mp3 47a3f234
07-max_cooper__nicolas_bougaieff--ellipse_(logiztik_sounds_remix)-lynx.mp3 305da5e3
won't be shared: Release validator: File listed in the SFV file does not exist on disk (5 file(s): 
01-max_cooper__nicolas_bougaieff--fracture_(original_mix)-lynx.mp3        , 
02-max_cooper__nicolas_bougaieff--ellipse_(original_mix)-lynx.mp3         , 
03-max_cooper--walls_(original_mix)-lynx.mp3                              , 
04-max_cooper--meadows_(original_mix)-lynx.mp3                            , 
05-max_cooper--meadows_(microtrauma_remix)-lynx.mp3                       )
Extra files in release directory (5 file(s): 
01-max_cooper__nicolas_bougaieff--fracture_(original_mix)-lynx.mp3, 
02-max_cooper__nicolas_bougaieff--ellipse_(original_mix)-lynx.mp3, 
03-max_cooper--walls_(original_mix)-lynx.mp3, 
05-max_cooper--meadows_(microtrauma_remix)-lynx.mp3, 
04-max_cooper--meadows_(original_mix)-lynx.mp3) 
maksis commented 1 year ago

Fixed in version 1.3.1