NAME
App::Scrobble::Role::WithService - Role interface for App::Scrobble::Service classes
VERSION
version 0.02
DESCRIPTION
Interface for App::Scrobble::Service::* plugins.
ATTRIBUTES
url
The URL (Str) of the podcast/cloudcast/webpage/whatever to scrobble.
tracks
Arrayref of track data in the form:
{ title => 'foo', artist => 'bar' }
METHODS
is_plugin_for
Will be passed the URL to scrobble and should return a boolean indicating whether this plugin can scrobble this URL.
get_tracks
Should populate the tracks
hashref with the data from the URL. Is expected to return the tracks
hashref.
SEE ALSO
App::Scrobble App::Scrobble::Service::Mixcloud
AUTHOR
Adam Taylor <ajct@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Adam Taylor.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.