Google Play/Music with Last.fm
If you haven’t experienced it yet, Google Music Beta is pretty awesome and was recently released to an undisclosed number of people as a trial beta period. Happy enough, I was one of those who got an early beta invitation and started developing scripts right away. One of the features I find crucial in any music players is the ability to Last.fm Scrobble, and thus the reason for this script. So here you have it, brand new and released a couple days into the Google Music Beta. Keep in mind this is a growing project, and will grow with the same feature list on my Amazon Cloud Player Last.fm version.
Software Requirements
- Operating System: Windows, Mac, or Linux
- Browser: Firefox 3+ with Greasemonkey, or Google Chrome
Installation Directions
- If you’re using Firefox you’ll fist need to install Greasemonkey if you haven’t already. If you’re using Google Chrome you’re already set.
- Download/Install my script* into Greasemonkey or Chrome by following the simple prompts (You may need to restart your browser!).
- Go to your Google Music Player.
- In the top right next to Settings, Sign out, and Help you should now see “Last.fm Requires Authentication.” Click on this and grant access to my script to Scrobble for you from Last.fm. You should then be redirected back to your Google Music Player.
- You’re done! Enjoy.
* In Downloading and/or Installing my script you agree to its Privacy Notice and Terms of Use.
Sponsor Future Development
Future Improvements
Have an idea? Post a comment below.
- The option for thumbs up clicks to represent a “love” on Last.fm, with the option to turn this feature off.
- Support for Safari and Opera
Change Log
May 14, 2012
- Rolled back the source code to November’s version as it seems the March-May version of the code has a bug I haven’t been able to fix. Until I have a working solution do keep in mind the script will no longer scrobble what album you’re listening to, or allow you to listen to the same song on repeat. I plan on having most of this back in place (after a full re-write) in the next few weeks. If the November script seems to be causing any issues please let me know.
May 12, 2012
- Fixed a bug where songs would stop scrobbling once the album changed for some people. If your player is still having issues with this let me know. (Thank you Daniel)
March 18, 2012
- You can now listen to a single song on repeat until your heart explodes with joy and the script will Scrobble every listen.
- Scrobbling albums now works much better and doesn’t require the script to navigate to the album page on load, but may cause performance issues. In the event you’re experiencing performance issues I’ve added an option in the settings pane to turn off album Scrobbling. Personally with 1335 tracks I’m not seeing any issues in either Firefox or Chrome, but there could be some if you were near the 20,000 maximum. If you are someone who is seeing performance issues please do let me know so I can work with you to get a better optimized release in the future.
March 6, 2012
- Added play.google.com to the list of domains/websites the script runs on, fixing the new update from “Google Music” to “Google Play.” This will require you to update the script to the latest client from this project page. (Thank you Blake)
November 28, 2011
- The new Google+ strip caused display issues for people without Google+ accounts. This bug has been fixed and everyone without a Google+ account should now be able to scrobble and/or authorize their account again.
November 23, 2011
- Google updated the top strip to match the Google+ layout with a black background. I’ve updated the color of the Last.fm text to contrast and match the rest of the Google+ color scheme so the text is readable again. (Thank you Shawn B and Jacob G)
October 7, 2011
- Fixed a bug in Firefox/Greasemonkey where the script would not load the first time you logged into Google Music Beta. Firefox users will need to re-download the script from this project page and install it for the bug to be fixed. Chrome users need not update to the new client script. (Thank you Josh and Nick)
September 28, 2011
- Corrected a compatibility issue which caused the script to fail at loading in Firefox 3.5/3.6 with older versions of Greasemonkey. (Thank you Marcos and Holly)
September 27, 2011
- Changed the way album data is stored locally to optimize the script for users with tens-of-thousands of songs.
September 26, 2011
- Updated the client script to run over HTTPS properly in newer versions of Greasemonkey/Firefox. This change will not require Chrome users to update their script, but it will not hurt if they do. (Thank you Josh)
- Updated the server script to run the Scrobbling commands over whatever HTTP/HTTPS you have accessed Google Music from instead of defaulting to HTTP. This was only causing an issue for some Chrome/Firefox users who typed in “HTTPS” when accessing their Google Music Players. (Thank you Josh and Chris)
September 24, 2011
- Adding Scrobbling of album name. Yay!
- Fixed a bug where multiple Scrobbles could occur in a row under very rare circumstances.
- Increased the speed in which the script looks up rather you’ve previously loved the song by 20x (now 1/4 of a second).
- My server no longer acts as a proxy for Scrobbles, Loves, or Play data allowing for your Last.fm to get updated even faster, and my server not to crash from the large quantity of unexpected users.
July 31, 2011
- Added a “Super Secret Awesomely Helpful Setting” for anyone who has donated towards the efforts of the script’s development. What is the Super Secret Awesomely Helpful Setting? Well, I can assure you it’s very fancy, but telling you wouldn’t make it Super Secret or Awesome would it?
July 28, 2011
- Fixed a bug causing duplicate scrobbling issues, and server slowdown. I’m sorry for anyone who was affected by this. (Thank you Mike)
July 27, 2011
- Added a long awaited settings drop-down menu! Hooray!
- Added “When to Scrobble” as a setting which allows you to specify when during the song it Scrobbles. Defaults to 50%, and has the options: 50, 60, 70, 80, 90.
- Added “Scrobbling: Yes/No” as a setting which allows you to stop Scrobbling until you re-enable it.
- Added the ability to un-authenticate your Last.fm account with the script in the event you want to change it, or for whatever reason.
- Added helpful links to: Donate (hint hint), Contact me (email), Project’s Homepage, and Terms of Service.
- Have other awesome ideas for additional settings? Yes? Well, then try out the “Contact me” link.
June 9, 2011
- Fixed a bug where “Loving” tracks didn’t work sometimes. (Thank you Caleb)
- Fixed a bug where songs or artists containing special characters wouldn’t Scrobble. (Thank you Bryan, Caleb)
- Fixed a bug where the non-existing album art (see: Future Improvements) was pushing to Last.fm as “null” and messing up statistics. Now the album title just isn’t provided, and no statistics on album listens are recorded. Hopefully I’ll find a solution to this soon. (Thank you Doug)
Requirements for a Scrobble
Because I know someone is going to ask, I’m going to put this here. These are the requirements set forth by Last.fm when posting to their servers with a Scrobble. If you don’t see your song marked as being played right away, it’s probably because you haven’t listened to it long enough.
A track should only be scrobbled when the following conditions have been met:
- The track must be longer than 30 seconds.
- And the track has been played for at least half its duration, or for 4 minutes (whichever occurs earlier.)
January 4th, 2012 at 9:39 pm
When will support the Opera?
January 8th, 2012 at 2:46 pm
Hey den. I’m currently in the process of getting all of the bugs worked out in the Firefox and Chrome versions, but will hopefully support Opera and Safari in the near future.
January 2nd, 2012 at 9:11 pm
Does this queue tracks if I’m offline?
January 8th, 2012 at 2:48 pm
No, it does not. The script sends a request/update to Last.fm immediately while listening to a song. If your computer cannot connect to Last.fm and their API to update a scrobble then it will fail. Just out of curiosity, does Google Music Player even work if you’re offline?
January 1st, 2012 at 1:47 pm
Thank you so much! This is amazing
December 23rd, 2011 at 11:42 am
Even works in Safari using NinjaKit (http://d.hatena.ne.jp/os0x/20100612/1276330696)
You ROCK. Thanks
December 16th, 2011 at 6:19 am
Sir, you are a hero. That is all.
December 15th, 2011 at 11:22 am
dont know what happened with my other reply, but anyways.
i think ive found the problem. noscript was stopping audioscrobble.com, and now it seems to be working properly. sorry to have bothered you with my stupid problem.
great script =)
December 11th, 2011 at 6:48 pm
Thanks for your work on this! It functions beautifully!
December 10th, 2011 at 5:54 am
hey!
just installed this, and it says its scrobbling, but i cant see the songs in last.fm. any idea why? do they perhaps take a while to show up?
December 12th, 2011 at 5:33 am
There are a couple possible reasons why this isn’t working correctly:
1. If you’re using Firefox the Greasemonkey add-on may have turned itself off. To check to make sure this is still enabled go to “Tools > Greasemonkey” and make sure “Enabled” has a check mark next to it.
2. If you’re using Chrome you may have another script installed, written by Adam Pash, which has my script included in it. In this event the script will show up and look like it is working, but it has conflicts trying to post to Last.fm. Please make sure you only have one Last.fm/Google Music script installed through your add-ons in Chrome.
If neither of those two problems seem to be the issue please let me know.
December 13th, 2011 at 7:08 am
no greasemonkey is still enabled. i see the script and everything. (firefox)
however, it seems ive managed to scrobble a couple of songs. but it seems it doesnt always scrobble =/.
sorry i cant be more helpful. any kind of info or logs you need?
December 13th, 2011 at 7:31 am
i can mention that i often get a broken heart saying “last.fm reported an error (track not found)”.
December 13th, 2011 at 7:40 am
Are the songs that you’re listening to over 30 seconds long? Last.fm wont accept scrobbling of songs less than 30 seconds in length, and the play duration must be of at least 50% (or whatever you have the setting set to) for it to play.
The yellow heart will show up just indicating that Last.fm couldn’t find the exact song title/album, and that you cannot “Love” the track. However, it should still scrobble even with a yellow heart.
December 15th, 2011 at 3:37 am
yup, very few songs that are 30secs or shorter.
i have it set to 50%, but like i said it seems its very few songs that are actually scrobbled =/.
December 8th, 2011 at 4:53 pm
Just wanted to tell you I love this script. Google needs to hire YOU!
December 8th, 2011 at 7:58 am
Well played, sir. Well played. I especially appreciate the detailed privacy notice.
December 6th, 2011 at 12:34 pm
I know it’s not supported, but FYI, this used to work for me in fluid, but I tried it on another Mac and it doesn’t anymore. Maybe it’s because it doesn’t work with GreaseKit, but does with the built in userscripts in fluid. I think maybe I used to have a version that allowed userscripts, but now you have to pay, so I guess I’m out of luck.
December 2nd, 2011 at 3:14 am
Thanks man, I really appreciate your hard work, loving the extension! Kudos to you!
November 28th, 2011 at 3:36 am
fantastic – been hoping someone would cook this up. thanks!!!
November 24th, 2011 at 8:42 pm
Any news on support for Opera?
November 28th, 2011 at 5:53 am
Hello poprace, As of right now there isn’t an Opera version of this script, but I will let you know when one created.
November 24th, 2011 at 2:32 pm
Thanks! This is awesome!!!
November 23rd, 2011 at 10:17 am
I’m also having the same double scrobbling issue. I thought at first it was because it was scrobbling at 50%, and again at 100%, so I changed it to 60% track duration, but now it seems that it’s scrobbling every 4 minutes in longer songs. This seems to be the same problem as ssk2 has. I’ve been manually deleting the second scrobble so you won’t find this issue visible on my last.fm page ( http://www.last.fm/user/oruwu/tracks )
(Using Chrome, Win 7)
November 28th, 2011 at 5:58 am
Hello David, Does it only appear to be double scrobbling with songs that are longer than 4 minutes, or shorter songs too? Last.fm Scrobble rules require the song to scrobble no earlier than 1/2 the songs duration or 4 minutes (whichever one comes first). So that would explain why the script would scrobble at 4 minutes in a, say, 30 minute song. However, it shouldn’t be double scrobbling. If it is because the song is longer than 4 minutes you may have just found a bug and I will need to look into it. However if short songs are also double scrobbling then that probably isn’t the culprit. Please let me know as soon as you can.
November 23rd, 2011 at 8:22 am
Trying out the script, but I am unable to click on the “… requires authentication” link. It is there, but clicking it doesn’t do anything. I’m rocking out on Firefox 8.0.1, WinXp and the latest Greasemonkey (0.9.13). I did turn off all other add-ons to see if one was causing the issue, but the same thing happened. Thanks in advance.
November 23rd, 2011 at 8:31 am
This may be a related bug to a similar issue with a new update Google just released today/yesterday which included the new top-bar matching the rest of Google. I am currently looking into that bug, but just our of curiosity does your “Last.fm Requires Authentication” link show up in the black bar, or in the dropdown when you click on your name within the black bar? Here is a screen shot of the two possibilities it could be: http://screencast.com/t/J601nEHuCXb
November 23rd, 2011 at 9:38 am
I am having the same problem. The last.fm link appears in the dropdown menu. I believe this may be due to the fact that I don’t have G+.
November 28th, 2011 at 5:55 am
Hello jaccarmac, I believe I’ve fixed the issue you are experiencing with not having a G+ account. Could you re-install the script and let me know if that fixes it?
November 23rd, 2011 at 5:05 am
Great script, thanks! I’ve noticed a bug though – I’m using Chromium and it’s double scrobbling everything I listen to.
http://www.last.fm/user/ssk2
November 23rd, 2011 at 5:38 am
It looks like the album art on those duplicate scrobbles are different. My script would only be sending one album data set to Last.fm, and thus there would only be one image. Are you sure you do not have any other Last.fm scripts installed which would be scrobbling from your Google Music Player along with mine?
November 23rd, 2011 at 12:54 am
It doesn’t work at all here (Firefox 8.0 Linux, Greasemonkey 0.9.13). My upper right of the music window looks different from your screen shot, there is no email address but my name displayed, see this screenshot:
http://bayimg.com/HALkFAaDa
November 23rd, 2011 at 5:34 am
Google just changed their top-navigation strip to match their new scheme. It looks like the problem with yours is you’re not using Google+ with your Google account, and the script cannot figure out where to put the Last.fm plugin. I will look into this within the next week and I’ll let you know what I find out.
November 23rd, 2011 at 5:49 am
Indeed, when I click my name I get the last.fm link but I cannot click it, it does not respond, see here:
http://bayimg.com/dALlfAADA
November 22nd, 2011 at 7:14 pm
Hey, awesome stuff. Just a heads up that the new G+ theme made the top navigation bar black, so your little top-right drop-down is now very hard to see.
November 23rd, 2011 at 5:31 am
Thank you for letting me know! I’ve just updated the script to use a lighter color like the rest of Google Music Beta’s top strip. If you restart your browser you should now see the updates change. If you have any other questions please do let me know.
November 22nd, 2011 at 6:45 am
Works great in Safari (5.1.1) using the NinjaKit extension (0.8.4):
http://d.hatena.ne.jp/os0x/20100612/1276330696
November 21st, 2011 at 3:56 pm
I’m confused as to whether album names should be scrobbling? They’re not at the moment for me. Or is this something you’re still working on?
November 22nd, 2011 at 6:06 am
Hello Michael,
Some album names wont scrobble. The way the script scrobbles them is based on the album image, which is the only way in Google Music’s source code I could find anything to do with the album title. Sadly, this isn’t 100% accurate and seems to only catch about 2/3rds of my album data. This is on my list to continue digging through their source code in hopes to find a better solutions.
Thank you,
Daniel Slaughter
November 19th, 2011 at 11:43 am
Great work, works perfectly in chrome
November 18th, 2011 at 3:02 pm
Any chance for the source code? I’m making a GM desktop app for my own personal use and would love to gain the functionality of scrobbling.
November 21st, 2011 at 6:57 am
I apologize but at this time the source code is not publicly available. If you are interested in making a GM script using Last.fm there are Last.fm JavaScript libraries available such as this one: https://github.com/fxb/javascript-last.fm-api
If you need any help with general questions about Last.fm or Google Music Beta’s source code I would be happy to help guide you in the right direction.
November 16th, 2011 at 8:16 pm
Woops. Nevermind, Google Music coming out of beta didn’t break scrobbles. It just doesn’t show the current scrobbling song at the moment but it still scrobbles though.
November 17th, 2011 at 5:16 am
Mine seems to be working fully, including showing the current scrobbling song. Is your player still not showing “Now Playing…” correctly?
November 16th, 2011 at 8:05 pm
Broken after Google Music was released out of Beta stage.
November 12th, 2011 at 7:41 am
daniel, first of all this script is awesome. It is working great for me on chrome but on firefox v8 i m having an issue where when this script is installed and google music is playing then all firefox tabs/windows become very laggy and unresponsive. i have found diabling javascript in the browser options and then re-enabling it will get rid of the lag but it also stops your script from functioning and then i have to refresh google music to get the script working again. from there i get the lagging problem once i start playing again. any idea what could be causing this?
November 13th, 2011 at 8:07 pm
Hello Dana,
I have tested the script on both Windows 7 and Mac 10.6.8 in Firefox 8.0 with no lag issues. Could it be possible you have another script in stalled which is causing lag? When the player becomes unresponsive does it at least let you play a few songs before that happens, or is it immediately after playing one?
It may also have a correlation with the number of albums you have, as the script keeps track of all of them to update Last.fm of which album a particular song came from. How many albums do you have uploaded to your Google Music Player?
Thank you,
Daniel Slaughter
February 2nd, 2012 at 3:57 pm
daniel,
so i m still having the same problem with firefox. as to your questions: i don t have any other scripts installed / google music keeps playing fine i just can t use the browser for anything else after playing a song as it becomes too slow and laggy to even scroll / and i have quite a few albums uploaded to google music around 2500 but that doesn t seem to have any effect in chrome. also i have the same problem on 2 different computers both are now running firefox 10 with windows 7 pro 1 is a laptop onx64 and one is a desktop on x86. each has 8gb of ram roughly 3ghz processors most current version of java etc. each works fine with chrome and like i said firefox technically works it just slows scrolling and cursor and overall lags when browsing pages while this script is enabled and google music is playing.
February 7th, 2012 at 5:20 am
Hello Dana,
I’m pretty sure it’s your 2500 albums. The way the script is set up is it stores the albums in temporary memory on your computer, and with that many albums you’re probably experiencing high laggyness as Firefox doesn’t handle memory allocations as well as Chrome does. It is my intention to find a better solution to storing album data, but as of date I have not found one. I will let you know when I do. Until then I would suggest disabling the script in Firefox and only using it in Chrome.
Thank you,
Daniel Slaughter
November 2nd, 2011 at 5:16 pm
Thank you for all your hard work! Works fine on Chrome however I can’t seem to get it to work under Firefox 3.6. I have the most updated version of Greasemonkey. I’ve installed the extension twice and when I go to Music Beta, I don’t see the little last.fm icon on the page. I’ve even tried signing out of Google and logging back in.
November 3rd, 2011 at 4:49 am
Hello Jordan, There is a bug in the newest version of Greasemonkey 0.9.12 which prevents the script from working on older versions of Firefox (3.X). I would suggest either upgrading Firefox to version 7.0.1 or downgrading Greasemonkey to the last release 0.9.11: https://addons.mozilla.org/firefox/downloads/file/131143/greasemonkey-0.9.11-fx.xpi?src=version-history
November 11th, 2011 at 4:54 pm
Ah, that did it. Works like a charm! I’m really pleased with the plugin now that I can access it on all browsers. I’ve also decided to donate. Thank you!
October 28th, 2011 at 2:23 pm
Daniel,
Awesome user script! Thanks so much
October 27th, 2011 at 10:08 am
Songs don’t seem to be scrobbling today, is there a log file or some other way to check for errors? Thanks.
October 28th, 2011 at 5:06 am
Hello Larry,
Scrobbling seems to be working for me today and yesterday. However, the most common issue which prevents scrobbling is if you have both my script installed from this project’s page and a plugin written by Adam Pash called “Google Plus for Google Music” which incorporates my script. When both of these scripts are enabled my script is then running twice and it causes an issue preventing it from scrobbling. If that’s not the issue though I would suggest restarting your browser. If that still doesn’t solve it let me know as there may be something else wrong.
Thank you,
Daniel Slaughter
November 8th, 2011 at 10:22 am
Hey Daniel – finally got back to listening via G Music today. No scrobbling still.
I am not running Adam’s script, but I am on the Chrome dev channel which I suppose might be important. I also have adblock plus, facebook disconnect and fittr flickr.
I played a CD using Media Monkey today and it scrobbled OK, so I know the basic connectivity is there.
October 26th, 2011 at 5:10 am
Hi Daniel,
I still like your plugin and I’m still having problems with unrecognized album titles. Is there any way to debug this problem?
October 28th, 2011 at 5:09 am
Not to worry as I still have this bug on my list and am trying to find better solutions at grabbing the current song’s album data. As of date there isn’t a good way to do this from Google Music, and the methods I am using do not work for all albums. From what I’ve noticed it works for about 3/4 of songs. Just out of curiosity, do the albums that do not scrobble have album art on Google Music Player?
October 28th, 2011 at 5:22 am
Yes, they do have album art.
October 22nd, 2011 at 2:11 am
Thanks for awesome plugin! However, it only scrobble once when I play a song as one song repeat mode. I’m using Google Chrome stable version and Win7 64bit.
October 24th, 2011 at 4:22 am
Hello, The reason for this is the script had a bug a while back which caused songs to get scrobbled multiple times. I put a check in to place to make sure it wouldn’t scrobble the same song more than once, causing this issue. I will look into incorporating the ability to scrobble the same song when in a loop more than once in the future, but it will need extensive testing before releasing it.
October 21st, 2011 at 9:59 pm
Multiple successive plays of a song does not register.
(I play a song 5 times, last.fm shows it as only 1)
October 21st, 2011 at 3:57 am
Hi, I’ve just downloaded greasemonkey and your script today. I can see the “lastfm Requires autentification”, but nothing happens when i click on it. The script shows itself as activated on the page. I’m running firefox 7.0.1. Thanks a lot!
October 21st, 2011 at 11:31 am
Hello Fabrice,
I will spend some time this weekend trying to diagnose why this may be. I will let you know if I find anything out.
Thank you,
Daniel Slaughter
October 24th, 2011 at 4:24 am
Hello Fabrice,
Are you still experiencing this issue? You may need to refresh your Music Player before attempting it again.
Thank you,
Daniel Slaughter
October 21st, 2011 at 2:40 am
Your last.fm menu isn’t showing up on the google music page. Is this because im currently uploading music to google music?
It was showing up when I wasn’t uploading music.
October 21st, 2011 at 2:45 am
Using chrome btw.
October 21st, 2011 at 11:32 am
Hello Pies,
It shouldn’t have anything to do with uploading music. I recently released an update and will need to test it a little more in Chrome to see if I can reproduce what you’re seeing. I will let you know if I find anything out.
Thank you,
Daniel Slaughter
October 21st, 2011 at 4:14 pm
The dropdown menu shows up now, but scrobbles don’t seem to register, may be due to the last.fm server failure though.
October 21st, 2011 at 7:23 pm
Scrobbling now works.
October 19th, 2011 at 3:25 pm
Thanks for doing this. I’ve been using your script today, but for some reason every play is scrobbling twice. Do you know why that might be?
October 19th, 2011 at 6:35 pm
Hello Matt,
I have no heard of anyone reporting this issue with my script yet, however this may still present an issue as Google did recently change their top navigation which could be causing some issues. In the past when people have reported this they have discovered it was due to another Last.fm scrobbler script installed, or an extension written by Adam Pash for Chrome called “Music Plus for Google Music” which includes a copy of my script. If you just so happen to have Adams script and mine installed you may see duplicate scrobblings, or no scrobblings at all. To help you better diagnose this I would need to know the following:
1. What browser (Firefox, Chrome) and version are you using?
2. If you are using Firefox what version of Greasemonkey are you using?
3. What Operating System (Windows, Mac) and version are you using?
4. What other extensions do you have installed?
Thank you,
Daniel Slaughter
October 19th, 2011 at 1:30 pm
Hey Daniel,
thank you for such an awesome plugin. I tried it yesterday for the first time and everything works as expected. THUMBSUP!
But a funny thing happened today. The navigation bar of Google Music changed so it fits other Google services. Unfortunately that moved your last.fm container, see screenshot
Just wanted to let you know. It is still working, just hovering above the Add Music button makes it look misplaced
October 19th, 2011 at 1:36 pm
Hello Josh,
Thank you so much for letting me know! I just noticed they updated mine too, however it isn’t in the same spot as on yours. I will hopefully get a fix in for this as quickly as I can, but it may be a day or two as I’m working on a project for a class. I will let you know the moment I have something in place.
Thank you,
Daniel Slaughter
October 19th, 2011 at 2:18 pm
Glad I could help, take your time
October 19th, 2011 at 6:30 pm
It should be all fixed and located up in the header strip again. However, there may be a few ugly cosmetic issues (such as the separator bar) that I will need to address at a later date. But until then it is functional and working properly on my end. If you could confirm this is the case I would appreciate it.
October 20th, 2011 at 1:50 pm
Yep, looking good
Thanks for the quick fix!
October 18th, 2011 at 7:37 am
Would it be possible to get this added to the official Chrome Extensions library?
Sorry if this question has already been asked. I didn’t see it.
October 12th, 2011 at 4:49 am
I have a small feature request. Can you write a quick version checker that checks the current version against the latest version you have posted? I don’t know what you could do to symbolize it. Perhaps change the triangle to red so we know to pull down the menu and update the script.
October 13th, 2011 at 5:50 am
The script is actually equipped with the ability to prompt users for mandatory updates, but you are correct in that there is no way for it to notify people of optional ones. I will work on putting something like this into place before the next release. Thank you for the suggestion!
October 12th, 2011 at 4:47 am
Working perfectly on Chrome! You are freakin’ awesome, man! Thank you so much for this. I’m unlocking that Super Secret Setting as soon as I solve some issues with my PayPal account.
And seriously, you rock!
October 13th, 2011 at 5:51 am
Thank you! If there are any features you’d like to see in the future just let me know.
October 10th, 2011 at 7:49 am
Thank you for writing and releasing this!
October 7th, 2011 at 8:44 am
You’re awesome for making this. Thanks!
October 7th, 2011 at 7:45 am
Not sure if anyone else noted this, but I found a weird issue that I hadn’t noticed before. When I first load into Google Music, the script never works. However, if I refresh the page, the script pulls up the menu and scrobbles just fine.
Also, big thanks for the album update for those of us with larger music collections. This script runs much smoother now.
October 7th, 2011 at 8:12 am
Hello Josh,
Thank you for reporting this. I am aware of the issue and it is my highest priority to get fixed. It appears as though it is a problem with Firefox and not Chrome, and as you’ve discovered only when you first login to your Google Music Player. I have spent some time diagnosing the cause but have yet to come up with a solution. I will let you know the moment I have a fix in place.
Also, I’m glad the album update is running better for your now. I apologize for the inconvenience this had caused.
Thank you,
Daniel Slaughter
October 7th, 2011 at 9:14 am
Hello Josh,
Good news! I’ve managed to get a fix in place to prevent this bug. You’ll need to re-download the new script, version 10/7/2011, to see the changes. Thank you again for reporting this problem. If you do continue to experience issues please let me know.
Thank you,
Daniel Slaughter
October 10th, 2011 at 10:14 am
Thanks a lot, again! You’re awesome. What was causing this, if you don’t mind me asking? Seemed like an odd bug to me.
October 10th, 2011 at 10:22 am
You’re welcome.
Basically it had something to do with this reported bug in Greasemonkey which was preventing the script from loading based on the way Google’s login authenticate redirected. I ended up having to add a Greasemonkey attribute to the meta data which told the script to load before the page loaded instead of after as default (run-at document-start).
October 5th, 2011 at 5:29 am
Hey Shad,
I’ve installed your script, restarted my browser, and I cannot get the last.fm authenticate button to show up. I’ve double checked and the script is running for sure but nothing is showing up. I’m running Firefox 7.0.1, Greasemonkey 0.9.11, and Ubuntu 10.04. Thanks,
Darren
October 5th, 2011 at 5:42 am
Hello Darren,
I’m not entirely sure what could be the issue. I’m running Firefox 7.0.1 and Greasemonkey 0.9.11 as well, but on a Mac, and it seems to be working fine. There are two reasons why you may be having issues:
1. A few people have had issues with the newer versions of Greasemonkey disabling themselves. Although the scripts are installed correctly, the little monkey face is greyed out and isn’t allowing scripts to run. To double check that Greasemonkey is enabled go to Tools > Greasemonkey and make sure there is a check mark next to “Enabled.” If this is the case and it still does not work please do let me know.
2. Sometimes (such as when you first login to your Google Music Beta or restart your browser) the plugin doesn’t show up on the first load (it’s a bug I’m still looking into). So, you may need to simply refresh your browser window the moment you do login to Google Music Beta for it to show up.
Please do let me know if that solves it, or if it does not.
Thank you,
Daniel Slaughter
September 28th, 2011 at 1:43 pm
I recently started having issues with Chrome (not sure which extension is causing the problems). So, in an effort to test my extensions, I’m disabling them and re-enabling them one-by-one.
However, when I disable your Last.fm extension for Google Music, it still appears on the webpage. I’ve also uninstalled the extension and the Last.fm link still appears.
I don’t have any issues with your extension, but I’d like to cross it off the list of problem extensions if I can. Do you know how I might be able to fully un-install the extension, just for testing purposes?
September 28th, 2011 at 3:09 pm
Hello Shad,
It could be possible that you have both my script installed from this project page, as well as a script created by an individual named “Adam Pash” which comes bundled with my script called “Music Plus for Google Music.” If both of these scripts were installed you would see my script showing up. Also, usually if both scripts are installed your Scrobbling will not work properly, so I would suggest uninstalling (or just disabling) my stand-alone script and using Music Plus for Google Music by Adam Pash if you use the other script features.
If that isn’t the problem do let me know as I would like to help you figure out the culprit for your slowdown.
Thank you,
Daniel Slaughter
September 28th, 2011 at 10:27 am
Stopped working for Firefox 3.5 with Greasemonkey 0.8.20100408.6…
September 28th, 2011 at 3:11 pm
Thank you for reporting this! I will attempt to get it working as quickly as I can in your browser. I am working on it tonight so hopefully I will have a solution within a few hours. I apologize for any inconvenience this may have caused.
September 28th, 2011 at 3:49 pm
Fixed! Can you check the new script and let me know if it now works in Firefox 3.5?
September 28th, 2011 at 9:16 am
Songs under 30 seconds aren’t being scrobbled. :[
http://www.last.fm/music/Agoraphobic+Nosebleed/Altered+States+of+America Out of 99 tracks, only track 1, 59, 73 and 76 were scrobbled. Play counts suggest this is a fairly common thing for scrobblers. Is this an API limitation?
Thanks!
September 28th, 2011 at 9:22 am
Hello Derrick,
The Last.fm API requires that only songs greater than 30 seconds be Scrobbled. For more information see “When is a scrobble a scrobble?” in the FAQ of Last.fm’s API: http://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble
September 28th, 2011 at 8:35 am
the script hasn’t worked for me at all since all the changes were made this week. I’ve tried just about everything suggested – uninstalled and reinstalled both Greasemonkey and the script, and neither http: or https: work. it’s not showing up at all. I am using Firefox 3.6.6 (stuck on a work machine I can’t update) so I am wondering if that could be the issue? I miss my scrobbling!
September 28th, 2011 at 8:57 am
Hello holly, I’m sorry you’re having issues. I will install Firefox 3.6.6 and get it working in that browser sometime in the next week. I’ll let you know the moment I do!
September 28th, 2011 at 3:49 pm
Fixed! Can you check the new script and let me know if it now works in Firefox 3.6.6?
September 28th, 2011 at 7:10 am
It seems as if my comment was lost…so here it is again:
I’m using the latest version of your script and really love it. But it still doesn’t scrobble any album information for me. I listened to some R.E.M. tracks today and as you can see in my Last.fm profile (MisterGumby) the album information is missing (should be ‘Fables of the Reconstruction). Any ideas?
September 28th, 2011 at 7:20 am
It wasn’t lost, I just have to approve each comment as I get an overwhelming amount of spam.
I’m not sure why that album isn’t scrobbling properly. Have you had any luck scrobbling any other album? I’ll add a debug option in the next few days to hopefully figure out why your album is failing being published. In your comment you mentioned the album title is: ‘Fables of the Reconstruction. Is this including the ‘? If so, that may not be being recognized as a valid album by Last.fm. I’ll let you know the moment I have a debug option in place for us to look at what may be going on.
September 28th, 2011 at 10:25 pm
No the ‘ is not part of the album title. And yes, it works right now for Genesis’ A Trick of the Tail. So I’ll monitor my scrobbles for a while if the problem occurs just with R.E.M. albums
September 28th, 2011 at 5:28 am
I really love your script but…where are the albums. I’m using the latest version of your script and just listening to R.E.M.’s Fables of the Reconstruction. As you can see on my Last.fm profile (MisterGumby) the album information is somehow lost.
September 28th, 2011 at 7:11 am
Sorry, it wasn’t lost. It is/was awaiting moderation…