TVHeadend 4.0 setup guide
#17
(2016-08-16, 03:38)clarkss12 Wrote: Since I am a complete noob with Linux, I created a "cheat sheet" for myself for mounting my NFS share on my Synology NAS. I am running my tvheadend server on my $30 MK808B Plus running LibreELEC (originally OpenELEC) and my recording destination is a directory on my older DS211j Synology NAS. Since my LibreELEC shows up in windows explorer on my Windows 7 machine, it makes it very to easy setup. I am constantly changing things, I use my "cheat sheet" to install tvheadend and it doesn't take me very long to get everything setup and working. Since all the LibreELEC files and folders show up under windows explorer, I only have to use Putty once or twice. Anyway, if interested, here is my "cheat sheet", obviously, you will have to use your own IP addresses of your NAS.

The easy way to mount NAS,
1. open windows explorer, go to openELEC in network directory
2. copy "autostart.sh" file into the root of configfiles directory.
3. go to system.d folder from Configfiles folder.
4. copy and paste storage-myrecordings.mount
5. copy and paste storage-recordings.mount

6. reboot OpenELEC box.
7. open putty and paste this into the root of OpenELEC.
systemctl >> systemctl enable storage-myrecordings.mount

8. Under the recording profile in the web browser use this for the recording path
/storage/myrecordings

all there is to it.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
all autostart.sh is, is a text file with this code.
mount -t nfs 192.168.1.74:/volume1/myrecordings /storage/myrecordings -o rw,nolock

echo 0 > /sys/class/amhdmitx/amhdmitx0/cec_config

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
all the storage-myrecordings.mount is, is a text file with this

[Unit]
Description=test nfs mount
Requires=network-online.service
After=network-online.service
Before=kodi.service
#Before=xbmc.service

[Mount]
#enter in the share and place it will mount to
What=192.168.1.74:/volume1/myrecordings
Where=/storage/myrecordings
Options=
Type=nfs

[Install]
WantedBy=multi-user.target

Hello clarkss12
I am trying to setup my nas to store live tv recordings and following your 'cheat sheet' has helped, the only thing I cannot follow is step 5
5. copy and paste storage-recordings.mount
? Where do I copy the storage-recordings.mount file from
Thank you
Reply


Messages In This Thread
TVHeadend 4.0 setup guide - by zag - 2016-04-20, 11:13
RE: TVHeadend 4.0 setup guide - by zag - 2016-04-20, 11:15
RE: TVHeadend 4.0 setup guide - by marathone - 2016-04-23, 13:39
RE: TVHeadend 4.0 setup guide - by NOLAguy - 2020-07-03, 03:47
RE: TVHeadend 4.0 setup guide - by cable_guy - 2016-05-04, 13:21
RE: TVHeadend 4.0 setup guide - by zag - 2016-05-04, 13:30
RE: TVHeadend 4.0 setup guide - by mcelliott - 2016-05-10, 21:12
RE: TVHeadend 4.0 setup guide - by mcelliott - 2016-05-11, 00:24
RE: TVHeadend 4.0 setup guide - by aegidius - 2017-05-09, 02:13
RE: TVHeadend 4.0 setup guide - by zag - 2016-08-15, 20:59
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2016-08-16, 03:38
RE: TVHeadend 4.0 setup guide - by benrita - 2017-07-02, 06:37
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2016-08-18, 16:49
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2017-07-03, 05:54
RE: TVHeadend 4.0 setup guide - by benrita - 2017-07-04, 04:44
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2017-07-04, 17:45
RE: TVHeadend 4.0 setup guide - by benrita - 2017-07-05, 09:57
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2017-07-05, 18:05
RE: TVHeadend 4.0 setup guide - by benrita - 2017-07-06, 10:07
RE: TVHeadend 4.0 setup guide - by benrita - 2017-07-17, 03:46
RE: TVHeadend 4.0 setup guide - by plikmuny - 2017-07-09, 13:21
RE: TVHeadend 4.0 setup guide - by clarkss12 - 2017-07-10, 22:29
RE: TVHeadend 4.0 setup guide - by edit4ever - 2017-07-10, 23:07
RE: TVHeadend 4.0 setup guide - by JedOi - 2021-05-06, 20:31
RE: TVHeadend 4.0 setup guide - by mcelliott - 2021-05-08, 15:59
Logout Mark Read Team Forum Stats Members Help
TVHeadend 4.0 setup guide0