[RELEASE] Last.FM Playlist Generator Script - Auto Generate Similar Music Playlists

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jw76 Offline
Member
Posts: 72
Joined: Sep 2008
Reputation: 0
Post: #11
hey , great idea. It would be nice to have something similar to this built into the party mode feature . example being, fetch similar /artists/albums/tracks/genres etc from last.fm api , based on current playing track..

From the looks of it, this is a one time playlist generator. Does anyone know if it is possible to run this in the background or daemonize it, so that it is called after each track is played?

Idea being the following .

Code:
while isplayingaudio
     get current trackname, current artistname
     fetch X number of similar tracks from last.fm api based on genre/artist/album
     append results to playlist
find quote
veysey Offline
Junior Member
Posts: 22
Joined: Nov 2009
Reputation: 0
Post: #12
acegutta22 Wrote:it says no result found for me

Try a different song; that happens to me even on stuff that's only moderately obscure. If I seed it with a better known song, it work's fine.
find quote
goggolori Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #13
I used the Windows Mediaportal for a while and really appreciated it to hear music for hours. Mediaportals last.fm plugin automatically searched for the next three songs. If I made changes to the playlist the plug-in recognized that and changed the next music selections.


jw76 Wrote:hey , great idea. It would be nice to have something similar to this built into the party mode feature . example being, fetch similar /artists/albums/tracks/genres etc from last.fm api , based on current playing track..

From the looks of it, this is a one time playlist generator. Does anyone know if it is possible to run this in the background or daemonize it, so that it is called after each track is played?

Idea being the following .

Code:
while isplayingaudio
     get current trackname, current artistname
     fetch X number of similar tracks from last.fm api based on genre/artist/album
     append results to playlist
find quote
ErlendSB Offline
Senior Member
Posts: 163
Joined: Sep 2008
Reputation: 2
Location: Norway
Post: #14
Yes I remember this from Mediaportal too (basically why I started on this script).
Great feature!

There is probably a way to run the script as a background process. If it is, I'll try and modify it.
If someone with greater python-fu than me wants to have a go it, the source is openly available here still:
http://code.google.com/p/lastfmplaylistgenerator/
find quote
bblauritzen Offline
Member
Posts: 83
Joined: Nov 2009
Reputation: 0
Post: #15
jw76 Wrote:hey , great idea. It would be nice to have something similar to this built into the party mode feature . example being, fetch similar /artists/albums/tracks/genres etc from last.fm api , based on current playing track..

From the looks of it, this is a one time playlist generator. Does anyone know if it is possible to run this in the background or daemonize it, so that it is called after each track is played?

Idea being the following .

Code:
while isplayingaudio
     get current trackname, current artistname
     fetch X number of similar tracks from last.fm api based on genre/artist/album
     append results to playlist

+1.

Before getting hooked on XBMC i used MediaMonkey with a similar plugin to play music, its a great way to get out in the dark corners of your music library.
find quote
mortstar Offline
Senior Member
Posts: 245
Joined: Aug 2010
Reputation: 3
Post: #16
ErlendSB Wrote:Yes I remember this from Mediaportal too (basically why I started on this script).
Great feature!

There is probably a way to run the script as a background process. If it is, I'll try and modify it.
If someone with greater python-fu than me wants to have a go it, the source is openly available here still:
http://code.google.com/p/lastfmplaylistgenerator/

Great plugin! I have been missing this from MediaPortal since I switched over to XBMC.

I'd love for this to develop into a similar feature as MediaPortal with the option to choose the number of songs to add to the playlist on each track play and the ability to watch for style drifting (either adding songs to the playlist that are similar to the first track played or adding songs to the playlist that are similar to the currently playing track.)
find quote
ErlendSB Offline
Senior Member
Posts: 163
Joined: Sep 2008
Reputation: 2
Location: Norway
Post: #17
I´ve started on a script like the one you mention.
http://code.google.com/p/lastfmplaylistg...Fpartymode

The script runs in the background when started and waits for a song to start playing.
When playback starts, 3 songs are added to the playlist.
It´s considered beta and probably contains a lot of bugs.
find quote
marcye Offline
Junior Member
Posts: 7
Joined: Sep 2010
Reputation: 0
Post: #18
I get

Code:
13:38:31 T:3380 M:1093042176   ERROR: Package script.lastfmplaylistgenerator.zip is not a valid addon
find quote
ErlendSB Offline
Senior Member
Posts: 163
Joined: Sep 2008
Reputation: 2
Location: Norway
Post: #19
It should be fixed now
find quote
mortstar Offline
Senior Member
Posts: 245
Joined: Aug 2010
Reputation: 3
Post: #20
Gonna try and be a Guinea Pig, I'll report back

OK, I checked out the svn and made a script.lastfm folder with the script contents in my addon folder, but I'm only getting errors. Can you put up a .zip that we can install from that should work?
(This post was last modified: 2011-01-21 00:59 by mortstar.)
find quote
Post Reply