Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Third Party
| |-+  Other Utilities
| | |-+  [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« previous next »
  • Print
Pages: [1] 2

Author Topic: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc  (Read 30387 times)

Offline H3PO

  • Member
  • *
  • Posts: 5
[Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« on: August 08, 2010, 10:02:45 AM »
Hi there,
I just put together some files that I put on my player so everytime I plug it into a windows machine, I can upload my scrobbler log to last.fm. It works only if you use your player in MSC mode. Here is what you need:

  • Some Player with Rockbox, having the scrobbler log enabled
      (Currently you can do this via Settings - Playback Settings - Last.fm Log - Yes)
      Rockbox will then keep a list of all played tracks in the storage root, the file is called .scrobbler.log

  • A Windows machine with internet connection

  • Some utility which can upload the log to the last.fm website - I use QTScrobbler because it is the only utility that supports both Windows and the new protocol version 1.2 which allows scrobbling files in between the existing entries on your account - for example if you've been playing files on your pc and on your player at the same time. Download the newest scrobble-cli version for win32. (Currently version 0.10). Put the scrobble-cli-x.xx.exe in the root of your player's storage.

  • Your last.fm username and the password in MD5-hash format. Convert your plaintext password into MD5 with a utility like this. Qtscrobbler would also accept the password in plaintext, but this would mean your password is stored unencrypted in a file on your player. An MD5 hashed password looks like this: df5ea29924d39c3be8785734f13169c6.

  • A batch file that runs the Qtscrobbler with the necessary parameters if you click it. Right-Click in the storage folder of your player and choose 'New - Text Document' and name it something like "scrobble.bat".
    Then put the following text into the bat file (Edit it with Notepad):
    Quote
    .\scrobble-cli-0.10.exe -u Your_username -5 Your_MD5-hashed-password -l .\.scrobbler.log


This is it. Now if you plug in your player and open its folder, you double click the scrobble.bat file and it uploads the scrobbler log automatically to last.fm, if there is an internet connection.

You could also make an autostart.inf file that runs the bat file automatically when you plug in your player. This will work only on Windows machines with an operating system older than Windows 7 and only if there is no Antivirus program blocking the Autostart. The file would have to look like this:
Quote
[autorun]
OPEN=scrobble.bat

Have fun scrobbling and if there are any problems, please ask. Note: don't post your original md5-hashed password here. Replace some characters with *** or something like that. Include the error message if the batch file shows any.
« Last Edit: August 08, 2010, 10:08:26 AM by H3PO »
Logged

Offline slowhand

  • Member
  • *
  • Posts: 19
  • Clapton is god
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #1 on: March 14, 2011, 03:09:22 PM »
when i try to upload it tells me they are too old, or something like that.
Logged

Offline H3PO

  • Member
  • *
  • Posts: 5
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #2 on: March 14, 2011, 08:01:51 PM »
well then, i guess you have no problem understanding that error message ;)
lastfm does some filtering on the submitted entries so people don't fake the entries and such
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #3 on: March 14, 2011, 11:24:12 PM »
last.fm only accepts scrobbles about one month old. QTscrobbler allows either to remove the older scrobbles before submitting, or to adjust all scrobbles dates so the none shows a date older than one month, and in that way submit all of your scrobbles. After the scrobbles are submitted, it's a good idea to remove the .scrobbler file manually from the root of your device, in case it's still present after the process.
Logged

Offline slowhand

  • Member
  • *
  • Posts: 19
  • Clapton is god
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #4 on: March 15, 2011, 08:08:36 PM »
i listened to the tracks the day I tried to upload it
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #5 on: March 15, 2011, 10:02:00 PM »
Can you upload somewhere the .scrobbler file that is on your device, to give it a look?
« Last Edit: March 16, 2011, 12:27:16 AM by audio-i »
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #6 on: March 18, 2011, 12:14:51 PM »
Quote from: slowhand on March 15, 2011, 08:08:36 PM
i listened to the tracks the day I tried to upload it
Is your device's clock set correctly?  Double check please.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline slowhand

  • Member
  • *
  • Posts: 19
  • Clapton is god
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #7 on: March 18, 2011, 07:32:18 PM »
lol.... it was a year off... Thanks for the help, it works now
Logged

Offline Tuffdog

  • Member
  • *
  • Posts: 9
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #8 on: May 11, 2011, 01:12:28 AM »
I am having trouble getting it to work, it says file parsing error everytime i tell it to open the .bat file and the scrobbler file, that or it freezes up.  I think it is either what i typed or where i have the files (all in the main directory of my Sansa Fuze v1).

Post Merge: May 11, 2011, 01:35:01 AM
Never mind, i just used http://scroblr.net/ instead to upload the whole file, i think it worked but only a few songs were logged.
« Last Edit: May 11, 2011, 01:35:01 AM by Tuffdog »
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #9 on: May 23, 2011, 06:51:33 AM »
Quote from: Tuffdog on May 11, 2011, 01:12:28 AM
Never mind, i just used http://scroblr.net/ instead to upload the whole file, i think it worked but only a few songs were logged.
Can I safely assume only the most recent ones actually show up on Last.FM?

Not to be pedantic, but if only a few songs were logged (show up in the scrobber log Rockbox creates) that is a bug we care about and would like to investigate, but if only a few of the logged songs show up on Last.FM that is likely to be expected for a variety of reasons.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #10 on: November 21, 2011, 11:41:44 AM »
I have just released a new open source utility called RockScrobbler.  It sits in your system tray and monitors for any new drives that are inserted.  If it finds a .scrobble.log on any inserted drive, it automatically submits the information to last.fm (using the new XML REST API).

You can download it, and the source code from here.  It is licensed under GPL v3.
https://bitbucket.org/cs96and/rockscrobbler/downloads

It's Windows only at the moment, but I am planning on porting to Linux at some point.  It uses the QT tool kit so should be relatively easy to do.  I just neeed to re-implement the drive insertion notification part, which uses windows specific code at the moment.

If you spot any bugs or have any feature requests, please post them to the "Issues" page on the bitbucket site.
« Last Edit: November 22, 2011, 02:16:40 PM by cs96and »
Logged

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #11 on: November 22, 2011, 02:16:16 PM »
I have found a problem with RockScrobbler when installed on machines without QT in the path.  This prevents the icon from displaying in the system tray.

I have released a new version which fixes this.
https://bitbucket.org/cs96and/rockscrobbler/downloads

You will have to uninstall the previous version first because the original version was installed with the wrong version number.
« Last Edit: November 22, 2011, 03:01:08 PM by cs96and »
Logged

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #12 on: January 17, 2012, 09:53:38 AM »
RockScrobbler v0.3 released.  Nothing major, just a recompile against QT v4.8.0


https://bitbucket.org/cs96and/rockscrobbler/downloads
Logged

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #13 on: February 02, 2012, 10:04:31 AM »
RockScrobbler v0.4 released.  This release fixes an issue (caused by the upgrade to QT 4.8.0) which prevented any tracks from being submitted  >:(

https://bitbucket.org/cs96and/rockscrobbler/downloads
Logged

Offline cs96and

  • Member
  • *
  • Posts: 31
Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
« Reply #14 on: February 08, 2012, 05:25:59 AM »
Rockscrobbler 0.5 released which fixes an issue when submitting more than 50 tracks

https://bitbucket.org/cs96and/rockscrobbler/downloads
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Third Party
| |-+  Other Utilities
| | |-+  [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.152 seconds with 21 queries.