Latest WACUP beta release is build #9166 (October 21st 2021) | Latest WACUP public preview is build #7236 (March 11th 2021)


NOTE: New beta testers are not currently being added as I need to re-work the beta test program

If you've not already requested to be a beta tester & would like to then please send a PM to 'dro' to be added to the beta test group.

Note: requests to be a beta tester are processed in batches when new beta builds are released so please by patient of this process.

Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: How to load a playlist programmatically
« Last post by daniel_kukiela on Yesterday at 11:31:45 PM »
Makes sense.
I managed to make what I wanted to anyway.


Thanks!
2
General Discussion / Re: AAC playback?
« Last post by dro on Yesterday at 10:32:19 PM »
It's because they're HTTPS urls & the in_mp3 plug-in (one of the last real bits from Winamp 5.666 that is needed for WACUP to work) doesn't work nicely with HTTPS. It also seems that the attempt to force the url to plain HTTP sort of works but it's then not continuing to be able to process the stream.

Nothing you're doing wrong, just a long standing issue when it comes to WACUP having to re-use bits of Winamp to operate for the current time :(

-dro
3
General Discussion / Re: How to load a playlist programmatically
« Last post by dro on Yesterday at 10:29:31 PM »
Command-line support with WACUP is incomplete at the moment whilst I'm transitioning things over to working without the need for the Winamp core. That's the main reason for most of the actions not working correctly / at all.

-dro
4
General Discussion / Re: AAC playback?
« Last post by daniel_kukiela on Yesterday at 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
5
General Discussion / Re: How to load a playlist programmatically
« Last post by daniel_kukiela on Yesterday at 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)

6
General Discussion / Re: How to load a playlist programmatically
« Last post by dro on Yesterday at 01:55:20 PM »
Doing "win32api.SendMessage(hwnd, win32con.WM_USER, file, 100)" won't work as you're not within the WACUP process so when the message is received it's effectively a junk "string" & it's then luck of the draw as to how well that'll work. The applies to a lot of the Winamp apis which unless you're sending an integer value they're not going to work nicely from an externally run application.

From an external tool, WM_COPYDATA is going to be the preferred way to do it as the OS will marshal the handling of the string between the processes. However using the command-line (when it's support is fully working) is often the easier way to do things e.g. wacup.exe /FIND can be used to get the correct HWND to use instead of having to try to figure it out assuming that you've got a known WACUP location to work with.

-dro
7
General Discussion / Re: AAC playback?
« Last post by dro on Yesterday at 01:49:27 PM »
Playing raw .AAC I don't remember that working though it's dependent on what in_mp3 (unless you've changed to use a different MP3 handling plug-in) is able to do. AAC streams should work but again is dependent on them going into in_mp3 - would need an example of one of the urls you're having issues with to double-check it.

-dro
8
General Discussion / AAC playback?
« Last post by daniel_kukiela on Yesterday at 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
9
General Discussion / How to load a playlist programmatically
« Last post by daniel_kukiela on Yesterday at 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
10
Skins / Re: Big Bento Modern v1.2
« Last post by victhor on October 16, 2021, 04:54:42 AM »
Wow! That's saying a lot! Thanks!
Pages: [1] 2 3 ... 10