After fiddling about trying to get Winamp and Smartie to do play/pause with one button on my LCD, I decided to write a quick 'n' dirty DLL to do the job. Most of the code is borrowed from the WACommand utility, wrapped in a Smartie plugin.
It can do the standard play, pause, stop, next, prev, vol up/down that Smartie already provides actions for. It can also toggle Shuffle and Repeat modes, stop at end of track, stop with fade, fast forward, rewind, and the one I was most interested in: play/pause.
Play/pause starts playback if currently stopped, unpauses if currently paused, or pauses if currently playing. This allows a single button or action to control play and pause like many hardware players. This function doesn't seem to be native to Winamp.
Just copy the DLL to your Smartie plugins folder and go. Instructions in readme.txt in the ZIP file.
Comments and suggestions welcome!
EDIT:
WinampCtrl v0.2 I've added a 2nd function to return the status of shuffle/repeat/EQ settings. These simply return 1 if active or 0 if inactive. See the readme.txt file
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
WinampCtrl - plugin to control Winamp playback via actions
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
WinampCtrl - plugin to control Winamp playback via actions
You do not have the required permissions to view the files attached to this post.
-
- Forum Supporter
- Posts: 734
- Joined: October 15th, 2005, 10:39 am
- Location: Romania
- Contact: