git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libvideosite: Add special "environment" connector that will take proxy settings from...
[videosite.git]
/
libvideosite.pm
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
c39d9e5
..
bf02068
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-52,7
+52,12
@@
my $defaultconfig = {
'name' => 'direct',
'_immutable' => '1',
'schemas' => {},
'name' => 'direct',
'_immutable' => '1',
'schemas' => {},
- }
+ },
+ 'environment' => {
+ 'name' => 'environment',
+ '_immutable' => '1',
+ 'schemas' => {},
+ },
},
'config-version' => '2',
};
},
'config-version' => '2',
};
@@
-86,7
+91,7
@@
my $videosite_commands = {
'set' => sub {
_cmd_set(@_);
},
'set' => sub {
_cmd_set(@_);
},
-
+
'show' => sub {
_cmd_show(@_);
},
'show' => sub {
_cmd_show(@_);
},
@@
-279,7
+284,7
@@
sub _ploader {
}
_debug("Loaded %d plugins", $#g+1);
}
_debug("Loaded %d plugins", $#g+1);
-
+
return @g;
}
return @g;
}
@@
-385,7
+390,7
@@
sub _config_list_add {
_config_set($path, join(',', @c));
}
_config_set($path, join(',', @c));
}
-#
+#
# Remove an item from the list
#
sub _config_list_del {
# Remove an item from the list
#
sub _config_list_del {