Project

General

Profile

Synology NAS recordings path confusion - help!

Added by Dan Williams over 11 years ago

Has anyone got Tvheadend running internally on a Synology NAS? I'd love to hear from anyone with experience of this as I've searched for solutions without any luck. Lots of people referring to an external NAS but this is not what I'm referring to.

Here's what I'm using:
Synology NAS DS212j running DSM 4.2
Tvheadend 3.2.18
Tuner = KWorld UB499-2T

I've installed Tvheadend internally directly on the NAS as a package via the Synology Package Center.
Everything worked perfectly. The dual tuners were found, channels scanned, EPG created, timers set up. I even kicked off some recordings and it states the recordings are recording and when they finish it states 'Status: Completed OK'.

What has me stuck is where the hell are the recordings stored? There is no option to play the successful recordings. I've searched for any new files (using the admin account which has access to all data on the NAS) and there is no sign of the recorded programs.

I did change the recording path in the configuration. I don't remember what it was set to by default when I first configured it but I wanted it in a shared folder called TV on the NAS. I've tried changing the 'Configuration -> Digital Video Recorder -> Recording System Path' field to all of the following paths but nothing ever gets created in the shared folder called TV.
tv
\\tv
\\volume 1\tv

I have checked that the account specified in the 'Configuration -> Access Control' section does have access to the shared folder called TV.

It's driving me crazy because that's the only thing I'm stuck on. Fingers crossed someone else has this up and running and can advise. Thanks!


Replies (5)

RE: Synology NAS recordings path confusion - help! - Added by Prof Yaffle over 11 years ago

I have it on my 211+, works fine for me.

I think you're perhaps using Windows path notation instead of Unix notation - try /volume 1/public/tv, make sure that directory exists and is writeable, and then make sure that your clients can mount this directory or one above it (NFS or SMB).

RE: Synology NAS recordings path confusion - help! - Added by Dan Williams over 11 years ago

Thanks Prof. What you say makes good sense. I tried that path you suggested, plus other variations in the same format using forward slash but same issue. Clients can open that shared folder via SMB no problem.
Could you tell me what you have for your path in the 'Configuration -> Digital Video Recorder -> Recording System Path' field and what the equivalent path is in Synology File Station? I can then try to do the same and test. Thanks so much!

RE: Synology NAS recordings path confusion - help! - Added by Prof Yaffle over 11 years ago

Sure...

  • tvheadend is recording to /volume1/public/Videos/Recordings
  • File Station reports it as public > Videos > Recordings
  • My SMB clients mount it as drive Y:, mapped to \\IP-address\public

Could it be a permission problem? Does the tvheadend process have write access to that directory?

If I check through File Station (right-click on the target directory), I have it owned by admin, group users - but the specific permissions are read, write, execute for all.

This is confirmed by the command line:

BusyBox v1.16.1 (2013-03-01 01:15:19 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Primary> cd /volume1
Primary> cd public
Primary> cd Videos
Primary> ls -la
drwxrwxrwx    5 admin    users        12288 Mar 18 21:04 Recordings

RE: Synology NAS recordings path confusion - help! - Added by Dan Williams over 11 years ago

Aha! That worked! I created a public folder and gave read/write access to all users, then created the subfolders the same as you have. Updated the Tvheadend config, restarted the package and now I see a recording MKV file.
So I can now work back through to determine why my TV folder was not saving the files, probably a permissions issue like you suggest.

Thanks so much for helping me out, you are a life saver :)

    (1-5/5)