Mount remote smb share on hassio

@Cyberfighter

MAN! you were right! it doesnt work in CLI for soem daft reason been needlessly chasing my own tail…

@insajd original method works i was just being an idiot!

For anyone else who may be in the same boat as me this is where i went wrong, didnt understant how the media browser works!
So missing the following in my configuration.yaml

homeassistant:
  media_dirs:
    recordings: /mnt/media2

Once I added the above and ran my shell:

shell_command:
  mount_cctv_media_folder: mount -t cifs -o username=USER,password=PASSWORD,domain=WORKGROUP //192.168.1.20/nvr-cctv /mnt/media2

It all appeared in the media browser!!

Sorry for waisting your time guys, and appreciate the support :beers:

4 Likes