- Adapt plugins to documentation
[videosite.git] / videosite / FileGetter.pm
index a01c285..e26d07d 100644 (file)
@@ -1,3 +1,6 @@
+#
+# A getter which will download the media to a local file storage
+#
 package FileGetter;
 
 use GetterBase;
@@ -27,7 +30,7 @@ sub get {
     my $dirname;
 
     $dlfile = sprintf($self->_getval('FILEPATTERN'),
-        $self->_encode($video->{'TYPE'}),
+        $self->_encode($video->{'SOURCE'}),
         $self->_encode($video->{'ID'}),
         $self->_encode($video->{'TITLE'}),
         $self->_encode($video->{'DLURL'}),