Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
Can you tell us how did you solved, please? See Can I answer my own question?. You can also accept your own answer, but you must wait 48 hours to do so. –  Radu Rădeanu Jun 23 '13 at 21:44

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer

This link 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?

share|improve this answer
    
Thanks for the reply. I get this error:./banshee-lastfm-sync Can't locate Data/Dump.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./banshee-lastfm-sync line 8. BEGIN failed--compilation aborted at ./banshee-lastfm-sync line 8. –  KaptRoger Jun 22 '13 at 21:53
    
Try installing the Data/Dump module from CPAN. –  Twinsen Jun 23 '13 at 1:53
    
Thanks. 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. –  KaptRoger Jun 23 '13 at 20:55
    
Now I just need to know how to use this script. The README is empty and the built in script help is insufficient. :-( –  KaptRoger Jun 23 '13 at 20:56
    
Ok. A bit of playing gives me what it need. The command line "./banshee-lastfm-sync --key=b25b959554ed76058ac220b7b2e0a026 --username=xxxxx --db=/home/xxxxx/.config/banshee-1/banshee.db" worked! The key came from the script. I don't know why it was needed. –  KaptRoger Jun 23 '13 at 21:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.