Hi guys,
I mounted my Nas shares CIFS to compare with Kodi SMB as recommend in this forum. However I noticed that some video files show and play in Kodi SMB but don’t show at all in CIFS.
The files are AVCHD m2ts files from a consumer Canon camcorder, so nothing fancy.
What could be the problem?
Hi,
Recommendation is to use fstab based mount when possible
Can you double check the permissions? And take a photo / screenshot of what screen you’re trying to access those files under?
Kodi only shows certain filetypes under certain screens
Sam
- I used
sudo mount -t cifs -o username=xxxxxxx,password=xxxxxxxx //10.0.1.205/video/ /mnt/DSvideo/
Is this fstab ?
I am under Video window, add files, than I navigate to root folder, mnt, and choose the mounted DSvideo.
- For the SMB test I go the same Video window and choose “add network location”, SMB and so on, the Kodi way, I select the same video share on the nas as 1. above.
When I go to play the videos, the location added with method 2 shows all videos, but location added using method 1 shows only some videos. The AVCHD videos are missing
Found the reason, the not shown files were symlinks. Wonder if there is an option to the mount command to follow the symlink?
User had a similar issue and Kodi mount was the problem. Command line and fstab mounts were not affected.
I think you want nounix as an option for this to work as expected.
I’ll ping the user and see if they can chime in. It’s been a while since I mounted a Samba share, particularly one with symbolic links, on Linux.
Sam
This is what I did to mount my Windows share on my Vero via fstab
This allowed me to play media that was deduped, that would not play under a Kodi mount
First create a mount point:
mkdir –p /mnt/share
Then create a smb credential on your osmc home
nano /home/osmc/.smbcredentials
With these entries:
username=whatever
password=whatever
domain=whatever
Finally in /etc/fstab
//servename/share /mnt/share cifs credentials=/home/osmc/.smbcredentials,x-systemd.automount,noauto,iocharset=utf8,sec=ntlm 0 0
Thanks, Mickoz, I will give it a try. I got Linux to Linux, hope it works as well.