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 dro on Today 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
2
General Discussion / Re: AAC playback?
« Last post by dro on Today 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
3
General Discussion / AAC playback?
« Last post by daniel_kukiela on Today 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
4
General Discussion / How to load a playlist programmatically
« Last post by daniel_kukiela on Today 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
5
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!
6
Skins / Re: Big Bento Modern v1.2
« Last post by Zonger on October 16, 2021, 04:38:41 AM »
Been using Winamp since the AOL days when it would auto install with the dialup programs and this is the best its ever looked!
7
General Discussion / Re: Suggestion for playing control
« Last post by poddex on October 13, 2021, 07:43:46 PM »
Hah, there are already there, in plugins section!!!
I found them!
Both, excluder and playlist_remover!
Thank you, DrO, you are awesome!
8
General Discussion / Re: Suggestion for playing control
« Last post by poddex on October 13, 2021, 07:02:54 PM »
Or maybe autoremove already played from playlist? It should be easier than exclude-feature
9
General Discussion / Suggestion for playing control
« Last post by poddex on October 11, 2021, 05:31:32 AM »
I already posted here a questions about play count control. The goal is to play a song in a playlist only ONE time, without repeating, even without shufflle table saving and even after crahses or another issues such a play table regenerate.
I find a feature called "Exclude files..." in a playlist (via Alt-X). I guess that it simply switch off a track from playing...so, can you add a feature to Auto-Exclude already played files? Winamp will exclude a files from playlist when simply started a song, no duration control, an easy way. That's a solve for a question about repeaiting.
Of course, exclude table must be saved between sessions.
And, after all, when playlist reached the end - user can simply create a new playlist with Auto-Exclude enabled or maybe Auto-include all tracks after playlist reached the end.
And there is no new reworks or develope because this feature is already in WACAP.
Thanks for reading.
10
General Discussion / Re: It is possible to do queries to WACUP database?
« Last post by amix on October 09, 2021, 09:22:02 PM »
Quote
The plan is also to make it possible to send a custom query to the db via the command-line

It would be even cooler, if this could be done via ActiveX scripting, meaning, that WACUP could be used as a COM for ActiveScripting.
Pages: [1] 2 3 ... 10