/usr/share/perl5/Audio/File/Ogg/Tag.pm is in libaudio-file-perl 0.11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | package Audio::File::Ogg::Tag;
use strict;
use warnings;
use base qw( Audio::File::Tag );
use Ogg::Vorbis::Header::PurePerl;
our $VERSION = '0.02';
sub init {
my $self = shift;
$self->{ogg} = Ogg::Vorbis::Header::PurePerl->new( $self->{filename} ) or return;
$self->title( $self->{ogg}->comment('title') );
$self->artist( $self->{ogg}->comment('artist') );
$self->album( $self->{ogg}->comment('album') );
$self->comment( $self->{ogg}->comment('comment') );
$self->genre( $self->{ogg}->comment('genre') );
$self->year( $self->{ogg}->comment('date') );
$self->track( $self->{ogg}->comment('tracknumber') );
$self->total( $self->{ogg}->comment('tracktotal') );
return 1;
}
1;
|