package RPS::Import::Merlin::v29;

use strict;

use lib '/app/tools/data_classes/lib';
use Client::Service;

use lib '/app/tools/common/lib';
use Common::Date;

use lib '/app/tools/rps/lib';
use RPS::Import::ServiceMap;
use base 'RPS::Import::Importer';

use Data::Dumper;

sub _headerIdentifier { ( upc => 'upc' ) }

sub _fieldMap {
    {
        # Data
        labelName    => 'H',
        countryCode  => 'C',
        dateBegin    => 'A',
        dateEnd      => 'B',
        artistName   => 'J',
        upc          => 'F',
        isrc         => 'G',
        trackName    => 'K',
        units        => 'L',
        currencyCode => 'D',
        price        => 'P',
    };
}

sub productType { return RPS::File::Sale::TYPE_TRACK; }
sub formatType  { return RPS::File::Sale::FORMAT_STREAM; }
sub mediaType   { return RPS::DB::Item::MediaType::kMediaTypeVideo }

###
1;    # Play nicely.
###
