ScrobRhapsody plug-in

An alternative plug-in for the Rhapsody version 4 client software which does not depend on the RSS feeds. ScrobRhapsody scrobbles using the Last.fm ScrobSub library. Requires the latest official Last.fm software to be installed.

Download

Rhapsody Plugin Information

Plugin available here.

Rhapsody Plugin Development Ideas

The Rhapsody player keeps all of its user-specific information in a file called local.seb.

It is in the directory C:\Documents and Settings\user\Application Data\Real\Rhapsody where user is your username.

Upon opening this file in an editor, it can be recognized as a SQLite database. Using the command line tool on http://www.sqlite.org , one can examine the user-specific information. http://sqlitebrowser.sourceforge.net/ has a GUI tool, just be sure to use version 1.1 since this is a version 2.x SQLite database.

It is possible to read the currently running playlist. (There are free tools on the website to do this programmatically, too.)

This SQL command is what can be used:

select track.* from track join playlist_track on (track.track_id = playlist_track.track_id and playlist_id=1);

Playlist ID 1 is the "Now Playing" playlist.

To poke around in the database, just keep doing

.tables
.output filename
.dump tablename

in the tool.

It should be possible to make a scrobbler by using the SQLite API and querying this database's Now Playing list periodically. The play count (and last played timestamp, in local time) is updated 30 seconds after a track starts playing. So it wouldn't be possible to abide by the protocol rule that songs are registered after 50% play time or 240 seconds, but the scrobbler could still function correctly otherwise.

RhapsodyQueryingSampleCode