mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-30 07:21:12 -05:00
47 lines
2.0 KiB
Markdown
47 lines
2.0 KiB
Markdown
supybot-lastfm (GLolol's fork)
|
||
==============
|
||
|
||
[](https://travis-ci.org/GLolol/supybot-lastfm)
|
||
A plugin for Supybot that displays various information about LastFM IDs on IRC.
|
||
|
||
**This version of the plugin depends on Beautiful Soup 4 and lxml for parsing! (This may change in the future).**
|
||
|
||
### Changes made in this fork:
|
||
|
||
- Native Python 3 support.
|
||
- Code cleanup (use Supybot's built in URL fetcher instead of urllib/urllib2).
|
||
- Bug fixes.
|
||
|
||
A full list of changes can be found [here](https://github.com/GLolol/supybot-lastfm/compare/krf:master...devel).
|
||
|
||
### Support
|
||
You may find me on IRC at `irc.overdrive.pw #dev` ([webchat](http://webchat.overdrive.pw/?channels=dev)).
|
||
|
||
Feel free to suggest enhancements on the [issue tracker](https://github.com/GLolol/supybot-lastfm/issues); pull requests are welcome.
|
||
|
||
### Usage
|
||
|
||
Showing now playing information:
|
||
```
|
||
[09:53:33] $np
|
||
[09:53:34] KRF listened to “Behind Closed Doors” by Rise Against [The Sufferer & The Witness] more than 1 days ago
|
||
```
|
||
|
||
Showing profile information:
|
||
```
|
||
[09:53:36] $profile
|
||
[09:53:37] KRF (realname: Kevin Funk) registered on May 28, 2006; 23 years old / m; Country: Germany; Tracks played: 32870
|
||
```
|
||
|
||
Showing recent tracks:
|
||
```
|
||
[10:29:16] $lastfm recenttracks
|
||
[10:29:17] KRF’s recenttracks: Zebrahead – The Set-Up, Good Charlotte – Girls & Boys, The All-American Rejects – Another Heart Calls, Angels & Airwaves – Do It For Me Now, Bowling For Soup – The Bitch Song, Yellowcard – Down On My Head, Sum 41 – Confusion And Frustration In Modern Times, Sum 41 – With Me, Goldfinger – Bro, The Offspring – Americana (with a total number of 11 entries)
|
||
```
|
||
|
||
Showing help:
|
||
```
|
||
[10:28:29] $help lastfm
|
||
[10:28:29] (lastfm method [id]) — Lists LastFM info where method is in [friends, neighbours, profile, recenttracks, tags, topalbums, topartists, toptracks]. Set your LastFM ID with the set method (default is your current nick) or specify id to switch for one call.
|
||
```
|