LastFM Action Documentation
Not included in WikkaSee also
Development: LastFMAction.
This is the documentation page for the LastFM action, version 1.1.x .Development: LastFMAction.
Documentation
Short description
Embed the widgets of last.fm .Parameters
name | type | required? | default | description |
---|---|---|---|---|
src | chart|radio|plist|quilt | yes | - | Set which widget you want to have displayed. |
user | string | yes | Set which user you want as data source (lastfm-username!). | |
float | left|right | optional | left | Where should your box appear? |
style | red|blue|black|grey | optional | grey | Set the skin of the widgets. |
width | number of pixel | optional | the lastfm proposal | The width of the widget. |
height | number of pixel | optional | the lastfm probosal | The height of the widget. |
size | [small|medium|large] (quilt) [regular|mini] (radio&playlist) | optional | medium regular | Set the widgets size to a lastfm proposal. If you set this, setting of height or width is ignored. |
autostart | true|false | optional | false | Only radio & playlist Set wether the radio should start on load or not. |
orient | hori|vert | optional | vert | Only quilt Choose if you want to have the quilt horizontal or vertical. If you set this, setting of height or width is ignored. |
type | 1) [recently|otracks|oartists|wtracks|wartists] 2) [album|artist] | yes, if src = [chart|quilt] | 1) Only chart Choose which charts the chart-widget should display 2) Only quilt Choose which pix the quilt should display. |
Long description
Embed last.fm widgets into your wiki. May be usefull on UserPages.Usage:
{{lastfm src="chart" user="#####" OPTIONS (see above)}}
Examples:
{{lastfm src="chart" user="testuser" type="oartists" float="left" style="grey" width="184" height="140" }} {{lastfm src="radio" user="testuser" autostart="false" float="right" style="black" size="mini" }} {{lastfm src="plist" user="testuser" autostart="true" float="left" style="red" size="mini" }} {{lastfm src="quilt" user="testuser" type="album|artist" float="right" style="blue" size="large" orient="hori" }}