From 84dcb9ecb929843ea4f11e8526d4f5c3fcaed14b Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Fri, 27 May 2016 16:07:36 +0200
Subject: actually enable WR importer


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";
 }
 
-- 
cgit v0.10.2