This file is indexed.

/usr/bin/metaflac2time is in vclt-tools 0.1.4-4.

This file is owned by root:root, with mode 0o755.

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/perl

#      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2009-2011
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License version 3
#    as published by the Free Software Foundation.
#
#    It is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this software; see the file COPYING.gplv3. If not, write to
#    the Free Software Foundation, 51 Franklin Street, Fifth Floor,
#    Boston, MA 02110-1301, USA.

use strict;

my %info;
my $length;
my ($h, $m, $s);

while (<>) {
 /^\s*(.+?):\s*(\d+)\s+/ or next;
 $info{lc $1} = int $2;
}

#use Data::Dumper;
#print Dumper(\%info);

$length = $info{'total samples'}/$info{'sample_rate'};

$h = int( $length / 3600);
$m = int(($length % 3600) / 60);
$s =      $length - 3600*$h - 60*$m;

printf("LENGTH=%.2i:%.2i:%f\n", $h, $m, $s);
printf("AUDIOINFO=codec:flac rate:%i bits:%i channels:%i\n",
              $info{'sample_rate'}, $info{'bits-per-sample'}, $info{'channels'});

#ll