Author Topic: AudiosurfProdder - Adds easy tagging options.  (Read 25032 times)

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #15 on: November 04, 2008, 03:21:29 am »
You didn't copy the ID3Lib.dll that's in the archive with the executable.

You need to copy both Id3Lib.dll and SharpZipLib.dll to the same place as the executable for it to work.

I'll write a proper installer for v0.2 of this, I've got 0.11 pretty much finished that fixes several bugs (x64 works and leaving directories around that it shouldn't on XP) so I'll try and get they released later today.

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #16 on: November 05, 2008, 02:24:59 am »
v0.11 released.

* 64-bit support (actually forces the application to run in 32-bit mode, check the log file says "Running in 32-bit mode").
* XP issues sorted (shouldn't leave "tempsongs" and "presets" directories everywhere.
* Removed "switch to windowed" on song end (WM_COPYDATA messages don't allow dropping out of fullscreen).
* Ability to remove Log tab.

Also chucked in an example preset of NinjaMono, 4-lanes, lessgrey, monoonly and no stealth as well as a "defaults" preset.

Have fun!

Edit: Download link in first post.

Mobius R

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #17 on: November 10, 2008, 04:47:00 pm »
Hey, great idea for an addon.
I'm testing 1.1 on Vista Ultimate x64, and I have a problem. The program doesn't crash; it seems to be working properly. However, when I click on Play! nothing happens. Here is my Log:

Code: [Select]
Audiosurf Prodder started.
Running in 32-bit mode.
Found Audiosurf (Process ID 0x3260)
Sending to Audiosurf: ascommand registerlistenerwindow Audiosurf Prodder
Received from Audiosurf: asreport successfullyregistered
Copying and retagging "F:\Dorian\My Stuff\Music\8bitpeoples\GreateST HITs\8bp081-05-stu-megablast.mp3" to "F:\Dorian\Games\Audiosurf\audiosurfprodder\tempsongs\\8bp081-05-stu-megablast.mp3"
Failed to create "F:\Dorian\Games\Audiosurf\audiosurfprodder\tempsongs\\8bp081-05-stu-megablast.mp3"
Trying "F:\Dorian\Games\Audiosurf\audiosurfprodder\tempsongs\\8bp081-05-stu-megablast1..mp3"
Failed to create new mp3: Could not find a part of the path 'F:\Dorian\Games\Audiosurf\audiosurfprodder\tempsongs\8bp081-05-stu-megablast1..mp3'.

As you can see, it appears as though when it tries to copy the mp3, it adds an extra "\" before the song name in the filepath. When it fails to copy, it tries it again, but this time adds a second "." before the mp3 file extension.

Hope this helps with squashing some bugs :)

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
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #18 on: November 10, 2008, 07:05:40 pm »
This is a nice one, but one thing:

When you access a folder that lacks write access, could you add an option for specifing a tempsongs folder to use?

I ask this because most all my songs are in my Q:\ drive (Samba share from an Ubuntu machine), and I can't figure out how to give/get write permissions from it.

Green = listening, red = surfing

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #19 on: November 11, 2008, 07:23:25 am »
Mobius R: The extra slash doesn't make a difference (and it's .NET that adds it for some reason I've not worked out), Windows just ignores it.
The extra . is because Prodder assumes that the reason it can't copy the file the first time is because you've already tried to play it once but Audiosurf has left it open (there's not a lot I can do about this) so it tries a second file name.

The reason it's not working is because you don't have write access to F:\Dorian\Games\Audiosurf\audiosurfprodder for some reason.
Try copying the directory to your desktop and running it from there. If you get the same problem I'll look into it. The ..mp3 part is supposed to be .1.mp3 instead, not sure what's happening there, I'll look into it.

lavacano201014: It shouldn't be trying to create a tempsongs directory where the mp3 is. :-\
Have you got v0.1 or 0.11 as this is (supposed to be) fixed in the latter.
I'll have a look through the code, but I'm pretty sure this shouldn't be happening.

I guess moving the tempsongs directory (and adding an option to let the user decide) is the best plan for this.
I'll ask the system for the default system temp directory, make a tempsongs directory there and use that by default then add a folder picker in case the user decides they want to put them elsewhere.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #20 on: November 11, 2008, 07:37:06 am »
.1.mp3 instead, not sure what's happening there, I'll look into it.

Don't mess with dots, Windows tends to get confused if a file has more than one dot on it's name, I would recommend you to rename the .mp3 to something like "originalmp3nameNEW", "originalmp3namePRODDER" or "originalmp3nameTEMP".

Also, what does Prodder means?


Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #21 on: November 11, 2008, 07:51:07 am »
It prods Audiosurf into doing things not in the in-game option set. ;D

I've other plans for it as well, v0.2 has a rather nifty plugin system that should allow me to add more filetype support, adding tagging options to playlist support, keeping track of local highscores, could do the MSN/IRC output stuff implemented elsewhere as well.
Pretty much anything that Audiosurf supports really through WM_COPYDATA.
Idea is to make it kind of an all-in-one solution.
Plugins can have a "tab" in the current interface for extra stuff, I've got a basic player plugin set up at the moment that will play non-mp3 tracks (but doesn't re-tag them as yet) for example. Also a small plugin that outputs the track names to an olde-worlde telnet talker I use. So the idea itself works.
Could even incorporate your daily challenge into a tab if you were interested (just needs to be a DLL with a custom control inside it with a function called PluginGetControl that returns itself).

I've not seen Windows have problems with multiple .s in a long time. I suspect it's more that I added the .1.mp3 code a while ago and I've changed some other bits since then that might be causing the problem.

Kustin

  • Jr. Member
  • **
  • Posts: 68
  • Tomorrow burns
    • MSN Messenger - Electa_buzz@hotmail.com
    • View Profile
    • Email
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #22 on: November 11, 2008, 11:51:47 am »
It wasn't a long time ago I had this problem and managed to solve it.
Check if the Audiosurfprodder folder contains a folder named "tempsongs". I noticed in my report that the program didn't find a file in that supposed folder, so I created the "tempsongs" folder inside and it works.

(At least that's what I remember doing it)

Mobius R

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #23 on: November 15, 2008, 02:08:08 am »
It wasn't a long time ago I had this problem and managed to solve it.
Check if the Audiosurfprodder folder contains a folder named "tempsongs". I noticed in my report that the program didn't find a file in that supposed folder, so I created the "tempsongs" folder inside and it works.

(At least that's what I remember doing it)

Tried this and now it works just fine. For some reason the program still creates a folder in the same directory as the "audiosurfprodder" folder called "audiosurfproddertempsongs" but whatever. Works great now :)

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #24 on: November 18, 2008, 01:04:08 pm »
Ah, yes, thanks Kustin, just had a poke around with it and it seems I missed a \ when creating the temp songs directory.

So, just add a audiosurfProdder\tempsongs directory and it will work (although it will still create an audiosurfproddertempsongs directory as well, sorry about that!)

I'll put up a fix later tonight or tomorrow for it and chuck in the temp directory selection.

Kustin

  • Jr. Member
  • **
  • Posts: 68
  • Tomorrow burns
    • MSN Messenger - Electa_buzz@hotmail.com
    • View Profile
    • Email
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #25 on: November 18, 2008, 02:22:31 pm »
Glad I could help.  ;)

And thanks for the mod, Mincus!

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #26 on: November 20, 2008, 07:57:52 am »
Ok, just cleaning things up and knocking a few last bugs on the head.

I'm also compiling some more pre-sets, so if anyone has any they think would be worth including, post them here. I'm checking through the forums for various ideas that people have asked to be included in the main game (ransacked the "character ideas" thread for example).
The idea being that there's more chance of finding a scoreboard with someone on this way.

I'm also making this the last release before I do my big plugin idea thing, so will be a while before the next version. If there's any niggly bugs that haven't been reported that people want squashing, tell me now.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #27 on: November 20, 2008, 09:06:16 am »
No big bugs since the last version afaik.

Also, you should add an icon ;)

And would you like me to do a new interface? I like creating interfaces and I think it's the only 'negative' point this addon has (no offense at all :) )


Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #28 on: November 20, 2008, 10:00:20 am »
No offence taken, I don't particularly like the interface on YAAP myself. ;)

And on that point I'm not sure whether I'll like any you produce for prodder... :-\
You can knock one together and I'll see if I like it, maybe add it as an extra on the new version?

There are a few bugs in the current version, mostly they're inconsequential or a result of .NET behaving slightly differently under XP to Vista (about which I'm not amused). Since around 95% of my personal use of the player has been in Vista, I've obviously missed a lot of these.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: AudiosurfProdder - Adds easy tagging options.
« Reply #29 on: November 20, 2008, 10:11:13 am »
And on that point I'm not sure whether I'll like any you produce for prodder... :-\
You can knock one together and I'll see if I like it, maybe add it as an extra on the new version?

OK, I'll try to do my best :P

Maybe a plugin can be a new interface or customisable interfaces (if that's not much to ask, lol)?