+# library to autodownload flash videos
+#
+# (c) 2007-2008 by Ralf Ertzinger <ralf@camperquake.de>
+# licensed under GNU GPL v2
+#
+# Based on youtube.pl by Christian Garbs <mitch@cgarbs.de>
+# which in turn is
+# based on trigger.pl by Wouter Coekaerts <wouter@coekaerts.be>
+
package libvideosite;
require Exporter;
'_immutable' => '1',
'schemas' => {},
}
- }
+ },
+ 'config-version' => '2',
};
#
my @text = @_;
my $format;
+ @text = ('') unless(@text);
+
# This will define the outputprefix once, so we don't have
# do do this every time.
$outputprefix = sprintf("%svideosite: %s",
my $path = shift;
my $value = shift;
- unless($remote_api->{config_has}->($path)) {
- $remote_api->{config_set}->($path, $value);
+ unless(_config_has($path)) {
+ _config_set($path, $value);
}
}