summaryrefslogtreecommitdiff
path: root/test/audioboom-inspect
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-05-27 14:07:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-05-27 14:07:36 (GMT)
commit84dcb9ecb929843ea4f11e8526d4f5c3fcaed14b (patch)
tree70e251ff3acb257d258e37bd3e34d6ca92d75a20 /test/audioboom-inspect
parentf600f4610368ab30c05d97b0252e47ecf719904d (diff)
actually enable WR importer
Diffstat (limited to 'test/audioboom-inspect')
-rwxr-xr-xtest/audioboom-inspect8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/audioboom-inspect b/test/audioboom-inspect
index 4bca4c9..6e2a0e7 100755
--- a/test/audioboom-inspect
+++ b/test/audioboom-inspect
@@ -62,7 +62,11 @@ for my $clip (@clips) {
$i++;
$sum_title = decode_entities($clip->{title});
- $sum_text = decode_entities($clip->{description});
+ if (defined $clip->{description}) {
+ $sum_text = decode_entities($clip->{description});
+ } else {
+ $sum_text = '<unset>';
+ }
my $orig_uri = $clip->{urls}{high_mp3};
next unless $orig_uri;
@@ -87,7 +91,7 @@ for my $clip (@clips) {
print " Recorded: " . $recorded . "\n";
print " Uploaded: " . $uploaded . "\n";
print " Tags: " . join(", ", @tags) . "\n";
- print " Files:\n 1: (audio/mpeg), " . $size . ") " . $file . "\n";
+ print " Files:\n 1: (audio/mpeg, " . $size . ") " . $file . "\n";
print "\n";
}