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.

I would like sync my loved songs on last.fm with the corresponding songs in Rhythmbox by giving them a particular rating in Rhythmbox. How can I do this?

This is possible for other players.

share|improve this question

2 Answers 2

As far as I know, you cannot do this. The last.fm/libre.fm plug-in in Rhythmbox doesn't really know anything about what songs you have 'loved' on last.fm, or whether they relate to any songs in your local Rhythmbox library at all.

It would take a significant amount of development work I think, to implement this feature, and get it right. You should file a bug against upstream Rhythmbox though, at https://bugzilla.gnome.org/browse.cgi?product=rhythmbox .

share|improve this answer
    
It turns out it is possible. –  N.N. Nov 23 '12 at 6:29
up vote 2 down vote accepted

This is possible by using rb-mergeplays by lachlan. To give your loved songs on Last.fm five stars (in rating) in Rhythmbox do as follows:

  • Download lastexport.py and rate5loved.py
  • Then do as the README says:

    • Pull your loved tracks with lastexport:

      python ./lastexport.py -u your_lastfm_username -t loved -o loved.txt
      
    • Merge with database:

      python ./rate5loved.py loved.txt
      

    Note that you need to replace your_lastfm_username with your Last.fm user name. Also note that you need to cd to the directory where the scripts are before you execute them.

share|improve this answer
    
While this works, it requires manual intervention. Any time you 'love' a new song on last.fm that is in your local library, you will have to re-export/import the ratings for all songs. Hopefully someone has filed a feature request to make syncing local ratings and last.fm 'loved' songs automatic in Rhythmbox. –  dobey Nov 23 '12 at 16:19

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.