Author Topic: Yet Another Audiosurf Player 4.2 (now with Twitter support!)  (Read 51043 times)

Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
Hey, I think I know why it's stripping my playlists of various songs: instead of reading down the list of songs and saving each one, it only saves the songs it recognizes as Audiosurfable.  While I understand how awesome of an idea this is, and how helpful it is to stop Audiosurf from freezing, it would be nice if it also recognized .m4a as a good format, since all of my songs got turned into .m4a during the transfer between the comp and the laptop(XP aac = Vista m4a?).  I believe I can still get around this by creating the playlist again every time I open it up, which is only a matter of half a minute the way the songs are arranged(i.e. not arranged at all), but adding .m4a to the list should stop this problem.

The reason I don't think it's the id3 tags is because it doesn't just stop at a specific point and ignore all songs after that, it strips out everything that isn't an mp3, which is the only other filetype there(seriously, what did Vista do with all those aac's?)
Note to self:  1/24/12 Awawayabeft

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
yes, YAAP skips the songs that aren't supported (the supported formats are the ones you can choose when using 'Add songs').

I don't know if I can add support for .m4a files, since I don't know if TagLib# can read them, but I'll give it a try.

I prefer skipping the filetypes that aren't supported to prevent user stupidity and having a lot of noobs users saying that YAAP crashes their Audiosurf when, in fact, they're trying to play (for example) a .txt file...


Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
As far as I can tell, it has no problems with .m4a's that aren't resulting from the programmed in blocks.  Tags show up just fine in the playlist manager, and Audiosurf is fine too.

However, I have been having one gigantic bug that I originally thought had something to do with whatever made it not connect:  when trying to play a playlist, it will play a song, and then it will play that song again, and never go to another song.  I tried pressing next in the middle of the song, and it just restarted the song.  A check of the log confirmed it was sending the exact same song every time.

EDIT: This is completely unrelated to .m4a's, as a playlist consisting of only .mp3's will consistently play the same exact song.  I have shuffle on, haven't checked with it off, but it's almost worthless to me off because then it's the same list of songs every time.

ALSO: The problem with it refusing to connect seems to be related to closing Audiosurf not through YAAP, i.e. the red X.  Not checked with the actual exit command, closing using YAAP is fine(possible because it thinks it's still open and opening it again does nothing?).  Once this begins, nothing short of deleting YAAP and the related dll's and replacing them with a new version will fix it.

Added on a DxDiag just in case it would be helpful, quick and easy statement is I'm running Vista.

ANOTHER EDIT: What does YAAP wait for to tell it that Audiosurf has received the song?

HI: I just tested seeing if it needs to get back to the character screen, and that made it not accept the next song hotkey at all.  With Audiosurf online, it now recieves commands from Audiosurf as well, but it still insists on playing the exact same song every single time.  The logs are something like "playing artist Frank Klepacki" "playing song Act On Instinct" "loaded ash file (ash location)", so I would then assume that means YAAP can't do playlists for an offline Audiosurf.  There were no logs about scores, even though it did get to the scoreboard.

DKJF: I should probably add that, in the middle of this somewhere(think it was during the online testing phase), I tried telling it to go to the next song without ending the current song, and got a .NET error.  YAAP crashed, Audiosurf did nothing.  Not that important, just wanted to let you know.
« Last Edit: April 04, 2010, 11:48:11 am by Laserrobotics »
Note to self:  1/24/12 Awawayabeft

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
However, I have been having one gigantic bug that I originally thought had something to do with whatever made it not connect:  when trying to play a playlist, it will play a song, and then it will play that song again, and never go to another song.  I tried pressing next in the middle of the song, and it just restarted the song.  A check of the log confirmed it was sending the exact same song every time.

I have had it do this, but I was messing around at the time and thought I'd caused it through doing something silly myself.
I'll see if I can isolate what causes it.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
As far as I can tell, it has no problems with .m4a's that aren't resulting from the programmed in blocks.  Tags show up just fine in the playlist manager, and Audiosurf is fine too.

Okies, I'll add .m4a support in 3.2...

However, I have been having one gigantic bug that I originally thought had something to do with whatever made it not connect:  when trying to play a playlist, it will play a song, and then it will play that song again, and never go to another song.  I tried pressing next in the middle of the song, and it just restarted the song.  A check of the log confirmed it was sending the exact same song every time.

EDIT: This is completely unrelated to .m4a's, as a playlist consisting of only .mp3's will consistently play the same exact song.  I have shuffle on, haven't checked with it off, but it's almost worthless to me off because then it's the same list of songs every time.

blue_h3x used to have the same problem too (in fact, I don't know if he still has it or not), but the only thing I can say is that I could never replicate it in my PC nor my lappy, even when taking the exact same steps as him... All I can say is that it'll be a very hard bug to fix, and to make sure you always have Autoadvance enabled and "Repeat songs" unchecked in Shuffle options (first page in the Options tab).

ALSO: The problem with it refusing to connect seems to be related to closing Audiosurf not through YAAP, i.e. the red X.  Not checked with the actual exit command, closing using YAAP is fine(possible because it thinks it's still open and opening it again does nothing?).  Once this begins, nothing short of deleting YAAP and the related dll's and replacing them with a new version will fix it.

Added on a DxDiag just in case it would be helpful, quick and easy statement is I'm running Vista.

I just did this: Launched Audiosurf and YAAP, connected them, closed Audiosurf using the X button, launched it again and tried to connect it to YAAP... It connected fine here :/

ANOTHER EDIT: What does YAAP wait for to tell it that Audiosurf has received the song?

it waits for the "asreport nowplayingartistname" reply, until then it thinks Audiosurf it's on the Characters screen.

HI: I just tested seeing if it needs to get back to the character screen, and that made it not accept the next song hotkey at all.  With Audiosurf online, it now recieves commands from Audiosurf as well, but it still insists on playing the exact same song every single time.  The logs are something like "playing artist Frank Klepacki" "playing song Act On Instinct" "loaded ash file (ash location)", so I would then assume that means YAAP can't do playlists for an offline Audiosurf.  There were no logs about scores, even though it did get to the scoreboard.

Well, yeah, if Audiosurf and YAAP aren't connected, Audiosurf never sends the "asreport songcomplete" command, so YAAP doesn't know the song ended...

DKJF: I should probably add that, in the middle of this somewhere(think it was during the online testing phase), I tried telling it to go to the next song without ending the current song, and got a .NET error.  YAAP crashed, Audiosurf did nothing.  Not that important, just wanted to let you know.

hmm, strange, maybe a .NET fluke, please let me know if it happens again...

I have had it do this, but I was messing around at the time and thought I'd caused it through doing something silly myself.
I'll see if I can isolate what causes it.

Please do, that'd be really useful, since I can't replicate the bug here :-\


lavacano201014

  • Hero Member
  • *****
  • Posts: 1757
  • We're an underground revolution working overtime.
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
I don't know if I can add support for .m4a files, since I don't know if TagLib# can read them, but I'll give it a try.

Google says MP4 uses ID3V2, so it should work.

Green = listening, red = surfing

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Yeah, I just tried it and it worked, so I guess it's confirmed... You'll be able to load .m4a files in 3.2!


Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
As far as I can tell, it has no problems with .m4a's that aren't resulting from the programmed in blocks.  Tags show up just fine in the playlist manager, and Audiosurf is fine too.

Okies, I'll add .m4a support in 3.2...
Awesome!
Quote

However, I have been having one gigantic bug that I originally thought had something to do with whatever made it not connect:  when trying to play a playlist, it will play a song, and then it will play that song again, and never go to another song.  I tried pressing next in the middle of the song, and it just restarted the song.  A check of the log confirmed it was sending the exact same song every time.

EDIT: This is completely unrelated to .m4a's, as a playlist consisting of only .mp3's will consistently play the same exact song.  I have shuffle on, haven't checked with it off, but it's almost worthless to me off because then it's the same list of songs every time.

blue_h3x used to have the same problem too (in fact, I don't know if he still has it or not), but the only thing I can say is that I could never replicate it in my PC nor my lappy, even when taking the exact same steps as him... All I can say is that it'll be a very hard bug to fix, and to make sure you always have Autoadvance enabled and "Repeat songs" unchecked in Shuffle options (first page in the Options tab).
Wow, I totally missed the 'repeat songs' option.  We'll see if that works, now that I actually have time to play.
Quote

ALSO: The problem with it refusing to connect seems to be related to closing Audiosurf not through YAAP, i.e. the red X.  Not checked with the actual exit command, closing using YAAP is fine(possible because it thinks it's still open and opening it again does nothing?).  Once this begins, nothing short of deleting YAAP and the related dll's and replacing them with a new version will fix it.

Added on a DxDiag just in case it would be helpful, quick and easy statement is I'm running Vista.

I just did this: Launched Audiosurf and YAAP, connected them, closed Audiosurf using the X button, launched it again and tried to connect it to YAAP... It connected fine here :/
Yeah, not a big problem as long as I remember to close through YAAP.
Quote

ANOTHER EDIT: What does YAAP wait for to tell it that Audiosurf has received the song?

it waits for the "asreport nowplayingartistname" reply, until then it thinks Audiosurf it's on the Characters screen.

HI: I just tested seeing if it needs to get back to the character screen, and that made it not accept the next song hotkey at all.  With Audiosurf online, it now recieves commands from Audiosurf as well, but it still insists on playing the exact same song every single time.  The logs are something like "playing artist Frank Klepacki" "playing song Act On Instinct" "loaded ash file (ash location)", so I would then assume that means YAAP can't do playlists for an offline Audiosurf.  There were no logs about scores, even though it did get to the scoreboard.

Well, yeah, if Audiosurf and YAAP aren't connected, Audiosurf never sends the "asreport songcomplete" command, so YAAP doesn't know the song ended...
I believe that must be my problem, as Audiosurf NEVER sent that command(as far as I remember) whether online or offline.  Hrmm....

IMPORTANT! I have found what I believe is a good enough fix for the problem.  I unchecked "always start at the selected song" and now it both autoadvances(I don't care about the scores) and plays a different song.  The reason why I say it's a 'good enough' fix is because what I believe is now happening is this:  It is starting the playlist again every single time, and the only reason it comes up with a different song is because it's on shuffle.  This is completely acceptable to me.
« Last Edit: April 05, 2010, 06:52:16 pm by Laserrobotics »
Note to self:  1/24/12 Awawayabeft

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #173 on: April 10, 2010, 02:35:05 pm »
3.2 is up! ^_^


David_VI

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #174 on: April 12, 2010, 02:14:22 pm »
This is related to the abilities of YAAP and AS in general...

Is there a way you can disable the little hill map in the top left when you're playing?

I think it would make it much more exciting to jump into a shuffled song and not know whats coming up except for seeing ahead.. I'd love that!

David

blue_h3x

  • Hero Member
  • *****
  • Posts: 4577
    • View Profile
    • AS Tournament
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #175 on: April 12, 2010, 02:53:55 pm »
Is there a way you can disable the little hill map in the top left when you're playing?

It's a core part of AS
Austria is just like Yorkshire, but they have bigger hills.... oh and they have real snow too

chimaeraUndying

  • Hero Member
  • *****
  • Posts: 806
  • MADNESS
    • View Profile
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #176 on: April 14, 2010, 10:52:58 am »
Too bad. Can it hide the song name/score bars?

blue_h3x

  • Hero Member
  • *****
  • Posts: 4577
    • View Profile
    • AS Tournament
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #177 on: April 14, 2010, 10:56:25 am »
You can hide the song title yes
Austria is just like Yorkshire, but they have bigger hills.... oh and they have real snow too

Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #178 on: April 15, 2010, 05:21:30 pm »
3.2 fixed one very important thing: it now only takes 3-10 seconds to go to next song rather than 40.
Note to self:  1/24/12 Awawayabeft

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Yet Another Audiosurf Player 3.2 (now with M4A files support!)
« Reply #179 on: April 15, 2010, 06:14:11 pm »
that's not a bug in YAAP, though, it takes that long because it waits for Audiosurf to send the "song complete" command, and it doesn't send that command until it posts the score or times out, so YAAP thinks Audiosurf is still playing a song...

To check this, set Steam Friends in offline mode and play Audiosurf, YAAP should advance to the next song in no time...