Rockbox Technical Forums
Third Party => Other Utilities => Topic started by: cs96and on November 21, 2011, 11:47:26 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.
Can someone update this wiki page please?
http://www.rockbox.org/wiki/LastFMLog
Post Merge: November 22, 2011, 07:36:10 AM
I see someone has updated the wiki, thanks.
However, most of the information in the grid is wrong. Can someone please change it to the following...
License: GPL
Windows: Yes, all other platforms No
Web: No
Gui: Yes
CLI: No
Timeless Support: No
Protocol 1.2: No
Protocol 2.0: Yes
Version 1.1 Log: Yes
Multiple site submission: No idea what this is, so I'm guessing No.
-
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.
-
This looks interesting!
I look forward to trying it out.
Thanks.
-
That looks interesting.
I don't use last.fm, but if you found the time and liked my suggestion, perhaps you could look to implementing this:
Rock Remover - (any name would do) An icon that appears in your tray and allows you to just click it to "safely remove the MP3 player". Yes, in Windows this is already there (but that's at least 2 clicks), but strangely enough, there's no super simple way to do this in Linux. I use a combo of gPodder and puddletag. After finishing with puddletag, I have to open a nautilus window and unmount the MP3 player (also two clicks). A one click icon would be so much quicker (morning rush) and it's appearance would also quickly show that the MP3 Player is connected.
You could just add this feature to your utility and allow the last.fm option to be switched off with a toggle. What do you think?
-
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 Angry
https://bitbucket.org/cs96and/rockscrobbler/downloads
From now on, I will just only information about any new releases to this thread...
http://forums.rockbox.org/index.php/topic,25454.0.html
-
Rockscrobbler 0.5 released which fixes an issue when submitting more than 50 tracks
https://bitbucket.org/cs96and/rockscrobbler/downloads
-
RockScrobbler v0.6 released. This has a much improved login/logout screen which displays the user's avatar when logged in. It also fixes the multiple balloon popup issue when scrobbling more than 50 tracks.
https://bitbucket.org/cs96and/rockscrobbler/downloads
-
Rock Scrobbler v0.7 released which fixes an issue when scrobbling track or artist names containing a '+' character. This version also allows you to display your last.fm avatar as the system tray icon.
https://bitbucket.org/cs96and/rockscrobbler/downloads
-
hi there,
this tool is great!
any chance you could include syncing the playcount in the database to the last fm playcount?
cheers
-
You mean the database on the device? I'm not sure I think that is a good idea. If you listen to a track on another device (e.g. your computer), your last.fm play count will increase. Why should that affect the play count on your rock box device?
-
i would just like to keep the playcounts syncronized over my devices ;-) my foobar installation for example syncronizes its playcount with lastFM like that. while it transmits the currently playing song to lastFM, it pulls the alltime playcount for that song from lastFM and updates it locally. just thought it might be a nice feature. that way if i happen to have to rebuild the library on my rockbox i wouldn't have to start all over with the playcounts.
-
Your program is very very nice, the only thing i'm a little concerned with is that it searches for .scrobbler.log in root directory but on my player (samsung yp-r0) rockbox lives in \.rockbox dir (i think it's not the only case here), so i would be glad if program did check automatically for .scrobbler.log in that dir too. Thank you in advance)
-
Rockbox is in ".rockbox", yes, but the .scrobbler.log file should be written to the root of the player, regardless.
-
Rockbox is in ".rockbox", yes, but the .scrobbler.log file should be written to the root of the player, regardless.
Then i guess it's my player build problem and rockbox_log is written to the root, so i guess there is no actual problem to write something to the root.
-
In case you aren't following the BitBucket page, RockScrobbler is now up to v0.8.1, which uses a better installer, and fixes an issue with the timestamps of submitted tracks.
BTW, if anyone has any D-Bus experience and wants to help getting the Linux port running, please get in touch.
-
v0.10 is now out. This is just upgrades the version of QT to v5.0.2
-
OK I'm using Rock Scrobbler for quite a while and it works great, but today I run into the problem as such:
.scrobbler file wasn't being deleted for some reason, I still don't know why, but well in result I've got from 2 to 10 copies of one scrobble until I've noticed it, huge job was to clear all this mess :(
Well it would be great if there would be prevention mechanism for situations as such, my first suggestion would be to display distinct warning/error message box about file not being deleted.
Edit: Btw the fact that .scrobbler.log isn't being deleted is your bug sadly. My player mounts it's own storage and SD card simultaneously so while scrobbling for player is being done m_currentScrobbleFile already becomes empty because of checking of it's existence on SD, so it finally ends up not being removed.
-
Thanks for the bug report. This is now fixed in v0.12
https://bitbucket.org/cs96and/rockscrobbler/issue/6/scrobblerlog-isnt-being-removed
https://bitbucket.org/cs96and/rockscrobbler/downloads
-
Thank you for fixing it fast)
-
I can't start Rock Scrobbler. First, the problem was there were some missing dll files (msvcr100 i msvcp100), but when I downloaded them, the Scrobbler crashes with "The application was unable to start correctly" error message.
-
Which version are you running? RockScrobbler requires MSVCP120.dll / MSVCR120.dll, not MSVCP100.dll / MSVCR100.dll. As the RockScrobbler home page states, you must install the Visual C++ 2013 runtime., which can be downloaded from here...
http://www.microsoft.com/en-gb/download/details.aspx?id=40784.
Click "Download" then select vcredist_x86.exe
Also, please submit any further problems on the RockScrobbler BitBucket issues page
https://bitbucket.org/cs96and/rockscrobbler/issues
-
I've been using Rock Scrobbler for a while now, but lately it has been ignoring all the tracks it should have been scrobbling. Help?
-
Me too... no more scrobbles lately, the log says something about timeless format.