0.0
No commit activity in last 3 years
No release in over 3 years
Lastfm plugin for Cinch, featuring mulitple commands. Display recently played tracks, search artists, display top artists/albums/tracks from specified time period, search tags, display profile information, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.6
~> 4.34
~> 0.3
 Project Readme

Last.fm Plugin for Cinch

Lastfm plugin for Cinch, featuring mulitple commands. Display recently played tracks, search artists, display top artists/albums/tracks from specified time period, search tags, display profile information, etc.

Usage

Gem Version

install the gem with gem install cinch-lastfm-ng, and add it to your bot like so:

require 'cinch'
require 'cinch/plugins/lastfm'

bot = Cinch::Bot.new do
  configure do |c|
    c.server = 'your server'
    c.nick = 'your nick'
    c.realname = 'your realname'
    c.user = 'your user'
    c.channels = ['#yourchannel']
    c.plugins.plugins = [Cinch::Plugins::Lastfm]
  end
end

bot.start

Contained Commands

[np (username)] Displays last played track from user's saved username, or specified username.

[(plays|artist) (artistname)] Displays info, and user playcount if played, of specified artist.

[top(artists|tracks|albums) (7d|1m|3m|6m|1y|overall)] Displays user's top artists/tracks/albums from specified period.

[tag (tag)] Displays info about specified tag, if it exists.

[profile (username)] Display user's or specified user's profile information.

[fmset (username)] Store specified username in the database.

[fmget] Displays stored username.

License

Licensed under The MIT License (MIT)

Please see LICENSE