Audiosurf: Ride Your MusicAudiosurfAddonsWindows Live / Msn Messenger Plugin
Pages: [1] 2 3 4
Print
Author Topic: Windows Live / Msn Messenger Plugin  (Read 7992 times)
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
*****
Posts: 1797


rofflesthemighty@hotmail.com LordDosk
View Profile WWW Email
« on: April 27, 2008, 06:22:41 AM »

It's not a 'plugin' in the definition of the word, but if you have this app open while playing Audiosurf, it will change your Msn Messenger to display the song you are currently surfing.

As usual, I made this with very little caffeine, so let me know of any bugs you find or any comments / suggestions you have.

Oh and don't forget to actually enable the "What I'm Listening To" option in msn Wink

Edit: beta version disallows multiple instances, tries not to reset your msn status if audiosurf isnt running, has a menu option to manually clear your msn status

Edit 4/29: New version allows full customization of what is being displayed in msn.
You can type in anything you want, and use the two tags {Artist} and {Title} to denote the insertion of the track artist / title.
You can also select between setting the msn tag to Music or Games. The difference being the little icon that shows up next to the tag.

Edit 4/29 - 2:
Fixed a bunch of characters like \ / ñ ö, etc showing up as stuff like %2f in messenger

edit 4/30:
the new patch should fix LockeDowne's problems #2 and #5. i'll take a look at it in a bit to make sure

edit 5/9:
i've included the latest source for this project from my svn in case anybody wants to poke around with it, mod it, etc
If you want my absolute latest stuff later on, the svn repository is located at http://pwntastic.thruhere.net:62601/svn/ where the user is Guest
it's a C# solution developed in visual studio 2008. if you don't have vs2008, you can download a free 'express' version from microsoft
if you only have visual studio 2005, there are tools to convert from a vs08 to vs05 solution available if you google it

edit 5/16:
I've added some debug features to MSN Surf. Should it crash, it will now write a crash log which you can then send to me or post here.

* MsnSurf_Source.zip (161.52 KB - downloaded 170 times.)
* MsnSurf.zip (16.24 KB - downloaded 348 times.)
« Last Edit: October 24, 2008, 06:02:42 PM by Pwntastic » Logged


Quote from: John Carmack
it’s not “oh just thread your application”.  Anyone that says that is basically an idiot, not appreciating the problems.
Devil_Spawn
Hero Member
*****
Posts: 514


View Profile Email
« Reply #1 on: April 27, 2008, 07:03:44 AM »

Awesome!  Cheesy

one minor problem i noticed is that instead of a slash it shows up %2f (in msn)
Logged
Saint Louis EX
Hero Member
*****
Posts: 680


DESU

kuanjiaqing@hotmail.com
View Profile
« Reply #2 on: April 27, 2008, 07:29:46 AM »

Nice work.
Logged

gojko88
Newbie
*
Posts: 9


View Profile Email
« Reply #3 on: April 27, 2008, 12:24:46 PM »

Great job! Smiley
Logged
LockeDown
Customizable
Global Moderator
Hero Member
*****
Posts: 534


"We're gonna need to watch that again..."


View Profile WWW
« Reply #4 on: April 27, 2008, 01:32:04 PM »

Pwn - Awesome job - Better then I would have done last night with no caffeine.

Couple Bugs:
#1 - If Audiosurf is NOT running and im using Winamp or WMP to broadcast to MSN while MsnSurf is running - MsnSurf will block attempts to change reset any changes to listening status from other programs (seems to work fine if Audiosurf is running in background - See Bug #5 below).

#2 - Kind of picky - but if it could clear the listening status when your done with the song. Currently it will show you playing a song until you choose a new one. Would be nice so if your just browsing scores or looking through song list to play or letting it sit and your AFK its not still showing as if your playing the same song.

#3 - Very Picky - Your Style Modes - You have "Audiosurfing:" but it comes out as "Surfing:" - And I know you probably did this to save on space. Just being picky Wink. Actually would be nice if there was an option to customize it a bit. Maybe allow users to put thier own prefix text as a quick fix but would be cool to make your own custom string with %a for artist and %t for track.

Overall its awesome - And as soon as #1 can be fixed i'll set it to startup...

oh wait...

#4 - You should make it so you cant run multiple instances of the program. I just did it as a test and I had 2 in my system tray and was afraid to see what happened with both running.

Thanks for saving me hours of headaches doing all this work for me Wink

Sorry 1 more...

#5 - If I DO have Audiosurf running in BG and MsnSurf - MsnSurf will let me change the music status but it actually filters it to match the MsnSurf Artist/Track style. Im guessing your trapping capturing the MSN Update Status then reformatting it. My Winamp is set to go "Song - Artist" while MsnSurf will reformat. Not really sure it its a bad thing.. but I think I would like the option to keep them seperate but both open at the same time. - Ignore Formatting Issue - Last.FM PlugIn is the one reformatting and they have no option to format the output. Pfft. But MsnSurf will sometimes lock onto a song and not let other programs change the status while both AS is in background (idle) and MsnSurf is running.
« Last Edit: April 27, 2008, 02:28:39 PM by LockeDown » Logged


xairu
Global Moderator
Full Member
*****
Posts: 210


<3 audiosurf


View Profile Email
« Reply #5 on: April 27, 2008, 02:27:39 PM »

I second the ability to customize the display further.
Logged



Add me, PSN: Xairu
GTAIV! yo
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
*****
Posts: 1797


rofflesthemighty@hotmail.com LordDosk
View Profile WWW Email
« Reply #6 on: April 27, 2008, 06:44:18 PM »

#1 - If Audiosurf is NOT running and im using Winamp or WMP to broadcast to MSN while MsnSurf is running - MsnSurf will block attempts to change reset any changes to listening status from other programs (seems to work fine if Audiosurf is running in background - See Bug #5 below).
Yeah that's a bit of a problem, huh. I'll think up a way for it to become better at knowing when to and not to clear the status.

#2 - Kind of picky - but if it could clear the listening status when your done with the song. Currently it will show you playing a song until you choose a new one. Would be nice so if your just browsing scores or looking through song list to play or letting it sit and your AFK its not still showing as if your playing the same song.
Yeah I thought it would do this as I put in a check to see if the song finished, but unfortunately other than when you actually finish a song and get a score, there is no way of knowing whether you're still playing or if you cancelled the song early. I'll have to ask dylan to add a respose from audiosurf whenever you return to the main menu. Because if you quit a song half way through, there is no way for the application to detect that.

#3 - Very Picky - Your Style Modes - You have "Audiosurfing:" but it comes out as "Surfing:" - And I know you probably did this to save on space. Just being picky Wink. Actually would be nice if there was an option to customize it a bit. Maybe allow users to put thier own prefix text as a quick fix but would be cool to make your own custom string with %a for artist and %t for track.
I was thinking about this last night but i was waaaaaay too tired to do it. I'll add it in a bit after i wake up some more Wink

#4 - You should make it so you cant run multiple instances of the program. I just did it as a test and I had 2 in my system tray and was afraid to see what happened with both running.
Good call I'll add that.

#5 - If I DO have Audiosurf running in BG and MsnSurf - MsnSurf will let me change the music status but it actually filters it to match the MsnSurf Artist/Track style. Im guessing your trapping capturing the MSN Update Status then reformatting it. My Winamp is set to go "Song - Artist" while MsnSurf will reformat. Not really sure it its a bad thing.. but I think I would like the option to keep them seperate but both open at the same time. - Ignore Formatting Issue - Last.FM PlugIn is the one reformatting and they have no option to format the output. Pfft. But MsnSurf will sometimes lock onto a song and not let other programs change the status while both AS is in background (idle) and MsnSurf is running.
Yeah the locking onto a song is part of #2 above. It shouldn't be too hard for dylan to add another response from audiosurf for the next patch. If you guys want i can add in a hotkey to clear it or a menu option. Or both. I'll just add both.

Edit: i got #1 and #4 all cleared. I'm working on that hotkey and then ill work on adding in custom status controls
« Last Edit: April 27, 2008, 07:54:34 PM by Pwntastic » Logged


Quote from: John Carmack
it’s not “oh just thread your application”.  Anyone that says that is basically an idiot, not appreciating the problems.
LockeDown
Customizable
Global Moderator
Hero Member
*****
Posts: 534


"We're gonna need to watch that again..."


View Profile WWW
« Reply #7 on: April 27, 2008, 08:18:59 PM »

Edit: i got #1 and #4 all cleared. I'm working on that hotkey and then ill work on adding in custom status controls

Cool - Are you able to upload this version you got so far? #1 was my biggest concern.
Logged


Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
*****
Posts: 1797


rofflesthemighty@hotmail.com LordDosk
View Profile WWW Email
« Reply #8 on: April 27, 2008, 08:46:50 PM »

Yep, just did Wink
Logged


Quote from: John Carmack
it’s not “oh just thread your application”.  Anyone that says that is basically an idiot, not appreciating the problems.
gojko88
Newbie
*
Posts: 9


View Profile Email
« Reply #9 on: April 28, 2008, 12:47:14 PM »

Installed, placed in startup, delighted Smiley
Logged
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
*****
Posts: 1797


rofflesthemighty@hotmail.com LordDosk
View Profile WWW Email
« Reply #10 on: April 29, 2008, 05:34:12 PM »

development of this may go a bit slower than expected. my msn account is messed and now crashes my router whenever i login to it with wlm. i can login on trillian, but then i can't use status messages.
i'll try to keep working on this blindly for a bit, but i need to figure out what is wrong with my msn account

Bump for update. Full customization support added Cheesy

Also i fixed my msn Wink

Edit:
Bump again for character fixes as displayed in msn
Logged


Quote from: John Carmack
it’s not “oh just thread your application”.  Anyone that says that is basically an idiot, not appreciating the problems.
Dylan
Developer
Administrator
Hero Member
*****
Posts: 978



View Profile WWW Email
« Reply #11 on: May 02, 2008, 05:09:39 PM »

Works great!

I missed this step at first:
Quote
Oh and don't forget to actually enable the "What I'm Listening To" option in msn Wink

but it's working great now.

EDIT: For anyone else who might be as confused as me - It works perfectly with Windows Live Messenger. I guess they're the same thing.

Also, nice icon Pwn.
« Last Edit: May 02, 2008, 05:18:07 PM by Dylan » Logged
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
*****
Posts: 1797


rofflesthemighty@hotmail.com LordDosk
View Profile WWW Email
« Reply #12 on: May 02, 2008, 07:59:11 PM »

Haha you like that icon? I made it myself Tongue
Yeah windows live messenger is the new name for msn messenger
Logged


Quote from: John Carmack
it’s not “oh just thread your application”.  Anyone that says that is basically an idiot, not appreciating the problems.
firepong
Newbie
*
Posts: 9


View Profile Email
« Reply #13 on: May 03, 2008, 05:53:58 AM »

Woah!!  guess its time for me to try out some of the mods Tongue Would use last.fm, but forgot my account and never really used it much anyways lol
Logged
rhonnysparks
Newbie
*
Posts: 23


View Profile
« Reply #14 on: May 08, 2008, 02:34:06 AM »

I registered just to say thank you, I've been waiting for this feature ever since I started playing audiosurf!  Grin

a couple of issues: I'm getting the ascii values in hex instead of the actual characters (eg %28 instead of ( and %e8 instead of é). For some reason single quotes seem to be stripped and only the first letter of artist and title is in upper case.

if you could fix those it would be great!
Logged
Pages: [1] 2 3 4
Print
Jump to:  


Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Rhett design by Crip | XHTML | CSS