Audio::Opusfile::Tags - The tags of an Ogg Opus file
use Audio::Opusfile; my $of = Audio::Opusfile->new_from_file('file.opus'); my $tags = $of->tags; say $tags->query("COMPOSER"); # Composer 1 say $tags->query_count("COMPOSER"); # 3 say join ", ", $tags->query_all("COMPOSER"); # Composer 1, Composer 2, Composer 3
This module represents the tags of an Ogg Opus file. See the documentation of Audio::Opusfile for more information.
Returns the number of values of a tag.
Returns the $indexth value of a tag. If $index is not provided, the first value is returned.
Returns a list of all values of a tag, in order.
Audio::Opusfile, http://opus-codec.org/, http://opus-codec.org/docs/opusfile_api-0.7/index.html
Marius Gavrilescu, <marius@ieval.ro>
Copyright (C) 2016-2017 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.0 or, at your option, any later version of Perl 5 you may have available.
To install Audio::Opusfile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::Opusfile
CPAN shell
perl -MCPAN -e shell install Audio::Opusfile
For more information on module installation, please visit the detailed CPAN module installation guide.