2016-08-13, 11:10
OK what I did for my Qnap NAS with tvheadend running on my HTPC
Qnap >> Privalidge systems >> Shared folders >> Create >> Shared folder >> I called the new folder "RecordingsNAS4" >> Give it guest write permissions
On the OpenELEC HTPC
SSH into the htpc
Using a windows computer browse to:
\\openelec\Configfiles >> Open "autostart.sh" with a text editor >> Add this text to bottom of the file (you may need to create a new file if it doesnt exits)
Where the IP address is the IP of your NAS and the folder name is the samba share you created earlier.
Reboot and go to:
Settings >> File manager >> storage >> RecodringsNAS4
And you should see the folder on your NAS.
Now you can just set the recording directory in TVHeadend configiguration >> Recording >> Recording System Path
Qnap >> Privalidge systems >> Shared folders >> Create >> Shared folder >> I called the new folder "RecordingsNAS4" >> Give it guest write permissions
On the OpenELEC HTPC
SSH into the htpc
Code:
mkdir /storage/recordingsNAS4
Using a windows computer browse to:
\\openelec\Configfiles >> Open "autostart.sh" with a text editor >> Add this text to bottom of the file (you may need to create a new file if it doesnt exits)
Code:
#!/bin/sh
(sleep 30;
mount -t cifs -o username=user,rw //192.168.1.160/RecordingsNAS4/storage/recordingsNAS4;
)&
Where the IP address is the IP of your NAS and the folder name is the samba share you created earlier.
Reboot and go to:
Settings >> File manager >> storage >> RecodringsNAS4
And you should see the folder on your NAS.
Now you can just set the recording directory in TVHeadend configiguration >> Recording >> Recording System Path
Code:
/storage/recordingsNAS4