I have a smb server which not support smb1,and could support smb2 and smb3.
Where could I modified the code to read smb file using smb2 or smb3 protocol?
Code:
01-27 04:03:36.111 V/Kodi ( 4913): Debug Print: GetDirectory: louis.gao pDirectory->GetDirectory getting smb://192.168.1.10/storages/USBDriveA1/bof/
01-27 04:03:36.111 V/Kodi ( 4913): Debug Print: OpenDir: louis.gao strAuth=smb://192.168.1.10/storages/USBDriveA1/bof
01-27 04:03:36.111 V/Kodi ( 4913): Debug Print: OpenDir: louis.gao smbc_opendir(smb://192.168.1.10/storages/USBDriveA1/bof)
01-27 04:03:36.126 V/Kodi ( 4913): Debug Print: ScanForExternalSubtitles: END (total time: 19 ms)
01-27 04:03:36.127 V/Kodi ( 4913): Debug Print: OpenInputStream: louis.gao after ScanForExternalSubtitles m_item.GetPath()=smb://192.168.1.10/storages/USBDriveA1/bof/4K30mbps_H264.mp4
01-27 04:03:36.127 V/Kodi ( 4913): Debug Print: OpenInputStream: louis.gao after SetSubTitleDelay =0.000000
01-27 04:03:36.127 V/Kodi ( 4913): Debug Print: Creating Demuxer
01-27 04:03:36.128 V/Kodi ( 4913): Debug Print: GetFileName: louis.gao, CDVDInputStream::GetFileName() url.Get() = smb://192.168.1.10/storages/USBDriveA1/bof/4K30mbps_H264.mp4
01-27 04:03:36.133 V/Kodi ( 4913): Debug Print: Read - Error( -1, 9, Bad file descriptor )
01-27 04:03:36.134 V/Kodi ( 4913): Debug Print: Open - error probing input format, smb://192.168.1.10/storages/USBDriveA1/bof/4K30mbps_H264.mp4
01-27 04:03:36.134 V/Kodi ( 4913): Debug Print: OpenDemuxStream - Error creating demuxer
01-27 04:03:36.134 V/Kodi ( 4913): Debug Print: CVideoPlayer::OnExit()
Thank you!