IsMusic bug?

Report any Hollywood bugs here
Post Reply
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

IsMusic bug?

Post 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...
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: IsMusic bug?

Post by airsoftsoftwair »

That's not a Hollywood bug... it's mpega.library which has a faulty MP3 detection.
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

Re: IsMusic bug?

Post by pecaN »

Aye, sorry for that,then! Is there any version of mpega.library that doesn't contain this bug?
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: IsMusic bug?

Post by airsoftsoftwair »

AFAICR the original mpega.library doesn't contain this bug. It's only the PPC replacements that make trouble.
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

Re: IsMusic bug?

Post 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...
User avatar
Tuxedo
Posts: 345
Joined: Sun Feb 14, 2010 12:41 pm

Re: IsMusic bug?

Post 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 :)
Simone"Tuxedo"Monsignori, Perugia, ITALY.
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

Re: IsMusic bug?

Post by pecaN »

Yeah,that would be right, I'll try to contact Stéphane Tavenard and author of the Morphos port of the lib...
Post Reply