1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I created a Winamp music reporter plugin for DigitalPoint Forums

Discussion in 'Programming' started by pkrumins, Dec 7, 2009.

  1. #1
    Greetings everyone!

    I just published something awesome! It's a Winamp plugin that reports back to DPF what music you are listening to! It's 100% free and I even open-sourced it!

    Perhaps many of you didn't know but DPF has had this feature for years. There is an entry in DPF FAQ on this feature - read it.

    Here is how it looks on the forums:

    [​IMG]

    Notice the "Listening to:". The plugin updates this field with your current track.

    There are two ways to get the plugin:
    1. download the precompiled plugin as .dll
    2. build the plugin yourself from source code

    -- Downloading And Installing Precompiled .DLL --

    Grab the gen_digitalpoint.dll plugin.

    Next, put the plugin in C:\Program Files\Winamp\Plugins directory.

    Next, restart Winamp and navigate to general purpose plugin preferences. Take these steps to get to the preferences:

    1. Right click on Winamp.
    2. Select Options -> Preferences.
    3. Find Plug-ins section.
    4. Click on General Purpose label.

    See this screenshot if you’re getting lost, it’s after step 2:

    [​IMG]

    You will see all the installed general purpose plugins. Notice our new plugin "Winamp DPF Music Reporter v1.0". Now double click it! The configuration dialog will apear:

    [​IMG]

    Enter your DPF username and the special authentication hash that can be found in your "Edit Profile" link on DPF.

    You can also specify the format of how the track will be displayed. The default format is "%A - %T" which stands for "Artist - Track".

    Here is how the About tab looks like:
    [​IMG]

    Pretty, isn't it?

    -- Compiling From Source --

    I have put all the details on how to compile it from the source code in "compile.txt" file in the source package:


    I don't want to make this thread super long, so just take a look at "compile.txt" in the source tree, all the details are there.

    Let me know what you think!!


    PS. I have some more info about this plugin on my website at "Digital Point Forums Winamp Music Reporter" project page.

    PPS. Given that it's open-source it can be easily modified and made to send what you are listening to to Twitter, etc. Let's get the hacking going! I also pushed the project to GitHub today so that you can join its development!

    PPPS. Would love some reputation for my hard efforts. : )
     
    Last edited: Dec 7, 2009
    pkrumins, Dec 7, 2009 IP
    rubeina, Abhik, nihangshah and 2 others like this.
  2. Aquarezz

    Aquarezz Well-Known Member

    Messages:
    3,006
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    175
    #2
    That's an awesome thing man! Have you talked to Shawn about adding it to the FAQ page? Could be interesting :D
     
    Aquarezz, Dec 7, 2009 IP
  3. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #3
    I have not talked yet. I just released it. The thing is I made it in 2006!!! And then I procrastinated for 3.5 years before finally publishing. What a shame.

    I wonder how I could get in contact with Shawn. Through his blog perhaps? Or maybe PM?
     
    pkrumins, Dec 7, 2009 IP
  4. abuzant

    abuzant Active Member

    Messages:
    956
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    90
    #4
    And that's me up there in the avatar, still listening to that thing...
    Well done friend, way to go.
    Enjoy it everybody :D
     
    abuzant, Dec 7, 2009 IP
  5. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #5
    Abuzant suggested me to make this in June of 2006. :)

    Better late then never. :)
     
    pkrumins, Dec 7, 2009 IP
  6. jaiganesh156

    jaiganesh156 Peon

    Messages:
    254
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thats really great man!!

    we have some real good coding geeks here :)

    All the best!!
     
    jaiganesh156, Dec 7, 2009 IP
  7. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,341
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    360
    Digital Goods:
    2
    #7
    Awesome!!
    A billion thanks.
     
    Abhik, Dec 7, 2009 IP
  8. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #8
    If the plugin doesn't appear in Winamp, try installing the latest C++ DLLs from here: http://bit.ly/Bxl1

    Anyone knows how to reach Shawn?
     
    Last edited: Dec 7, 2009
    pkrumins, Dec 7, 2009 IP
  9. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,341
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    360
    Digital Goods:
    2
    #9
    May be a PM to him..
    Or, you can post a thread in Suggestion and Feedback.
     
    Abhik, Dec 8, 2009 IP
  10. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #10
    Sorry to sound silly but what's his nick on DPF?
     
    pkrumins, Dec 8, 2009 IP
  11. nihangshah

    nihangshah Prominent Member

    Messages:
    5,529
    Likes Received:
    266
    Best Answers:
    3
    Trophy Points:
    345
    #11
    Here's the admin profile. Post a visitor message and he will contact you back.
     
    nihangshah, Dec 8, 2009 IP
  12. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #12
    Awesome, thanks! :)
     
    pkrumins, Dec 8, 2009 IP
  13. TJ Coldstepper

    TJ Coldstepper Peon

    Messages:
    224
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I get this error -

    "LibCURL failure: transfer closed with 1 bytes remaining to read"
     
    TJ Coldstepper, Dec 8, 2009 IP
  14. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #14
    TJ Coldstepper, and nothing happens?

    What's your internet connection, OS, and Winamp version?
     
    pkrumins, Dec 9, 2009 IP
  15. TJ Coldstepper

    TJ Coldstepper Peon

    Messages:
    224
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Am on a 3.1 mbps Wireless broadband connection, Using Windows XP SP2 and Winamp 5.56
     
    TJ Coldstepper, Dec 9, 2009 IP
  16. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #16
    TJ Coldstepper, did you install the latest C++ DLLs? They won't mess up your system, they are just latest possible DLLs for C++ apps.

    And do you get that error every time? Can you restart Winamp and see if you get it this time?
     
    pkrumins, Dec 9, 2009 IP
  17. TJ Coldstepper

    TJ Coldstepper Peon

    Messages:
    224
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Umm.. you lost me there!

    Yes, the error stays there throughout. No matter how many times I restart Winamp.
     
    TJ Coldstepper, Dec 9, 2009 IP
  18. pkrumins

    pkrumins Member

    Messages:
    74
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    48
    #18
    Install this DLL file pack from Microsoft: http://bit.ly/Bxl1

    Let me know if it works then.
     
    pkrumins, Dec 9, 2009 IP
  19. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,341
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    360
    Digital Goods:
    2
    #19
    Glad to see this at the FAQ Page.
    Hope this will also work on all updated versions of Winamp.
     
    Abhik, Dec 9, 2009 IP
  20. TJ Coldstepper

    TJ Coldstepper Peon

    Messages:
    224
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I installed the concerned pack as well - still no luck :(

    Is it got something to do with the fact that I have spaces in my username?
     
    TJ Coldstepper, Dec 9, 2009 IP