[vlc-commits] smb2: add help and finer description
Thomas Guillem
git at videolan.org
Mon Jul 9 09:30:53 CEST 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 9 09:30:31 2018 +0200| [c4820d37cd0918f703b1212951c9b3747568a5e2] | committer: Thomas Guillem
smb2: add help and finer description
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4820d37cd0918f703b1212951c9b3747568a5e2
---
modules/access/smb2.c | 7 ++++---
po/POTFILES.in | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/access/smb2.c b/modules/access/smb2.c
index 9bd5a1fea8..e81511cc53 100644
--- a/modules/access/smb2.c
+++ b/modules/access/smb2.c
@@ -64,14 +64,15 @@ static int Open(vlc_object_t *);
static void Close(vlc_object_t *);
vlc_module_begin()
- set_shortname(N_("smb2"))
- set_description(N_("SMB2 input"))
+ set_shortname("smb2")
+ set_description(N_("SMB2 / SMB3 input"))
+ set_help(N_("Samba (Windows network shares) input via libsmb2"))
+ set_capability("access", 21)
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_ACCESS)
add_string("smb-user", NULL, SMB_USER_TEXT, SMB_USER_LONGTEXT, false)
add_password("smb-pwd", NULL, SMB_PASS_TEXT, SMB_PASS_LONGTEXT)
add_string("smb-domain", NULL, SMB_DOMAIN_TEXT, SMB_DOMAIN_LONGTEXT, false)
- set_capability("access", 21)
add_shortcut("smb", "smb2")
set_callbacks(Open, Close)
vlc_module_end()
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 6bf6d4f083..4f83861574 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -211,6 +211,7 @@ modules/access/sdp.c
modules/access/sftp.c
modules/access/shm.c
modules/access/smb_common.h
+modules/access/smb2.c
modules/access/srt.c
modules/access/tcp.c
modules/access/timecode.c
More information about the vlc-commits
mailing list