summaryrefslogtreecommitdiff
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
parentf600f4610368ab30c05d97b0252e47ecf719904d (diff)
actually enable WR importer
-rw-r--r--Makefile2
-rwxr-xr-xtest/audioboom-inspect8
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fa5654f..31ac2ae 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ endif
.PHONY: clean distclean
EXECUTABLE := rhautoimport
-IMPORTER := btl dn nw oi rs ra tr
+IMPORTER := btl dn nw oi rs ra tr wr
EXECUTABLES := $(IMPORTER:%=$(EXECUTABLE)-%)
all: $(EXECUTABLE)
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";
}