Search found 463 matches

by Allanon
Mon Mar 22, 2010 12:02 pm
Forum: Hollywood bugs
Topic: MP3 Playback on AROS
Replies: 4
Views: 3829

MP3 Playback on AROS

Hello, I'm not able to reproduce any MP3 music on AROS, I've tried several musics, all working on OS4 and on AROS using mplayer but using this simple code Hollywood tell me that the sound format is unknown: OpenMusic(1, "Ram:test.mp3") PlayMusic(1) Repeat WaitEvent Forever Ofcourse I've an mp3 named...
by Allanon
Thu Mar 18, 2010 8:54 pm
Forum: General programming
Topic: Writetable() questions
Replies: 5
Views: 4733

Re: Writetable() questions

Your sample code will work but ofcourse the value written to the file will be the number stored in 'c' and not the 'c' reference, but doesn't matter because you can load your table, modify wathever you want and then write your modified table overwriting the old one.
by Allanon
Sat Mar 06, 2010 9:54 pm
Forum: General programming
Topic: Where is the mistake ? ScuiLib Cyclegadget doesn't work..
Replies: 4
Views: 4160

Re: Where is the mistake ? ScuiLib Cyclegadget doesn't work..

Andreas is right, the latest public version does not work well with layer enabled, but the problem of your not working "next button" is caused by the way ScuiLib manage the Hollywood buttons. When I started to develop the library Hollywood didn't allowed to assign automatically id to objects so Scui...
by Allanon
Wed Mar 03, 2010 10:11 pm
Forum: General programming
Topic: Inkey$ function
Replies: 2
Views: 2822

Re: Inkey$ function

Why not using an event to monitor keypresses?

Code: Select all

Function check_key(msg)
   Print("Key pressed:", msg.key)
EndFunction

installEventHandler( { OnKeyDown = check_key } )

Repeat
   WaitEvent()
Forever
This should resolve your problem ;)
by Allanon
Wed Mar 03, 2010 12:20 am
Forum: Hollywood bugs
Topic: IsMusicPlaying()
Replies: 2
Views: 2434

Re: IsMusicPlaying()

Thank you for the suggestion Andreas, I've used another workaround right now, but OnMusicEnd is better :)
by Allanon
Mon Mar 01, 2010 9:46 pm
Forum: Hollywood bugs
Topic: IsMusicPlaying()
Replies: 2
Views: 2434

IsMusicPlaying()

Hello, I've a problem with IsMusicPlaying() I'm testing it with some mp3 musics but seems to return always True, even if the music is stopped ( using Times = 1 ). During the playback I'm using an interval function to check (every second) if the music is ended or not, but IsMusicPlaying() returns alw...
by Allanon
Thu Feb 18, 2010 1:07 pm
Forum: Hollywood bugs
Topic: Problem with AROS and the ARexx port
Replies: 5
Views: 3942

Re: Problem with AROS and the ARexx port

Hello Andreas,
seems an AROS bug, take alook here: http://aros-exec.org/modules/newbb/view ... 1&start=80
by Allanon
Wed Feb 17, 2010 11:29 am
Forum: Hollywood bugs
Topic: Problem with AROS and the ARexx port
Replies: 5
Views: 3942

Re: Problem with AROS and the ARexx port

I've tried "QUIT" and "EXIT" commands too, but with the same results... the strange thing is that if I send commands using arexx scripts all works fine, that's why I've suspected of an Hollywood bug.

If it's not an Hollywood problem I'll report this issue to AROS-Exec forums
by Allanon
Tue Feb 16, 2010 11:03 pm
Forum: Hollywood bugs
Topic: Problem with AROS and the ARexx port
Replies: 5
Views: 3942

Problem with AROS and the ARexx port

Hello Andreas, I'm trying to send commands to MPlayer for AROS using the ARexx port. I've tryed small sample code, like the one below: Local answer = SendRexxCommand("MPLAYER.1", "FULLSCREEN") MPlayer receives the command (and goes to fullscreen) but my Hollywood program crash and on the console is ...
by Allanon
Tue Feb 16, 2010 10:49 pm
Forum: General programming
Topic: Trouble with DefineVirtualFile()
Replies: 2
Views: 2824

Re: Trouble with DefineVirtualFile()

Hi Paolo, I've never used virtual files, but I've done a small test: I've created a resource file from shell with: Sdb:scui/progetti> echo "TESTING VIRTUAL FILE" > test.txt Sdb:scui/progetti> echo "SECOND LINE" >> test.txt Now I will define two virtual file inside my resource file "test.txt" vf1 = D...