Posts: 39
Joined: Oct 2013
Reputation:
0
drhoeh
Junior Member
Posts: 39
I am running a Raspberry Pi 2 (openelec) with TVheadend and a WD Mycloud as a Nas. The RPi2 is mapped to the Nas for recording storage. If I record a show and then restart my system the shows disappear from recorded shows, however if I go into file manager I can find them.
Does anyone know how I can keep all of my recorded shows in recordings? I am at a loss.
Thanks,
Posts: 2,771
Joined: Mar 2011
Reputation:
95
What happens if you just restart the tvheadend service? Do the recordings re-appear then?
I think there's a tvheadend.start script and accompanying tvheadend.stop script somewhere - ssh in and run the second one, then count to ten and run the first one. If that solves the problem then you most likely have a timing issue, in that tvheadend is starting and looking for the files before the NFS mount completes (perhaps because of a wakeup delay on your NAS?).
Also, when you say "file manager", make sure you're browsing a local mount and not browsing over Kodi's NFS client: the former relies on the OS being able to see the remote share, while the latter is Kodi-only, so the OS is unaware of the remote share. You could do worse than checking this while you're ssh'ed in: simply cd to the directory as tvheadend sees it and check that you can ls the files.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
If you're using Openelec, make sure to select the "wait for network" setting in the tvheadend addon.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
But indeed the manual system mount approach would be much better.
Posts: 39
Joined: Oct 2013
Reputation:
0
drhoeh
Junior Member
Posts: 39
I had a similar problem with my nas not being read and have remount my nas everytime I boot up in Raspbian.
The solution that time was to add "mount -a" to /etc/rc.local before exit 0.
Could this be similar?
Posts: 39
Joined: Oct 2013
Reputation:
0
drhoeh
Junior Member
Posts: 39
Thanks Verderer I used the new mounting method and it worked. I did screwed up the syntax on the enable storage command. It now works and all my recordings are showing up. Thanks guys, I think we are good.