Latest WACUP public preview for x86 & x64 is build #21640 (May 11th 2025) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #21640 (May 11th 2025) (x86 & x64 changelogs)


NOTE: Beta testers are added in a limited & subjective manner as I can only support so many people as part of the beta test program to keep it useful for my needs.

Unless I think you're going to be helpful, not all requests will be accepted but might still be later on. Remember that beta testing is to help me & the limitations currently works for my needs for this project.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - daniel_kukiela

Pages: [1]
1
General Discussion / Re: Internet stream vs title and image
« on: November 02, 2021, 09:15:12 PM »
Ok, so it seems that the only way to make cover images work would be to write own plugin. I'm not going to attempt to, at least for now. I have too many things I want to do :)

Thank you for your help here and for answering my questions.

2
General Discussion / Re: Internet stream vs title and image
« on: November 02, 2021, 08:17:14 PM »
So... I reinstalled WACUP and... indeed it works. I have no idea why it didn't previously. I also see the current title, so the Shoutcast metadata is being parsed and shown properly.
I'm a heck of a happy man as I can add streams to WACUP now (and also to my Stream Deck).
Thank you and sorry for taking this much of your time.

Speaking theoretically, the site that uses this stream also shows a cover photo (https://open.fm/stacja/weekend-hits). I'm not sure if they also attach it with the Shoutcast metadata included within this stream. Does WACUP support not only a title but also this image if it's attached? If to believe this: https://www.radioforge.com/icecast-shoutcast-metadata-with-artwork-image/, Icecast can attach images.
Why I'm asking is I could still tinker here a bit to achieve this.

3
General Discussion / Re: Internet stream vs title and image
« on: November 02, 2021, 07:46:41 PM »
I see exactly the same info.

I might perform a clean install of WACUP, but it has been a clean install in a clean Windows 10 install. Do you think I might be missing something in my system then? Some codec maybe?

4
General Discussion / Re: Internet stream vs title and image
« on: November 02, 2021, 06:57:46 PM »
Ok, I made some tests.

I installed Icecast and set a relay for this stream (http://stream.open.fm/127). I also discovered that this stream is also streamed using Icecast. Anyway, WACUP does not play it (keeps connecting) while other apps like MPC-BE do (using my relay). I simply did this:
Code: [Select]
    <relay>
        <server>stream.open.fm</server>
        <port>80</port>
        <mount>/127</mount>
        <local-mount>/weekend-hits</local-mount>
        <on-demand>0</on-demand>

        <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
    </relay>
I was also able to dump part of this stream using my local relay and WACUP does not play it while mentioned MPC-BE does. I'm attaching this sample for you, following your request.

Will WACUP handle Shoutcast metadata, assuming it'll play the stream?
And yes, I can do about anything with Python. If not plain Python, there are so many C/C++ packages for it, that I'll be able to find something for sure.

If I would like to write my own input plugin for this streaming provider, is there any resource I could read to learn how to do that?

And yes, I'm not expecting you to put your time to do anything about my case. I know and understand how much of the work needs still to be done by you. I'll try to make my own workarounds to achieve what I want and even the local Icecast server will be totally fine with me. Sadly it did not work.

5
General Discussion / Re: Internet stream vs title and image
« on: November 02, 2021, 05:16:13 PM »
I did not think of making an input plugin. I'm Python dev (PHP previously) and while I know other languages, I might not have enough knowledge to write an input plugin (at least not with good documentation).

I'll take a look at Icecast. Thank you for this hint.

As for re-streaming with my own code - I did not want to re-compress, just de-compress (so with no quality loss) to a PCM format (which I thought WACUP should not have any issues with). The original stream is AAC and WACUP does not want to play not just it, but also AAC files (locally, from a disk), so some I don't think, unless I'm mistaken, that Icecast and re-stream using it will work with WACUP and AAC (AAC so no re-compression would be needed).

I'm also assuming, from the rest of your message, that to show a title and image I would need to have an appropriate input plugin and none of the containers could provide this info to WACUP?

Hope I'm not asking too many questions. Internet streams are the last missing part for me with WACUP.

6
General Discussion / Internet stream vs title and image
« on: November 02, 2021, 04:31:31 PM »
Hi,
Last time I asked about the AAC internet streams and I learned that I need to wait for a support. I think I'm going to write some code to decompress to PCM and re-stream the stream to make it work with Winamp (think of it as some sort of proxy).
Now my question is - if I play a network stream, am I able, somehow, to show the title? I can source this information as well as a photo (that I could show as a cover photo in Winamp).
But is it possible to construct a stream in some way to achieve this or interface with Winamp in some other way (external, not as a plugin)?

Thanks

7
General Discussion / Re: AAC playback?
« on: October 27, 2021, 05:12:58 AM »
I was looking around here and don't know how much it matters, but both AAC file and stream work in Winamp. As much as I remember, your work is based on some older Winamp version which probably/maybe did not work with some newer AAC formats.

Ok then, I'll find some alternative for AAC, for now.


Thank you

8
General Discussion / Re: How to load a playlist programmatically
« on: October 26, 2021, 11:31:45 PM »
Makes sense.
I managed to make what I wanted to anyway.


Thanks!

9
General Discussion / Re: AAC playback?
« on: October 26, 2021, 10:15:24 PM »
I did not change anything yet nor added any plugins. This Windows 10 installation is rather fresh and I just installed Wacup on it.
Here's a stream example: https://stream.open.fm/127?type=.aac&user=800098929772&player_group=WWW


Thank you

10
General Discussion / Re: How to load a playlist programmatically
« on: October 26, 2021, 10:12:44 PM »
Thank you for this explanation. It totally makes sense.

I actually implemented it using command line, not without issues too.

1. does not work:
winamp playlist.m3u8
2. does not work:
winamp /ADD playlist.m3u8
3. does not work:
winamp playlist.pls
4. kind of works:
winamp /ADD playlist.pls

Only pls playlist and only while we /ADD it, so the final solution is:
winamp /CLEAR
winamp /ADD playlist.pls
winamp /PLAY

I'm not sure if it's me doing something wrong, it's a bug or it works like this by design.

Attaching a photo of what I have so far (the botto line of buttons are different playlists)


11
General Discussion / AAC playback?
« on: October 26, 2021, 12:51:25 PM »
Can Wacup play streams/files in aac format?
Whenever I try to play either a local .aac file or use an url with aac codec, it simply does not play at all.
Am I missing anything in my system to let it decode the aac format?


Thank, you,
Daniel

12
General Discussion / How to load a playlist programmatically
« on: October 26, 2021, 08:59:56 AM »
Hi everyone.

I'm making integration with Stream Deck. I'm not creating a Stream Deck plugin, at least for now, so I won't be able to show statuses in the Deck and rather start simple.
I'm a Python programmer and that's also my language of choice.
So I successfully wrote some code to play/pause/stop/prev/next using
Code: [Select]
win32api.SendMessage(hWinamp, win32con.WM_COMMAND, id, 0), where id is a given button.

I'd also like to be able to change playlists, but despite different attempts, nothing happens.
My sample code:
Code: [Select]
import win32api
import win32gui
import win32con
import sys
import ctypes
from ctypes import wintypes


# enumerates windows and returns possible matches
def window_enum_callback(hwnd, hwnds):
    #hwnds = []
    if 'Winamp' in win32gui.GetWindowText(hwnd) or 'WACUP' in win32gui.GetWindowText(hwnd):
        hwnds.append(hwnd)
hwnds = []
win32gui.EnumWindows(window_enum_callback, hwnds)

    return

# queries for a version to check if whatever has "winamp" in it's title is actually winamp
for hwnd in hwnds:
    result = usercommand(hwnd, 0)
    if result:
        break

# data structore for a playlist path
class COPYDATASTRUCT(ctypes.Structure):
    _fields_ = [
        ('dwData', wintypes.LPARAM),
        ('lpData', ctypes.c_void_p),
        ('cbData', wintypes.DWORD),
    ]

file = b'd:\\test.m3u8'
playlist = COPYDATASTRUCT(100, ctypes.cast(ctypes.c_char_p(file), ctypes.c_void_p), len(file)+1)
win32api.SendMessage(hWinamp, win32con.WM_COPYDATA, 0, playlist)
I'm also clearing up the playlist with code (which I did not include in at the above example, and this works).

I also tried:
Code: [Select]
win32api.SendMessage(hwnd, win32con.WM_USER, file, 100)
but this crashes Wacup.

Anyone have an idea what am I doing wrong?


Thanks,
Daniel

Pages: [1]