X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite%2FFileGetter.pm;h=b2a0cea6c3fe686ff9fb2367f7432bc46d7b7b5d;hb=7e0dc82d9acebecc7f19f9b43c1c8e87d27599f7;hp=0d2b250d0f1a20dbb25227836d5dd4c60bc467ac;hpb=422536027a2fb0656c25e18dba1e342c70533655;p=videosite.git diff --git a/videosite/FileGetter.pm b/videosite/FileGetter.pm index 0d2b250..b2a0cea 100644 --- a/videosite/FileGetter.pm +++ b/videosite/FileGetter.pm @@ -20,6 +20,7 @@ sub new { MINFREE => ['500000', 'The amount of space that needs to be available on the filesystem before the video is downloaded (in kilobytes)'], FILEPATTERN => ['/tmp/%s - %s - %s.flv', "The file name to save the file under. This is a string which is passed to a sprintf call later on. The parameters passed to that sprintf call, in order, are:\n- The site the video is from\n- The ID of the video\n- The title of the video\n- The URL of the video file itself\n- The URL of the site the video was taken from\nAll parameters are encoded (space and / replaced by _)"] }, + @_, ); return bless($self, $class);