Hi, 

The problem are not the files, I've put the scan in a wile loop in
order to immediatly repeat scan if it fail and i solved the problem:
the second time all the files are scanned properly.

Here is the code:

my $repeat = 1;
        
        while ($repeat)
        {
            my $count=0;
            $data= undef;
            $data = Audio::Scan->scan ($OSPath);
            
            my $ref_Info = $$data{'info'};
            
            if (scalar keys (%$ref_Info) < 1 && $count < 2)
            {  
                $count=$count++;
            }
            else
            {
                $repeat=0;
            }
        }
Marco.


-- 
marcoc1712

____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=81952

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to