MP3s

Find quick help here to get you started with Hollywood
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

MP3s

Post 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
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: MP3s

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

Re: MP3s

Post 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.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: MP3s

Post by djrikki »

AmigaOS 4.1, mpega.library v 2.4.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

Re: MP3s

Post 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)?
Post Reply