Grave -- Overview

Grave

BB-Zone



Grave - A tool for the Sensory Science RaveMP MP2000 Digital Media Player

Grave is an MP3 play-list editor and an interface tool to the Sensory Science RaveMP MP2000 Digital Media Player. It's made with the GTK+ toolkit and the Gnome libraries. It allows you to create and edit play-lists. The play-lists are stored as text files and can be used with most (software) MP3 players (i.e. XMMS).

The part interacting with the RaveMP (hardware) MP3 player can up and download single files, or complete play lists. You can browse files that are stored on the player and download them to your PC. You can upload a complete play list, or select single files in the file browser and upload those to the player.

Grave works fine without an RaveMP media player.


Features

MP3 files can be selected in a file browser and then added either to an existing play-list, or a new play-list will be created from scratch. Songs can be removed, moved up, moved down, moved to the end or to the beginning of the play-list. If available, the ID3 tag of the MP3 file will be displayed when the file is selected. Single songs can be played with an external MP3 player.


Prerequisites

A RaveMP player, of course - tested with 64MB of base memory, any other configuration may not work correctly.

A PC with at least a bidirectional LPT (if you have a recent PC, you may well have to go into the BIOS set up and select "EPP" or "ECP" mode before this software will work - try ECP first.

The LPT port must be set to 0x378 (or you'll need to edit the source - file ravemp.c).


Download

The current version of Grave is 0.4. You can download the source as compressed tar archive or source rpm. A binary rpm (created on SuSE Linux with XFree86 4.0) is also available:

Plain Source Archive: grave-0.4.tar.gz
Source RPM: grave-0.4-0.src.rpm
Binary RPM: grave-0.4-0.i386.rpm
Click here to start the download.


Installation

Installation is fairly easy. The source is Gnome compliant and running:

./configure
make
make install
chown 0.0 /usr/local/bin/grave
chmod u+s /usr/local/bin/grave

should do the trick.

If you download the binary rpm, you can just install it using the command:

rpm -i grave-0.4-0.i386.rpm

Please note that grave has to run with root permissions in oder to access the LPT port. If you don't want to set the root suid bit (which in general is a bad thing to do), you will have to start grave as root or use some wrapper (like sudo) to run it.

For more detailed information on building grave and for options to configure please refer to the file INSTALL.


Todo

  • Fix known bugs
  • Edit ID3 tags and write them back to the MP3 file
  • Refresh and sort function for file tree
  • Check for file format before adding song to play list (is it really an MP3 file?)
  • Handling of relative pathnames in play list editor
  • Add GUI components to create, up- and download address and memo entries
  • Disable certain functions while up or downloading files from the player
  • Use ID3 tags to create song name used in RaveMP display
  • Replace gnome_execute_shell for starting the local MP3 player (spaces in filenames are messed up, and root expoit!)
  • Add preferences option for 32 Meg players:
    in ravemp.c:
    #define TOTAL_BLOCKS 4096 /* Appropriate value for a 64MB Players
    #define TOTAL_BLOCKS 2048 /* Appropriate value for a 32MB Player
  • Button to clear log window
  • Allow blocks to be selected in the playlist


Bugs

  • Repeated uploads and removals of files to/from the player seems to leak memory on the player. Doing an 'Initialize' using the windows software cleans up those lost blocks.
  • Sometimes (for big files?) a read error happens during the download. In these cases files seem to get bigger when you download them from the player, sometimes they are smaller. Error message in both cases is 'Download Failure: Bad Block number 65535 [Outside Range 6-4095]'
  • Files containing spaces in the name canr't be played using xmms
  • Players with 32Meg don't work correct.


Troube shooting

  • Player plugged into LPT?
  • LPT port set to 0x378? (or other value set in source code)
  • LPT port mode set to ECP in BIOS? (try BiDir and EPP also)
  • Player powered up? (something shown on LCD display?)
  • Player crashed? (does LCD display respond to buttons?)

NOTE: If you upload junk data as ".mp3", the player simply assumes it's an MP3 file and promptly crashes when you access it (for example by trying to select it using the player controls). If this happens, simply remove the battery for a few seconds and replace it - then delete the file without attempting to access it.


Credits

Special thanks to the people from 'The Snowblind Alliance'. They created 'ravemp', a tiny command line utility interacting with the RaveMP. The part of Grave that deals with the RaveMP is 100% based on this code. Thanks for writing this code and publishing it under a license that allowed me to use it to build Grave.

You can create the original command line utility by running 'make -f Makefile.ravemp' in the src directory. See README.ravemp on notes how to use it.


bb-zone.com
This site is Copyright (c) 2003 by Bodo Bauer. Hosting is provided by SourceForge.net.
All trademarks, service marks, and copyrights are property of their respective owners.
SourceForge.net