Here are the results:
osmc 562 0.5 9.7 339484 73408 ? Ssl 17:49 0:58 /usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u osmc -g video
Looks like owner:group is osmc:video if I've read that right...
1 thing I didn't mention is that before I changed the PVR record directory target, tvh had no problem seeing the directory and the files it put there. I want to say the default directory was /home/osmc, but I can't be sure. When I changed it to suit my setup, that's when things went a bit bonkers, so to speak :(
One other question that may be obliquely related to this....I discovered kodi has a fairly specific set of requirements for the file name (and directory structure) for recorded tv programs. In order to have files saved that way, is that something I can do in tvh or do I need to work from the zap2xml direction on this? Or do I need to set up some kind of script to manage it?
I know there's a Filename Options under Configuration/Digital Video Recorder Options as well as a Post-processor Command box under DVR Behavior (I've also used the zap2xml config in OSMC/Kodi directly as to what should be in the listing, if that is even part of this). Can either 1 of these be used to set the filename parameters?
Thx and cheers....
Robert Cameron wrote:
> That could be, but it does answer who is running Tvheadend. Try this:
>
ps aux | grep tvheadend | grep -v grep
> The result of that will be all processes that include @tvheadend@, whether as the program name, user, or whatever. The second column (if I'm remembering right off the top of my head) will be the user who owns the process: this is the user that needs to own the directories where you are recording to.