mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] error while looking for mp3file ?


From: crazee_canuck
Subject: [Mldonkey-users] error while looking for mp3file ?
Date: Tue, 26 Nov 2002 14:36:03 -0500

Hello group,

Anyone else notice this behaviour, or know how to resolve it?

When checking the console output to STDERR, I see this logged every
once in a while:

# cd $MLSRC/distrib
# grep mp3file |tail -3
error while looking for mp3file $MLTMP/C05B95C5154BD0E5F2661B4FDB496A47
error while looking for mp3file $MLTMP/F0D203AAC02246C6E61CCEE6839F6828
error while looking for mp3file $MLTMP/015EED095A0B3C47F98061D1CC927BCD

# ls -lh $MLTMP/C05B95C5154BD0E5F2661B4FDB496A47
-rw-r--r--    1 donk ml        1.0G Nov 26 14:11 
$MLTMP/C05B95C5154BD0E5F2661B4FDB496A47
# file $MLTMP/C05B95C5154BD0E5F2661B4FDB496A47
$MLTMP/C05B95C5154BD0E5F2661B4FDB496A47: Zip archive data, at least v2.0 to 
extract

# ls -lh $MLTMP/F0D203AAC02246C6E61CCEE6839F6828
-rw-rw-r--    1 donk ml        1.2G Nov 26 12:32 
$MLTMP/F0D203AAC02246C6E61CCEE6839F6828
# file $MLTMP/F0D203AAC02246C6E61CCEE6839F6828
$MLTMP/F0D203AAC02246C6E61CCEE6839F6828: RAR archive data

# ls -lh $MLTMP/015EED095A0B3C47F98061D1CC927BCD
-rw-rw-r--    1 donk ml        1.2G Nov 26 11:14 
$MLTMP/015EED095A0B3C47F98061D1CC927BCD
# file $MLTMP/015EED095A0B3C47F98061D1CC927BCD
/home/eshornoc/src/mldonkey/mldonkey/distrib/temp/015EED095A0B3C47F98061D1CC927BCD:
 RAR archive data



It appears this message shows up when downloading very large files.
Anyone know why this happens?


Lines 232-242 of $SRC/common/commonMultimedia.ml shows:
--start here--
let search_info_mp3 filename =
  try
    let tag = Mp3tag.read filename in
    raise (Mp3_info tag)
  with
    Not_found -> ()
  | Mp3_info tag ->
      raise (Mp3_info tag)
  | x ->
      prerr_endline ("error while looking for mp3file "^filename);
      raise x
--end here--

...but I have no idea WTF that is doing (damn ocaml! :) ).  Need to find a
good tutorial on this language...

...but anyhow, why does ML consider these
large files to be MP3s?  It doesn't appear to cause any problems,
because those files *are* downloading.  Seems from this end to be just
an annoying cosmetic "bug."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]