Hi,
I am having a few issues with the MUIRoyale and the SongPlayer example, uncompiled (using Display) it works fine but when compiled I get an Error
Unrecognised song Format. (1357).
I have tried ripped mp3s, ones downloaded from the web and some from games all give the same error.
If I use my own IDE the same thing happens.
Using Run (DH1:Hollywood/System/Hollywood " .. "SongPlayer.hws" .. " , true) works?
Using Run (DH1:Hollywood/System/Hollywood " .. "SongPlayer.hws" .. " -compile " .. "SongTest" .. " -exectype amigaos4", true) does not works?
Does anyone know if there is a simple explanation to fix this?
Can someone try it and see if it compiles and works for them, otherwise I will lodge a bug report.
Cheers
Leo
Compiled SongPlayer can not read mp3 files
Compiled SongPlayer can not read mp3 files
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Compiled SongPlayer can not read mp3 files
Try adding the AVCodec plugin. Some platforms require it to play MP3 format.
I'm on registered MorphOS using FlowStudio.
Re: Compiled SongPlayer can not read mp3 files
@SamuraiCow
Re AVCodec
I'll give it a try, but it does not explain why it works one way and not the other. Only using it on AmigaOS4.1 FE update 2.
Cheers
Leo
Re AVCodec
I'll give it a try, but it does not explain why it works one way and not the other. Only using it on AmigaOS4.1 FE update 2.
Cheers
Leo
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
- airsoftsoftwair
- Posts: 5450
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Compiled SongPlayer can not read mp3 files
Since Hollywood 9.0 compiled programs no longer automatically load all plugins installed in LIBS:Hollywood by default (to improve performance on startup). If you run scripts from the GUI or from the command line, though, all plugins will be loaded.
If you want the old behaviour back, just set the GLOBALPLUGINS tooltype in the compiled program's icon or use this in your script:
Code: Select all
@OPTIONS {GlobalPlugins = True}
Code: Select all
@REQUIRE "avcodec"