-
Maximum Bitrate
winamp plugin help
ok so I have finally got a serial IR to work with WinLIRC and such, now I'm telling it what buttons on my remote do what with the gen_ir.dll plugin. I'm trying to add stuff to the dll for what can be controlled. So far it compiles and everything but I can't get it to execute a command line operation. What i'm trying to do is make it load a playlist when a certain numer button is pressed on the remote, I know that the command works because I can do it at a prompt, then when I go into VC++ I add the \ needed to make a \ instead of an escape character etc. How can I have it execute the command "C:\Program Files\Winamp\winamp.exe" "E:\ALL MP3s.m3u" ???? I have my if statements for my messages set up right and it executes whatever I put in the if statement but I just can't seem to figure out how to send it to the command line to run.
-
Maximum Bitrate
I can think of a workaround.... Just make a shortcut with the command line as the target, then assign a hotkey to it, then program the plugin to the assigned hotkey.
remote-> plugin-> hotkey/shortcut-> load playlist in winamp-> winamp plays it
http://www.mp3car.com/usersites/Maveric/ M.A.V.I.C. System
Asus MB, PII 266, 192 MB Ram, 6.8" LCD, 6 Disk CD-ROM, 21 Gig HD, All-in-Wonder Video w/ TV Tuner, Irman, Windows ME, Winamp, Cobra III -- All in a custom acrylic case.
http://www.mp3car.com/usersites/listings/ MP3car Listings - Please add to it! :)
-
Maximum Bitrate
i finally got it working with a CreateProcess().
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks