smb2: add help and finer description
authorThomas Guillem <thomas@gllm.fr>
Mon, 9 Jul 2018 07:30:31 +0000 (09:30 +0200)
committerThomas Guillem <thomas@gllm.fr>
Mon, 9 Jul 2018 07:30:51 +0000 (09:30 +0200)
modules/access/smb2.c
po/POTFILES.in

index 9bd5a1f..e81511c 100644 (file)
@@ -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()
index 6bf6d4f..4f83861 100644 (file)
@@ -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