I'm a Windows GUI guy so you'll have to bear with me on the command line stuff.
I created a tmp folder in /storage/4867-D829/NVIDIA_SHIELD (I'm doing this through Windows Explorer). My Recordings and Timeshift folders are in /storage/4867-D829/NVIDIA_SHIELD so I know Tvheadend can access the folder. There aren't many permissions options for these folders. Windows does have the "Read Only (Only applies to files in folder)" radio button enabled and disabling it doesn't stick; but this is the same for the Recordings and Timeshift folders and Tvheadend can write to them. I can copy and delete files from the tmp folder both in Windows and Android.
I set the debugging filename to "/storage/4867-D829/NVIDIA_SHIELD/tmp/debug.txt"
I put "subscription,dvr" in both Debug and Trace subsystems.
I clicked on the "Apply configuration (run-time only)" button. It seems to take it.
Currently there is not a "debug.txt" file in the tmp folder. What will trigger it to be created?
There is a startup run command line option in the Tvheadend port for Android. I'd need to know where to look for the debug file. I know where the tvheadend_server config files are kept. Exactly how would I enter the command line?
I have noticed that there some recordings that Windows doesn't see but Android/Kodi does. One thing I've considered trying is renaming my current "Recordings" sub-directory to "old Recordings" and creating a new "Recordings" sub-directory. But this will probably cause some problems with Kodi finding my current recordings so I thought I'd wait until I've exhausted my other options, especially since it may not help.
Thanks