Bot::BasicBot::Pluggable::Module::Spotify - Show relevant information when a Spotify URI is detected in a channel
Simply load this plugin in your
Bot::BasicBot::Pluggable-based IRC bot.
When someone writes a Spotify URI in an IRC channel,
the plugin does a lookup for that URI and shows back the relevant information.
<user1> check out this song, man! spotify:track:7sOBuRK26Ov7CR5fRSR7Om <bot> spotify:track:7sOBuRK26Ov7CR5fRSR7Om -> Track: Surf Rider - LP Version, \ Album: Surf Rider!, Artist: The Lively Ones <user2> i know that one, me <3
Returns the string sent to the channel when someone asks the bot
Listens for every message in the channel and detects Spotify URIs. If the URIs are valid, a lookup is performed and the relevant information are sent back in the channel.
Extracts the Spotify URIs from the message, performs the lookup using Net::Spotify and extracts the relevant information from the XML response. The message sent back in the channel is formatted depending on the URI type.
<edoardo at cpan.org>
Please report any bugs or feature requests to
bug-bot-basicbot-pluggable-module-spotify at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Bot-BasicBot-Pluggable-Module-Spotify. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
This product uses a SPOTIFY API but is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trademark of the Spotify Group.
Copyright 2010 Edoardo Sabadelli, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.