Rockbox Technical Forums

Third Party => Other Utilities => Topic started by: H3PO on August 08, 2010, 10:02:45 AM

Title: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: H3PO 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:


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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: slowhand on March 14, 2011, 03:09:22 PM
when i try to upload it tells me they are too old, or something like that.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: H3PO 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
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: audio-i 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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: slowhand on March 15, 2011, 08:08:36 PM
i listened to the tracks the day I tried to upload it
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: audio-i 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?
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: soap on March 18, 2011, 12:14:51 PM
i listened to the tracks the day I tried to upload it
Is your device's clock set correctly?  Double check please.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: slowhand on March 18, 2011, 07:32:18 PM
lol.... it was a year off... Thanks for the help, it works now
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: Tuffdog 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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: soap on May 23, 2011, 06:51:33 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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and 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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and 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.
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and 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
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and 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
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and 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
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: neph on June 02, 2012, 06:18:23 PM
Any news on the Linux port ;) ?
Title: Re: [Last.fm Logging] GUIDE: Easily upload your scrobbler log from any Windows pc
Post by: cs96and on August 13, 2012, 07:36:16 AM
I did take a brief look into it a few weeks ago.  If I remove the windows specific code, it compiles and runs fine, but the auto insert notification doesn't work (that is the windows specific bit).

I need to get my head round D-Bus to get that working.  If anyone knows D-Bus and wants to give me a hand please shout.