Page 1 of 1

MP3s

Posted: Fri Jun 03, 2011 4:38 pm
by djrikki
Hi,

What kind of Mpeg Audio files does Hollywood currently support? Every MP3 I have thrown at it just results in IsMusic() returning Unknown. :S

Re: MP3s

Posted: Sun Jun 05, 2011 8:05 pm
by Juan Carlos
Good question, this problem I found it when I wrote my Sirena Player, this instruction doesn't work as it must work.

Re: MP3s

Posted: Wed Jun 08, 2011 10:14 pm
by airsoftsoftwair
@djrikki: I need more specific infos. On what platform does this error occur? Note that AROS currently doesn't support MP3 playback. On all the other platforms it should work but you need mpega.library.

Re: MP3s

Posted: Thu Jun 09, 2011 12:24 am
by djrikki
AmigaOS 4.1, mpega.library v 2.4.

Re: MP3s

Posted: Thu Jun 09, 2011 3:46 am
by PEB
Since you did not supply any sample code that is failing, please try this:
---
f$=FileRequest("Select an MP3", "mp3")
ret, fmt$ = IsMusic(f$)
If ret=True
DebugPrint("Yes, this is a supported music file.")
Else
DebugPrint("No, this is NOT a supported music file.")
EndIf
DebugPrint("The format of this music file is: \""..fmt$.."\"")
---

What kind of output does this code give you (assuming you are choosing an .mp3 file)?