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...
IsMusic bug?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: IsMusic bug?
That's not a Hollywood bug... it's mpega.library which has a faulty MP3 detection.
Re: IsMusic bug?
Aye, sorry for that,then! Is there any version of mpega.library that doesn't contain this bug?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: IsMusic bug?
AFAICR the original mpega.library doesn't contain this bug. It's only the PPC replacements that make trouble.
Re: IsMusic bug?
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?
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
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.
Re: IsMusic bug?
Yeah,that would be right, I'll try to contact Stéphane Tavenard and author of the Morphos port of the lib...