![]() |
#1 |
Junior Member
Join Date: Dec 2008
Location: Melbourne, Australia
Posts: 13
|
Sharpamp - Create Winamp plugins in C#, easily :D
Hey everyone
I've been working on this for a while, and I think it's finally in a usable beta state. Basically, Sharpamp is a combination of a .NET library for accessing Winamp, and a C# template for Visual Studio, allowing you to easily create Winamp plugins in C#. C# doesn't let you make "normal" DLLs, so a small C++ wrapper is needed, but it is included in the template (and most of the time, you won't have to edit it or anything). Take a look, and tell me what you think: code.google.com/p/sharpamp/. Be sure to read the getting started guide at code.google.com/p/sharpamp/wiki/GettingStarted, as it explains some important details. I think one of the best things is how simple it is to handle song changes. No need to mess around with sending messages or anything. Sharpamp simply uses standard C# events, so you can do something like this: code: A GUI sample plugin is included, that looks like: [img]http://ss.d15******sharpcast-HelloWorldGUI.png[/img] Something like this is very simple to create. ![]() Please report any bugs! In particular, I've only tested it on Windows 7 64-bit, and Windows XP 32-bit. I'd like to know people's experiences with Sharpamp on Vista, as well as with Visual Studio versions other than 2008 (2005 or 2010 beta, for example). Enjoy! ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Nov 2009
Posts: 5
|
this is great, and btw seems to work with windows 7 64 and visual studio 2010 beta 2.. anyway how do I extract the current song's playcount and rating?
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Dec 2008
Location: Melbourne, Australia
Posts: 13
|
There's no method to get the playcount and ratings just yet... Maybe in a future version
![]() This release is just a very simple one, I'll work on adding more functionality in the future. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Dec 2009
Posts: 37
|
Hey!
I Like it ![]() Hope, i can use it /Edit: I Hope i understand it right, can i use the .Net Dll in Visual Basic for "Remote" things? greetings |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Dec 2008
Location: Melbourne, Australia
Posts: 13
|
Sorry for the delay in replying. You could try it... But a lot of the stuff would only work in Winamp plugins, not in normal programs. Plugins are loaded directly into Winamp, so they can do more stuff to control it.
You could write a Winamp plugin in Visual Basic .NET, you'd just have to write the class yourself. It wouldn't be too hard ![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Oct 2021
Location: In a solar system
Posts: 164
|
(Sorry for the post pumping)
Llamas, there is great news! Daniel15 told me to port the project to newer versions of Visual Studio and fix some bugs. I am trying to add some new features as well! Pull requests I made: https://github.com/Daniel15/Sharpamp/pull/4 https://github.com/Daniel15/Sharpamp/pull/5 ![]() The Visual Studio 2022 port is under maintenance. P.S Sorry for the post pumping again ![]() ![]() |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|