Build Your Own Arcade Controls Forum

Main => Audio/Jukebox/MP3 Forum => Topic started by: Chris on November 14, 2008, 02:34:18 am

Title: DWJukebox 3.3 Released
Post by: Chris on November 14, 2008, 02:34:18 am
I had a couple of minor bugfixes to make, resulting in version 3.2.1.  The additional fixes and features are:


As usual, you can get it from the DWJukebox website (http://www.dwjukebox.com).

--Chris
Title: Re: DWJukebox 3.2.1 Released
Post by: Space Fractal on November 14, 2008, 08:17:36 am
any reason to start a new thread on any minor versions, just few day after?  Like I, Barcrest and UncleT do, use the allready wrote thread and just bumb it (thee is a edit function to change the version nb).

Otherwice nice you got the unicode string bug. what was happens here?
Title: Re: DWJukebox 3.2.1 Released
Post by: Chris on November 14, 2008, 10:11:44 am
I create a buffer to hold the text retrieved from the ID3 tag, then I look to see if it's Unicode and if so I run a routine to swap the endian-ness and then convert it from 16-bit Unicode to the UTF-8 used internally.  The buffer is a local buffer, and this is in C, so the buffer memory is not initialized.

So I retrieve the string from ID3; it comes back as ASCII, and is null terminated.  So I do the endianness swap and the Unicode conversion.  The problem is that the string is at this point terminated with a single null; Unicode uses at least two ulls to terminate the string.  Id the next byte in the buffer happens to be 0, it works fine, but if it's anything else it reads garbage.  So now I explicitly null out the buffer before I read into it.

Now that I know what it is, I'm surprised it hasn't happened a lot more often.
Title: DWJukebox 3.3 Released
Post by: Chris on December 15, 2008, 02:41:27 am
DWJukebox 3.3 has been released; you can get it from the DWJukebox Download Page (http://dwjukebox.com/download).

This version adds three new screensaver options including the much-requested Slideshow, a display for the album cover of the currently playing song, a transparent titlestrip option, a new skin with art by Game Creature, and more.  This version should also be more friendly to running as the Windows shell; no more having to copy jukebox files to the root.

There is also an experimental feature for LCD Smartie users; the contents of the Now Playing display are dumped to a file called display.txt in the jukebox's program folder.  It's not perfect, as the display will glitch briefly if LCD Smartie reads it at the same moment it's being updated, but it will be replaced by better LCD support in the next version.

There is also a new feature that will allow the Windows screensaver to run.  This isn't perfect as the sound is likely to glitch coming out of the screensaver, but it allows use of the excellent GEISS screensaver (http://www.geisswerks.com/geiss/).

Another big change for joystick users is that moving off the side of the page causes the screen to scroll; this should make joystick navigation much easier!

Here is the full change list:


Enjoy!

--Chris