Search found 362 matches
- Tue Apr 07, 2026 3:16 pm
- Forum: Hollywood bugs
- Topic: SendMessage() freezes on Linux
- Replies: 0
- Views: 1163
SendMessage() freezes on Linux
The service component of my player on Linux has been unstable since I started using the IPC functions that were added a year ago. Since this occurs especially when a large number of IPC messages are transmitted, and an attempt to use DebugOutput() did hang at SendMessage(), I wrote a test script tha...
- Fri Apr 03, 2026 7:12 pm
- Forum: Code snippets area
- Topic: Progress bar without pixel jumps
- Replies: 3
- Views: 1656
Re: Progress bar without pixel jumps
Take a look at my for loop — there’s a reason it goes from (almost) zero to one. So all you need is a division, for example, the current copy progress divided by the file size.Juan Carlos wrote: ↑Fri Apr 03, 2026 5:29 pm there are other variables to evaluate, for example, it's to copy a file, the file size, copy ratios
- Sat Mar 28, 2026 5:57 pm
- Forum: Code snippets area
- Topic: Progress bar without pixel jumps
- Replies: 3
- Views: 1656
Progress bar without pixel jumps
Some time ago, I learned that Hollywood’s graphics system can set the position and size of graphic objects only to integer pixel positions. Now I’ve noticed that the function for scaling vector brushes can handle floating-point numbers to achieve the anti-aliasing effect. This makes it possible to d...
- Fri Mar 27, 2026 6:20 pm
- Forum: Hollywood bugs
- Topic: Unprecise error message in MakeButton
- Replies: 1
- Views: 822
Unprecise error message in MakeButton
Errors in MakeButton's callback function table return -1 as the argument number. Although the source of the message is relatively easy to find, I don't think this is ideal. EnableLayers() Box(0, 0, 50, 50, {Name="x"}) MakeButton(1, #LAYERBUTTON, "x", {OnMouseOver=Function() EndFu...
- Wed Mar 25, 2026 4:39 pm
- Forum: Hollywood bugs
- Topic: Line, SetLayerStyle, and an too-large X2 value
- Replies: 1
- Views: 1022
Line, SetLayerStyle, and an too-large X2 value
Due to a bug, I came across a combination of commands that causes SetLayerStyle to freeze (tested on Windows and Linux). While this is easy to fix, it’s not so easy to find in a larger program. Perhaps there’s a way to prevent this. @DISPLAY {Layers=True} SetFormStyle(#ANTIALIAS) Line(5, 67, 90, 67,...
- Thu Mar 12, 2026 10:16 am
- Forum: Hollywood bugs
- Topic: (avcodec) FLAC and SeekMusic(id,0)
- Replies: 1
- Views: 2808
(avcodec) FLAC and SeekMusic(id,0)
Hi,
I recently added FLAC support to my player and noticed (on Windows) that SeekMusic() to position 0 only works once; all subsequent attempts set the position to a later point in time. I'll send an example via PM.
Ralf
I recently added FLAC support to my player and noticed (on Windows) that SeekMusic() to position 0 only works once; all subsequent attempts set the position to a later point in time. I'll send an example via PM.
Ralf
- Wed Mar 04, 2026 11:08 pm
- Forum: Hollywood bugs
- Topic: Minor bug with SeekMusic
- Replies: 9
- Views: 13580
Re: Minor bug with SeekMusic
Then you could try it. If something changes, it will probably help to narrow down the problem.
- Wed Mar 04, 2026 8:24 pm
- Forum: Hollywood bugs
- Topic: Minor bug with SeekMusic
- Replies: 9
- Views: 13580
Re: Minor bug with SeekMusic
Do you use the avcodec plugin? This has such problems mainly with MP3s with variable bit rate, but for me it's more of an issue on Linux.
- Thu Feb 26, 2026 11:27 pm
- Forum: Newbie questions
- Topic: Connecting to the radio stream
- Replies: 7
- Views: 26180
Re: Connecting to the radio stream
Don't expect too much. It would sometimes help to use the search function of this forum.
Anyone used Hollywood to play podcast?
- Fri Feb 13, 2026 4:02 pm
- Forum: General programming
- Topic: reading an UTF16 text file
- Replies: 5
- Views: 19867
Re: reading an UTF16 text file
Here is a function for reading text that I wrote without much Hollywood experience. Probably there is a faster and easier way to do this, but since it works, I haven't changed anything. However, it only reads UCS-2 because that was sufficient in my case. Of course, you could also extend it to UTF-16...