xbmc / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.
https://kodi.tv/
Other
18.18k stars 6.27k forks source link

Samba client doesn't work on Android version #25500

Closed Barabba11 closed 1 month ago

Barabba11 commented 1 month ago

Bug report

Describe the bug

Sending by JSON with command {"method": "Player.Open", "args": { "item": { "file": "smb://192.168.101.100/log/1.jpg" } } } produces a black screen, the same comamnd on Kodo for Windows works. It looks Kodi 21 doesn't support correctly samba, I've enabled on Windows Samba 1 support, removed password connection, enabled all permissions to everyone. forced Kodi to work with v1, v2, v3 but no results. Also I've tried in Kodi to add manually the shared folder, type server name (IP address), shard folder name and leaving blank user and passw works on Windows into a PC placed in LAN but not with my Android phone, it returns error "invalid argument".

Expected Behavior

Expect to open by JSON an smb://LAN/path/file, expecting to add manually an smb://LAN/path/

Actual Behavior

With JSON a black screen, adding manually "invalid argumet error"

Possible Fix

I've tried with samba 1,2,3. Program like Fotoo works on the same android TV using samba protocol, so it doesn't depend on tv itself

To Reproduce

add a Windows network path on Android

Debuglog

Where the log file is store under android?

Screenshots

needed?

Additional context or screenshots (if appropriate)

Your Environment

Kodi 21 on Android 11 (and google TV, the same), and Kodi21 on WIndows10

xbmc-gh-bot[bot] commented 1 month ago

Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot :wink:

The issue that you have opened was marked as ignoring the rules of our bug tracker by a team member. Please review the following requirements for issue reports and make sure that you follow all of them:

Please understand that adherence to these rules is required for the team to be able to handle the volume of open issues efficiently. The issue will be closed after one week has passed without satisfactory follow-up from your side.

thexai commented 1 month ago

Samba works for sure on Android, otherwise we would have hundreds of complaints in the forums... But you must provide user / password, which you are not doing.

There is a known issue in Android: SMB does not work without providing authentication, anyway SMB 1 is deprecated... you should upgrade to SMB 2/3 and provide user / password.

Duplicate of https://github.com/xbmc/xbmc/issues/18832