App-Scrobble

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.03      2013-10-10 22:32:50 Europe/London

- Add namespace::autoclean and __PACKAGE__->meta->make_immutable
- Add support for scrobbling BBC Radio programmes via WWW::BBC::TrackListings

0.02      2013-01-21 22:48:00 Europe/London

- Add debug option
- Handle errors better (exit)
- Add support for configfile-based config options

0.01      2012-03-25 13:59:58 Europe/London

META.yml  view on Meta::CPAN

  Data::Dump: 0
  File::HomeDir: 0
  Module::PluginFinder: 0
  Moose: 0
  Moose::Role: 0
  MooseX::Getopt::Dashes: 0
  MooseX::SimpleConfig: 0
  Net::LastFM::Submission: 0
  WWW::BBC::TrackListings: 0
  WWW::Mixcloud: 0
  namespace::autoclean: 0
  strict: 0
  warnings: 0
resources:
  repository: git://github.com/adamtaylor/App-Scrobble.git
version: 0.03

Makefile.PL  view on Meta::CPAN

    "Data::Dump" => 0,
    "File::HomeDir" => 0,
    "Module::PluginFinder" => 0,
    "Moose" => 0,
    "Moose::Role" => 0,
    "MooseX::Getopt::Dashes" => 0,
    "MooseX::SimpleConfig" => 0,
    "Net::LastFM::Submission" => 0,
    "WWW::BBC::TrackListings" => 0,
    "WWW::Mixcloud" => 0,
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "VERSION" => "0.03",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


lib/App/Scrobble.pm  view on Meta::CPAN

# ABSTRACT: Command line scrobbling app
package App::Scrobble;

use Moose;
use namespace::autoclean;
with 'MooseX::Getopt::Dashes',
     'MooseX::SimpleConfig';

our $VERSION = '0.03'; # VERSION

use Module::PluginFinder;
use Net::LastFM::Submission;
use File::HomeDir;
use Data::Dump qw( pp );

lib/App/Scrobble/Role/WithService.pm  view on Meta::CPAN

# ABSTRACT: Role interface for App::Scrobble::Service classes
package App::Scrobble::Role::WithService;

use Moose::Role;
use namespace::autoclean;

our $VERSION = '0.03'; # VERSION

has 'tracks' => (
    is => 'rw',
    isa => 'ArrayRef',
    default => sub { [] },
    traits  => ['Array'],
    handles => {
        add_track => 'push',

lib/App/Scrobble/Service/BBC.pm  view on Meta::CPAN

# ABSTRACT:
package App::Scrobble::Service::BBC;

use Moose;
use namespace::autoclean;
with 'App::Scrobble::Role::WithService';

use WWW::BBC::TrackListings;

our $VERSION = '0.03'; # VERSION

sub is_plugin_for {
    my $class = shift;
    my $url = shift;

lib/App/Scrobble/Service/Mixcloud.pm  view on Meta::CPAN

# ABSTRACT: Mixcloud plugin
package App::Scrobble::Service::Mixcloud;

use Moose;
use namespace::autoclean;
with 'App::Scrobble::Role::WithService';

use WWW::Mixcloud;

our $VERSION = '0.03'; # VERSION

sub is_plugin_for {
    my $class = shift;
    my $url   = shift;



( run in 0.278 second using v1.01-cache-2.11-cpan-a5abf4f5562 )