View Single Post
Old 23rd August 2020, 15:51   #9
ryerman
Major Dude
 
ryerman's Avatar
 
Join Date: Mar 2010
Location: Canada
Posts: 726
Quote:
Originally Posted by aleksey_WinAmp View Post
No, I need to implement my own logic to choose the next song,
using C# or C++ or JScript, etc.
If you can do that before playing the first song, then you could create a playlist file (M3U or M3U8) containing a list of the paths to the songs, in the order you want them to play.
For the command "/ADD <file>", file can be a M3U or M3U8 file. No special formatting is required and the file specs should not be surrounded by quotes.

code:
"C:\Program Files (x86)\Winamp\winamp.exe" /ADD "C:\path\to\list of files\Files.m3u8"

Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin
ryerman is offline   Reply With Quote