X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=lib%2FApp%2FMPD%2FFeeder%2FCommand.pm;h=5c94a756ceef25e26375a6adb9f2a98405147f94;hb=7c6d525e11f4c624f21de3a2473b734c2bdd7a31;hp=37b8ee18747887dc258dbd1a2e962de530bdac56;hpb=cf42fecf66262360d46ca2d195cffa05464533ac;p=mpd-feeder.git diff --git a/lib/App/MPD/Feeder/Command.pm b/lib/App/MPD/Feeder/Command.pm index 37b8ee1..5c94a75 100644 --- a/lib/App/MPD/Feeder/Command.pm +++ b/lib/App/MPD/Feeder/Command.pm @@ -24,7 +24,7 @@ isa App::MPD::Feeder { die "Missing command arguments\n" unless @args; $self->set_db_needs_update(0); for my $artist (@args) { - if ( $self->db_add_unwanted_artist($artist) ) { + if ( $self->db->add_unwanted_artist($artist) ) { $log->info( "Artist '$artist' added to the unwanted list\n"); } @@ -41,7 +41,7 @@ isa App::MPD::Feeder { die "Missing command arguments\n" unless @args; $self->set_db_needs_update(0); for my $artist (@args) { - if ( $self->db_del_unwanted_artist($artist) ) { + if ( $self->db->del_unwanted_artist($artist) ) { $log->info( "Artist '$artist' deleted from the unwanted list\n"); }