issue with schedulesdirect setup

Added by bob 808 about 1 month ago

I am trying to add schedulesdirect EPG to my setup - I am using the tv_grab_zz_sdjson option. I have run with --configure and it works from the command line ok. The error I get is

Cannot open /home/_<user>_/.xmltv/tv_grab_zz_sdjson.cache for read/write.

I am not sure what I have done wrong here, the conf file is in /home/hts/.xmltv and its being read, but it is trying to use the file from my own username folder not the hts one?

Can anyone help, I am sure this is simple but its putting me round in circles right now.

thanks


Replies (2)

RE: issue with schedulesdirect setup - Added by Em Smith about 1 month ago

I'd recommend the tv_grab_zz_sdjson_sqlite since I read it is faster than the non-sqlite version.

Who are you running the command as? You should probably run it as your hts user.

Perhaps something like this sequence of commands:

bob$ sudo -s
root# exec su - hts
hts$ tv_grab_zz_sdson_sqlite --configure

RE: issue with schedulesdirect setup - Added by Robert Cameron about 1 month ago

If your hts user does not have an actual login shell, that command won't work. Try:

sudo su -s perl hts -c 'tv_grab_zz_sdjson --configure'

That ought to achieve the same, regardless of whether the hts user has a login shell.

(1-2/2)