Last.fm Suggests for amaroK

Amarok 1.x Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Description:
About
-----

A script that lets you quickly check what artists are similar to those
that you already have in your playlist. The script uses last.fm's suggestions
feature without making you leave the Amarok interface.

This script will create links directly to the Last.fm page of the artist, and you don't have to be currently listening to anything to query last.fm for similar artists. Also, you can have the script list only artists that are not already in your collection... to make it even easier to find new music.

The default number of links to show is 12, but this can be changed using the configure option in the script manager.


BUGS/TODO
---------

- Recently updated for amarok 1.4.2 probably won't work with the older versions anymore (different database layout)
- Some Non-ascii/Higher-characters wierdness converting from unicode
to whatever encoding the database uses


Installing
----------

Use the built-in script installer for amarok on the tarball.


Requirements
------------

- amaroK
- Python 2.4 or greater
- DCOP Support: Either pydcop or the dcop command line application
- [INCLUDED] scrobxlib: python library for last.fm
- [INCLUDED] amklib: python library for amarok scripts


LICENCE
-------

BSD


NOTE: If you find bugs, please email me. Thanks :-)
Last changelog:

[0.6]
Fixed similar problem from 0.5 for systems that did not have pydcop installed.

[0.5]
Fixed issues with shutting down amarok normally and still getting the crash info dialog. Thanks to everyone who reported the bug!

[0.4]
Fixed crashes where collection db paths & filenames were not matching. Please, please, email me if you experience a crash running this version.

[0.3]
Fixed bug where tracks on "new devices" in the collection could not be found in the collection.


Ratings & Comments

14 Comments

Al-0op

I'm not sure exactly where Amarok downloads it's scripts from but when I tried (several times) to download this script through the Amarok Script Manager via the button, 'Get more scripts' this script always bombed, and never made the suggestions I was hoping for. When I downloaded the script from here and installed it via the Amarok Script Manager button 'install script', it worked. BTW other scripts downloaded through the Amarok Script manager did work. Maybe upload another to them?

RND

I tried to install the new version but amarok said it couldnt read the file. I tried to unpack it but got these errors:: rnd@linux-bkzx:~/downloads> bunzip2 l last.fm-suggests_0.3.amarokscript.tar.bz2 linuxtv-dvb-apps-1.1.0.tar.bz2 rnd@linux-bkzx:~/downloads> bunzip2 last.fm-suggests_0.3.amarokscript.tar.bz2 bunzip2: last.fm-suggests_0.3.amarokscript.tar.bz2 is not a bzip2 file. rnd@linux-bkzx:~/downloads> tar zxfv last.fm-suggests_0.3.amarokscript.tar.bz2 tar: This does not look like a tar archive

phlogistonjohn

Hmmm. That's a new one to me. Have you tried downloading it a 2nd time? It sounds like the file might be corrupted. The correct md5sum is 16f653522a775eafed74561afc0b20b6. If you still have problems please send me an email (its on my profile page).

RND

Yes 2nd dl worked. must have been corrupt.

jel

It's good to see this. I think the feature is supposed to be present in amarok (I filed a wishlist item requesting it ages ago), but even when it got "implemented", it never worked for me, except for seeing that extra little button in the preferences. I ran into some problems with this, though... The tarball is actually a .tar.bz2.gz, and so amarok wouldn't install it. I had to ungzip it, and rename it. Secondly, I'm running amarok 1.4.1, and it complains that I need amarok 1.4 upwards, and so it won't work.

phlogistonjohn

Sorry about that, it should say that it needs 1.4.2 (beta is ok) and up. The devs changed the db table structure for this version which made my old script stop working for me. I've fixed the error message to include the proper version for the script & amarok. I like the built-in suggestions feature, but it doesn't really help when you want info a the song that's not currently playing... plus the script links directly to last.fm, which I use a lot.

bsander

Could you put those suggests on the sidebar (tab current) and automatically update it for each playing track? I like the functionality, but I really like it to be always available (ie without having to issue a command and wait for the results first) Really like it though :)

k0nt3

i've amarok1.3.6 and already shows last.fm suggested groups in the sidebar.. you can find the option in configure->last.fm..

k0nt3

ok... it's quite different! good idea!

phlogistonjohn

Could you tell me what that version does? I only have 1.3.5 on my most up-to-date machine and don't have the time to build a newer one? Is it the same suggested songs feature as in 1.3.5? I don't want to duplicate what the developers are doing if I don't have to. :-)

k0nt3

yes suggests some song you have in your collection! the same as in 1.3.5! however your script is more useful!

phlogistonjohn

I'll look into it, I didn't even know it was possible until yesterday, when I was browsing around this site and saw the smart dj script. I don't know javascript very well so it may take a few releases before it gets in....

blaster999

I like amaroK very much. One of the reasons is that it's very customizeable and extensible thanks to the scripts. Great script! I like it very much. Keep up the great work!

phlogistonjohn

Thank you! I always appreciate feedback. I already found a new bug with artists with xml entities in the url. I will hopefully fix and upload a new version of it sometime this week.

Pling
0 Affiliates
Details
license
version 0.6
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

More Amarok 1.x Scripts from phlogistonjohn:

Amarok-Commonsongs
phlogistonjohn
last update date: 20 years ago

Score 5.0

Amarok Blacklist
phlogistonjohn
last update date: 20 years ago

Score 5.0

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags