Project

General

Profile

TVheadend recording path not being remembered after system reboot

Added by Mike Gideons over 6 years ago

I'm running OpenELEC on a RPi 3. I have set up an auto-mount using instructions found here http://wiki.openelec.tv/index.php/Mounti...ork_shares . This seems to work as i can ssh into the RPi and ls that directory at the mount location. In my TVheadend server configuration, under Configuration>Recording>Digital Video Recorder Profiles tab, under Parameters>Recording file options>Recording system path I added the mounted path (back in Sep 2017). I did the same thing for Configuration>Recording>Timeshift>Storage path setting (also back in Sep 2017). However, i recently realized that my recorded shows were going to the wrong location. They were going to /storage which i think is the default setting. When i went back to my TVheadend configuration, the path was set to /storage (go figure). So i changed the Recording system path back to /storage/recordings. When i restart the system, the path under Timeshift>Storage path stays (is remembered), but the path under Digital Video Recorder Profiles>...>Recording system path is lost (not remembered). Also, other settings on the Configuration>Recording>Digital Video Recorder Profiles page are also not remembered after a system restart.

I found some settings that are of interest. The path is

/storage/.kodi/addons/service.multimedia.tvheadend

In that directory there are the following files

timeshift-config
dvr-config

The interesting thing is, in the dvr-config file, i see my path (/storage/recordings), but in the timeshift-config file, i see what appears to be the default path (/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend/cache/timeshift). Furthermore, these files are time stamped Sep 8 2017 (today is Feb 26 2018). So it appears that these are not the files that tvheadend is using when it populates the fields in the browser configuration interface, but at some point they did get set to my settings (at least the dvr-config file did). Is there another location for the configuration files?

By the way, when i change the settings in the TVheadend server configuration via the web interface and then DON'T restart the system, the recorded tv file location is in the correct place! So there is some file like the dvr-config file that exists somewhere that at least temporarily holds the correct setting value. But I just don't know where that file is.