Hurray! My first real widget! So, I finally figured out all the basic stuff. Thanks Lurker for the help on the timer stuff.
This widget contains all the TA songs in OGG format. I guess if you already have them in MP3, you can just convert so I'll attach the widget by itself if you want it like that.
It's very messy, I'm quite the Lua noob, so it might not be as efficient as it should be, buuut...it does:
Randomly play tracks
Dynamically activate battle music with fading
Kill babies
Here ya go: http://www.just-deserts.com/misc_files/ ... h_music.7z
I only have 2 kinks to be fixed. 1 is a nil error, that pops its head now and again. I can't really figure out why, but restarting the widget helps if you see it. It works for the most part.

Right now it will activate battle music nicely with a fadeout, and then a timer launches. It will take approximately 1 minute for the widget to say "Ok, we're not in battle mode". However, if a unit is attacked right afterwards, it will activate battle mode again. This means, sometimes during a battle, the music will fade and play another battle song. It's really not that annoying, as 1 minute is good for battle music I assume, but I definitely want to get that working properly.

Anyway, hope you guys like it. It's under the CC License, so do what you want with it, just throw my name somewhere in there.
