Page 1 of 1

IsMusic bug?

Posted: Fri Dec 03, 2010 7:14 pm
by pecaN
Hi,I am afraid there's a bug in this command:-( It recognises jpg,png pics and also some textfiles as music!


var,fmt$=IsMusic("pic.jpg")
NPrint(var)
NPrint(fmt$)
WaitLeftMouse


This code prints "1" and "MPEG Audio" !! Which means that Hollywood4.7 thinks that the pic is a music file. I use IsPicture in the same way and it works properly...

Re: IsMusic bug?

Posted: Sat Dec 04, 2010 11:32 am
by airsoftsoftwair
That's not a Hollywood bug... it's mpega.library which has a faulty MP3 detection.

Re: IsMusic bug?

Posted: Sat Dec 04, 2010 12:32 pm
by pecaN
Aye, sorry for that,then! Is there any version of mpega.library that doesn't contain this bug?

Re: IsMusic bug?

Posted: Thu Dec 09, 2010 4:39 pm
by airsoftsoftwair
AFAICR the original mpega.library doesn't contain this bug. It's only the PPC replacements that make trouble.

Re: IsMusic bug?

Posted: Thu Dec 09, 2010 7:25 pm
by pecaN
Oh,thanx,that's great, but on the other hand,i guess that everyone MorphOS and AOS4.x user is using ppc version,so my prog won't work properly,sigh..:-( maybe someone will fix that...

Re: IsMusic bug?

Posted: Thu Dec 23, 2010 2:29 pm
by Tuxedo
Well...

1 - cotact the mpega ppc library author to try solving that bug.
2 - Open a thread on some site(AW for example) to contact someone that can do that...

Than let we know what's the reply :)

Re: IsMusic bug?

Posted: Fri Dec 31, 2010 9:21 am
by pecaN
Yeah,that would be right, I'll try to contact Stéphane Tavenard and author of the Morphos port of the lib...