File: asdump

package info (click to toggle)
arename 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,112 kB
  • sloc: perl: 640; sh: 585; makefile: 147
file content (14 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
# This one is a trivial data dumping utility, for looking at what data
# structures Audio::Scan is throwing at us. Distributed under the same
# terms as `arename' itself.  Note, that this is not indented as an
# end-user program. Its usage is simple, though:
#    % perl asdump /path/to/foo.mp3
use warnings;
use strict;
use Data::Dumper;
use Audio::Scan;
$Data::Dumper::Indent = 3;
local $ENV{AUDIO_SCAN_NO_ARTWORK} = 1;
my $dat = Audio::Scan->scan($ARGV[0]);
print Dumper($dat);