mwphoto said the following on 02/22/2006 06:21 PM: > Ok, > > I've just added some support for this. It required some change around > so here's the rundown: > > 1) I reorganised SlimScrobbler on sourceforge so it contains the > SlimScrobbler plugin and LastFM. > > 2) I patched LastFM to have the necessary fix to work with the current > version of SlimScrobbler. > > 3) added functionality to LastFM to accept CLI commands. > > With these changes you can use the command line interface to issue > commands like: > > play_lastFM_station /user/mwphoto/neighbours > > and it does what you expect. > > This is the only supported command so far (others could be added but > this seemed like all that's needed for now). > > The final step (not yet complete) is to write a small script that takes > the 'lastfm://' url and then connects with the CLI to issue the play > command. Combined with Robin's info about Firefox protocols this should > do the job.
Malcolm, Thamks for doing this. One thought: would it be easier to simply launch a URL? For example, the URL to play a LastFM station is something like: http://slimserver:9000/plugins/LastFM/index.html?lastfm=playlfm&lastfmp1=user%2Frobinbowes%2Floved&player=00%3A04%3A20%3A06%3A3e%3A20 Perhaps the launch script should simply construct a similar URL? The script would need to know: slimserver url: http://slimserver:9000 LastFM user: robinbowes (optional?) player: (00%3A04%3A20%3A06%3A3e%3A20) The LastFM station would be parsed from the lastfm:// protocol link, e.g. lastfm://user/robinbowes/loved would become: LastFM station: user%2Frobinbowes%2Floved What do you think? R. _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
