Hi,
Last.fm has an API which provides you with means of getting a similar track like the one that is already playing.
http://www.last.fm/api/show/track.getSimilar
I think it would be very neat to use this when global random is enabled...
Gr,S
by elangelo » 15 Dec 2014, 17:56
by ACX » 16 Dec 2014, 02:11
by elangelo » 16 Dec 2014, 08:07
by ACX » 16 Dec 2014, 14:22
by elangelo » 16 Dec 2014, 14:54
by jason_a69 » 25 May 2015, 10:54
by jason_a69 » 25 May 2015, 14:15
jason_a69 wrote:This script here does what you need (I think!)
http://mpd.wikia.com/wiki/Hack:lastfmpdqc
by ACX » 25 May 2015, 16:41
jason_a69 wrote:http://mpd.wikia.com/wiki/Client:Playlistbuilder
by jason_a69 » 25 May 2015, 20:11
ACX wrote:jason_a69 wrote:http://mpd.wikia.com/wiki/Client:Playlistbuilder
Sorry but adding a new dependency (Ruby) just for a feature isn't a great idea... unless somebody wants to try to convert it in PHP and see how it works.
by jason_a69 » 11 Jun 2015, 11:42
jason_a69 wrote:ACX wrote:jason_a69 wrote:http://mpd.wikia.com/wiki/Client:Playlistbuilder
Sorry but adding a new dependency (Ruby) just for a feature isn't a great idea... unless somebody wants to try to convert it in PHP and see how it works.
I will see if I can get it going, it's just another call to ws.audioscrobbler.com with method track.getsimilar and then some local checks to see if the track returned is in mpd, if it is then add it to the playlist.
I do not know much about git and php development, I will have to do some research.
support RuneAudio