Vibezscrobbler

Current Version: 0.2

The Vibezscrobbler is an offline audioscrobbler for the Trekstor Vibez DAP.

Changelog:
Some minor changes, according to the latest update of Gunter Ohrners It’sGotTheVibez

How it works:

The first time you run the Scrobbler nothing will be submitted. The Software connects to your Vibez and fetches the information for every audio file on the device. A Collection file will be created. The Vibez keeps the number of times played and a timestamp of the last play time for every entry in the database. The next time you run the Scrobbler, it will compare the database on the device with your local Collection file and the different tracks will be submitted to last.fm. After successful submission the local Collection file will be updated.

Download:
- binary
- source

The program is command-line only. Unfortunately if you run Windows XP with Media Player 10 or above, the Vibez will be mounted as MTP Device, therefore the .private-folder can’t be found, which is necessary for the program to work. Riovolution.org provides a small tutorial to change the MTP-mode to MSC. However go to your console and call the software this way:

java -jar vibezscrobbler.jar <parameters>
-f     Location of the database file, i.e. g:\.private\smalldb
       OR /media/music/.private/smalldb
-u     Last.fm Username
-p     Last.fm Password

optional parameters:

-r     Resync your local collection
-d     Test run, does everything as normal, except
       several additional output will be created

A possible session could look like this:

java -jar vibezscrobbler.jar -f g:\.private\smalldb -u username -p password

Troubleshooting:

There are without much doubt bugs in the software, at least in the database reading routine. But I can’t yet determine all of them as long as the software works proper for me. So if you experience some problems feel free to leave a comment or send me an email at emgehdev@gmail.com.

There seems to be a problem with the Vibez’ updating his own database. If the Vibez is running while connecting to USB the database seems to be still used be the Vibez itself. Therefore the program can’t work correctly. One solution is to unplug the Vibez and wait until the internal database is updated and then plug in again. The Vibezscrobbler should now work properly.

Credits:

The following software is used in the program:
- Karmascrobbler (http://www.gnurou.org/code/karmascrobbler)
- XStream (http://xstream.codehaus.org)

And special thanks to Gunter Ohrner for his work with the Vibez database.

Gunter Ohrners It’sGotTheVibez

This software is distributed under the GNU General Public License.

1 Comment Add your own

  • 1. Elmar Klaus  |  March 28th, 2008 at 10:04 pm

    First of all, thank you. The program works fine. I’m using it on Ubuntu 7.10.
    Only problem I had was that my tags are encoded in UTF-8. So I added a parameter that allows you to change the encoding used and changed the code accordingly.

    Please let me know if you are interested in the changes.

    Thanks, Elmar

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed