This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Smart Playlist - from last.fm tags

Tags: None
(comma "," separated)
DavidV
Registered Member
Posts
4
Karma
0

Smart Playlist - from last.fm tags

Thu Jun 01, 2006 9:24 am
I'm aching for some open source programming work, and I've noticed that there is no feature yet in amaroK that loads playlists from last.fm based on tags. For example, if you search last.fm for tag "belgian", you get a lot of artists, top tracks and top albums: http://www.last.fm/tag/belgian

Wouldn't it be cool if you could just create playlists on the fly using one or more tags, and then amaroK loads these from last.fm, searching your collection for what you have? Or is there similar functionality already integrated in amaroK?

If there's none, maybe someone can point me to some source files I'll probably need to check out, just some pointers to get me started coding?
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
Seb Ruiz is planning on working on this. We XSPF support now, so with the LastFM script its already possible to do what your saying non-automatically. It worked surprisingly well.

http://www.sebruiz.net/126


Amarok Developer
DavidV
Registered Member
Posts
4
Karma
0
Awww, too bad / Yay, rock on!

Now I need to find something else ;)
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
I meant for you to get in contact with Seb, not to crush your development. :P

He is out of the country until the 8th though.


Amarok Developer
Aaron Cooper
Registered Member
Posts
104
Karma
0
This is something I would REALLY love!  It would motivate me to work on my Last.fm tags - and if you could do that from within amaroK that would be even cooler!

Another bonus would be the new smartplaylists we could make and searching the Collection or Playlist areas for tags.  From my experience you need to have a column displayed in the playlist area in order to search for terms in that column.  The tags should be implemented so they can be searched any time, without the "Tags" column shown (maybe that's obvious, but I thought I'd say it anyways =D ).
User avatar
sebr
Moderator
Posts
301
Karma
0
Yeah, i'd like to start on this stuff soon.
yohannmartineau
Registered Member
Posts
2
Karma
0
hello,

when we use amarok, how is the next song chosen ?
I don't know exactly what xspf can perform, is it directly integrated in this format ? or with its content resolver ?

I am looking for the algorithm that is used while using amarok.

Thanks
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
The next song is the next song in the playlist...

I don't think thats what you were asking though. You'll have to be more specific. :)


Amarok Developer
latengoyo
Registered Member
Posts
2
Karma
0
I made a script which imports tags from last.fm to amarok playlists...

2 issues:

- first, there are some character encodings problems (is there any way to send the sql query in utf-8???)
- second, it seems that 1.4.2 stores relative paths in the databse, so the script onlty works with version<1.4.1... (how can i get the absolute path of a file?!?!?!?)
latengoyo
Registered Member
Posts
2
Karma
0
i didn't put the url to the script  :p

http://www.kde-look.org/content/show.php?content=44547


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]