Question: How would I download play counts from Last FM to my Banshee 2.6.1 on Ubuntu 13.04 installation?

I know that the there is a banshe-lastfm-sync-master script on github, but I can't get it to work.

Can any one advise how the play counts can be obtained?

Answer: 
This was solved by the following steps:

Googled "install module cpan". 

Followed instructions to install "cpan App::cpanminus". 

Then installed modules using "cpanm Module::Name" by running the banhsee script, and catching the errors for each missing module.

Then used the script like this:

```
./banshee-lastfm-sync --key=b25b959554ed76058ac220b7b2e0a026 --username=xxxxx --db=/home/xxxxx/.config/banshee-1/banshee.db" 

```

The key came from the script. I don't know why it was needed.
[This link](https://github.com/psychonaut/banshe-lastfm-sync/blob/master/banshee-lastfm-sync) contains the script that you talked about. I don't know if it works anymore, it's a little outdated (from 2012/07/08), but you can try running it. Do you have Perl installed on your system?