(2019-12-13, 13:10)zemago Wrote: (2019-10-27, 00:00)gilsonsjc Wrote: Hi,
Here is my environment:- Kodi 18.4 Git:20190831-3ade758ceb. Platform: Android ARM 64-bit
- NVidia Shield TV with Android 9.0.0 API level 28, kernel: Linux ARM 64-bit version 4.9.140-tegra-g68283f0ff762.
- Macbook air running macOs Catalina 10.15
- Everything connected to the same network router
- Shield and NAS with Gigabit cable
- Macbook air connect with A/C wireless
Problem description:
I have always been able to stream videos from a MacBook Air connected to the same network. After updating the Mac to macOs Catalina I am not able to stream the videos anymore. I can navigate through the share from the Kodi/Videos interface but when I choose a video it stops before even opening the video. There is no error message on the screen.
Steps to reproduce:
- Create the share using File Sharing on macOs Catalina 10.15. Make sure the SMB and guess options are enabled.
- Add your movies to the smb share.
- Create a new video source in Kodi pointing to the SMB share you've created on step#1
- Try to play a movie from the new video source created on step#3
Here is the log information:
https://paste.kodi.tv/otedufalok.kodi
Please let me know what I should do in order to fix the problem
Thanks
Gilson
Same question here. Same behavior, same errors.
In three machines: 1-Smart TV Sony, android 8. 2-Mac OS 10.14 Mojave; 3- Win 10 19.03 release, all as Kodi Clients, and a Catalina MacPro as samba server.
In these machines Kodi 17.6 is ok with Catalina, Kodi 18.4 and 18.5 doesn't work. Kodi can browse but more slowly and cannot start the movie. No problems with Kodi 17.6 in this scenario.
Package signingpacket signing off dont help.
In Services configurations on Kodi choose smb2 or 3 does not matter.
I guess is a new feature of Kodi 18 not accepted by security restrictions of Catalina.
Question is NOT SOLVED.
Any help please.
The samba configuration in Kodi's services menu is afaik only relevant if you want to enable samba sharing on the machine that runs Kodi, i.e. this machine is hosting the shares.
Kodi 18.7 can connect to 10.15/Catalina samba shares - the network traffic is there - but it is way too slow. In fact, listing folder contents is so slow that it's no wonder playback won't work.
The only way I could solve this is by
delegating the handling of samba shares to the underlying OS. I understand this may not be possible for all Kodi installs.
LibreELEC in my case behaves like many other Linux based OS. You can mount Catalina samba shares with:
bash:
mount -t cifs //10.0.1.43/mydevicewithmovies /storage/yourmountpoint -o user=USERNAME,password=PASSWORD,nounix,sec=ntlmssp,noperm,rw,vers=3.02
where 10.0.1.43 is the local IP of your Catalina samber server, and mydevicewithmovies the name of the shared folder/device with your media files that will be mounted to /storage/yourmountpoint
Since Kodi will treat /storage/yourmountpoint just like any other local home folder location SMB is no longer something you need to deal with in Kodi.
On the macOS 10.15/Catalina side you
don't need to change the default Catalina samba configuration or enable guest sharing.
Create a dedicated
sharing user.
Then in
macOS settings > sharing > file sharing give your sharing user read/write access to the media folder you want to share. Then in the
Options menu enable SMB and further below place a checkmark next to the sharing user (you will have to enter the sharing user's password).
Using the sharing user's (display) username and password you should now be able to mount the Catalina samba share in LibreELEC from the command line using the command above.
The first time you mount samba shares on your 10.15 Catalina Mac you should be asked to allow smbd access to your whole disk or removable media if your media is located on an attached device. Make sure both permissions are granted.
BTW I think Macs running 10.15 use samba version 3.02 so I added this version in the mount command. But it should work even if you don't explicitly set vers=3.02.
To make the OS mount your samba shares on boot you need to script. In LibreELEC you'd add some lines to or create ~/.config/autostart.sh:
bash:
for i in $(seq 1 120); do
mount -t cifs //10.0.1.43/mydevicewithmovies /storage/yourmountpoint -o user=USERNAME,password=PASSWORD,nounix,sec=ntlmssp,noperm,rw,vers=3.02
if [ "$?" = "0" ]; then
sync
break
fi
sleep 1
/usr/sbin/ether-wake -b aa:bb:cc:dd:ee:ff
done
If it can't mount your samba share right away it will try to wake your server with the MAC address aa:bb:cc:dd:ee:ff
At least on LibreELEC it seems to work.