PDA

View Full Version : RE: Last.fm webservice released *cross-post from discuss*



Craig, James (IT)
2005-01-15, 02:27
So, I wrote one on Friday afternoon that picks up your LastFM stream.
However I am having great difficulty understanding how one creates a
multi-level plugin menu to support showing the station information and
sending commands.

Can anyone recommend a plugin that does it "right" or perhaps just
simply?

James

-----Original Message-----
From: developers-bounces (AT) lists (DOT) slimdevices.com
[mailto:developers-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Craig,
James (IT)
Sent: 14 January 2005 13:49
To: Slim Devices Developers
Subject: RE: [Developers] Last.fm webservice released *cross-post from
discuss*

A plugin would be much more elegant though especially if supporting
skip/ban from the Squeezebox.
I'd imagine it would be pretty simple - I am tempted to give it a try.


James

-----Original Message-----
From: developers-bounces (AT) lists (DOT) slimdevices.com
[mailto:developers-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Jonathan
Greene
Sent: 14 January 2005 13:45
To: Slim Devices Developers
Subject: Re: [Developers] Last.fm webservice released *cross-post from
discuss*

http://www.last.fm/forum/898/_/16220

Whilst logged in, download http://www.last.fm/iframes/playlist.m3u.
Feed that into your squeezebox. It'll work until you log out, at which
point you'll have to log back in again and re-download the m3u file.



On Jan 13, 2005, at 4:12 PM, Jeremy Baynham wrote:

> I don't know how many of you are familiar with the Last.fm
personalized
> internet radio service, but it is a *good* thing to be sure, but due
> to its
> mode of operation currently not accessible via Slimserver.
>
> I've noticed that they have now announced the availability of a
> webservice to
> allow initiation and control of one of their streams, and idly
> wondered if any
> of our fantasticly talented plugin devs might fancy their chances at
> knocking
> up some sort of interface?
>
> Webservice details are at
> http://www.audioscrobbler.com/development/lastfm-ws.php
>
> Main website is at http://www.last.fm

Dan Sully
2005-01-15, 11:09
* Craig, James (IT) shaped the electrons to say...

>So, I wrote one on Friday afternoon that picks up your LastFM stream.
>However I am having great difficulty understanding how one creates a
>multi-level plugin menu to support showing the station information and
>sending commands.

You might want to look at this perl module, which provides an API:

http://search.cpan.org/~kentaro/WebService-LastFM-0.01/lib/WebService/LastFM.pm

>Can anyone recommend a plugin that does it "right" or perhaps just simply?

Check out the RadioIO, Live365 or Shoutcast modules.. unfortunately none of them are very simple.

-D
--
<noah> the auto mechanic told me there was something wrong with my rear differential.
I told him I never took calculus.