[%- pagetitle = 'PLUGIN_LASTFM_MODULE_NAME' | string; pageicon = 'RADIO' -%] [%- pwd_list = BLOCK -%] / [% "PLUGIN_LASTFM_MODULE_NAME" | string %] / Help [% END -%] [%- pageHeaderInfo = BLOCK %] [% END -%] [%- PROCESS pageheader.html %]

LastFM Help

Configuration

Configuration options are found in Server Settings / Internet Radio
If you do not have the SlimScrobbler plugin installed, enter your LastFM username and password. If you do have it installed, the logins as configured for SlimScrobbler will be used by default. (This behaviour can be changed with the 'Use SlimScrobbler login' setting).

Usage

There are two ways to control the LastFM music; From the player itself, or from the SlimServer web interface. The Web interface offers features that are not available from the player interface, such as editing your favourite stations, track artwork and a recently played history.

From the player

The LastFM menu can be found within the Internet Radio menu by default.
When entering the menu without LastFM playing, the list of favourite stations is shown. (The default is the last station you listened to.)
Press play to start playing the displayed station or use the arrow keys to move between the available stations. When playback is started the display will change to 'waiting for track details' and LastFM playback will start (this can take up to 30 seconds).
The track details should be updated within 60 seconds of the music starting.
While playing, the display is shows the name of the track playing on the bottom line, and the station name on the top right.
Options to send the LastFM commands are now available from the menu, as well as a sub menu to change stations.

From the web interface

Operation from the web interface is very similar to the player. Make sure that you have the correct player selected in your interface, and then enter the LastFM plugin page found in the Internet Radio section (in the drop-down box in some skins). Select a station to start playback.
Once playback has started, the track and station details are shown, along with artwork and recently played tracks (depending on configuration) and the LastFM commands are available.

Stations

Your saved favourite stations are available to choose from in both interfaces.
Your own user's stations are always available so do not need to be saved.
The SlimScrobbler group station is added automatically on installation.
When playing additional stations are automatically generated, such as similar artists to those recently played, or a feed from the current user or group.

Stations can be entered, saved and deleted only in the web interface.
Enter a station address in the blank text box and then either play it (click the play icon) or add to saved stations (hit enter or click the add button).
Saved user stations (e.g. user/craigjam) automatically generate all of the options such as recommended or neighbours (and personal and loved for subscribers).
Use the play button alongside saved stations to play, or remove with the delete button. Use the 'add' button alongside automatically generated stations to save them permanently.

Station Addresses

Enter stations into the interface formatted like this:
You can copy station addresses from the LastFM web page (use 'copy link location' in Firefox) into the plugin.The lastfm:// prefix will be automatically removed.
You can preface the station addresses with a 'nickname' which will be displayed rather than the full station name. Separate the nickname and the station address with a semi-colon e.g.
"like Beck & Boo Radleys;artists/1001148,1001741,3325,956,1001286,711,1035181,58,2138580..."

Remote Shortcuts

You can use the following commands in the SlimServer remote map file to direct access LastFM actions: See the SlimServer technical information for more details of changing the remote map file.

Redirect lastfm:// links to SlimServer

REQUIREMENTS


To make the radio links playable you need to
For the following I will use the following attributes:
Note: you can use wperl.exe (this does not open a command line window so you don't get the brief 'black box on screen' that you would with perl.exe).

FIREFOX

Fire up firefox and browse to about:config
in the main pane right click "New String"
Create a string network.protocol-handler.app.lastfm = $PERLEXE$ $LASTFMDIR$\playStation.pl

WINDOWS

You need to make some changes in the registry to make the protocol work in particular you need to add LastFM to the HKEY_CLASSES_ROOT. The structure of the entries is as follows

[HKEY_CLASSES_ROOT\lastfm]
(Default) = "LastFM protocol"
"URL Protocol" = ""

[HKEY_CLASSES_ROOT\lastfm\DefaultIcon]
(Default)="Notepad.exe"

[HKEY_CLASSES_ROOT\lastfm\shell]

[HKEY_CLASSES_ROOT\lastfm\shell\open]

[HKEY_CLASSES_ROOT\lastfm\shell\open\command]
(Default)="$PERLEXE$ \"$LASTFMDIR$\\playStation.pl\" \"$SERVERHOST$\" \"$WEBPORT$\" \"%1\""

If you have more than one player, add the name of the player you want to use to the end of that last property; for example:

"$PERLEXE$ \"$LASTFMDIR$\\playStation.pl\" \"$SERVERHOST$\" \"$WEBPORT$\" \"%1\" \"Study\""

After all that restart firefox and click on a radio link. It should throw up a prompt to confirm you want to launch the program - say yes. Slim server should start playing the stream.

External Links

Last.FM
SlimScrobbler Home Page
James Craig's plugin page

[% PROCESS pagefooter.html %]