Search found 357 matches

by Flinx
Thu Mar 12, 2026 10:16 am
Forum: Hollywood bugs
Topic: (avcodec) FLAC and SeekMusic(id,0)
Replies: 1
Views: 1982

(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
by Flinx
Wed Mar 04, 2026 11:08 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 11545

Re: Minor bug with SeekMusic

Then you could try it. If something changes, it will probably help to narrow down the problem.
by Flinx
Wed Mar 04, 2026 8:24 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 9
Views: 11545

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.
by Flinx
Thu Feb 26, 2026 11:27 pm
Forum: Newbie questions
Topic: Connecting to the radio stream
Replies: 7
Views: 20953

Re: Connecting to the radio stream

Bohun wrote: Thu Feb 26, 2026 11:00 pm Today I found httpstreamer plugin.
Don't expect too much. It would sometimes help to use the search function of this forum.
Anyone used Hollywood to play podcast?
by Flinx
Fri Feb 13, 2026 4:02 pm
Forum: General programming
Topic: reading an UTF16 text file
Replies: 5
Views: 14497

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...
by Flinx
Tue Jan 27, 2026 5:57 pm
Forum: Newbie questions
Topic: macOS paths
Replies: 3
Views: 15438

Re: macOS paths

To make things different for the application type: Local prgtype, prgname$, hw$ = GetProgramInfo() Switch prgtype Case #PRGTYPE_SCRIPT: ... Case #PRGTYPE_APPLET: ... Case #PRGTYPE_PROGRAM: And to get the paths you can use GetSystemInfo(): Local GVtbl=GetVersion() If GVtbl.platform="MacOS" ...
by Flinx
Fri Jan 16, 2026 1:12 pm
Forum: Hollywood bugs
Topic: FormatStr() on Linux (ppc) - unexpected result
Replies: 3
Views: 24900

Re: FormatStr() on Linux (ppc) - unexpected result

Your syntax is incorrect. You are attempting to output a string with two digits and a leading zero. But this is only defined for numbers, so to fix just this line: mo$ = FormatStr("%02d", ToNumber(mo$)) But your function doesn't seem to make sense to me at all. Why don't you use FormatDate...
by Flinx
Tue Dec 30, 2025 4:57 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 19722

Re: Windows IDE corrupts the created files

I don't have many ideas left. A bad hard disk would cause problems with other activities too.
Could you provide an example of a file that cannot be compiled, or is the program too large for this?
by Flinx
Sat Dec 27, 2025 12:42 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 19722

Re: Windows IDE corrupts the created files

I used like base a previous version of my code I added the new code fro the corrupt file, and no the problem with that part of code don't appears That means, that this code isn't corrupted. I used the Notepad++ to see if there are some strange character but neither I saved the code with the Notepad...
by Flinx
Wed Dec 24, 2025 12:47 pm
Forum: Windows IDE
Topic: Windows IDE corrupts the created files
Replies: 7
Views: 19722

Re: Windows IDE corrupts the created files

I've tried copying the same code from the working version and nothing works. I even copied code from the non-working version to the working one, and the old version still works. This should tell you that the bug is not in this part of the code. There's not much more we can say about it because we d...