Linux Schedules Direct Setup on Ubuntu Server
#27
(2018-02-18, 23:59)AshG Wrote: thanks for your efforts.... everything works ok when running under the hts user in the cmd line... but not in TVheadend, really can cant work out why.... i've given up for the time being, back to tv_grab_zz_sdjson !
oh my god i think i may have done it...  i changed the database line in the config file to home/hts/.xmltv/databasename.db form just databasename.db maybe i'm suppose to put the full path of the DB when doing the configuration?

here's what i did (i'm using Ubuntu 16.04)


create new directory clone/download the file:

Then just copy tv_grab_zz_sdjson_sqlite file to usr/bin
Code:

cp -i tv_grab/tv_grab_zz_sdjson_sqlite/tv_grab_zz_sdjson_sqlite /usr/bin

Run the file with mange lineup option: 
Code:

tv_grab_zz_sdjson_sqlite --manage-lineups

For me it complained that i didnt have LWP::UserAgent: : Determined module installed, so I:
Code:

perl -MCPAN -e 'install Bundle::LWP'
sudo perl -MCPAN -e 'install LWP::UserAgent:: Determined

change the user to hts (or whatever user runs TVHEADEND)
Code:

sudo su - hts

Run the file with manage-lineups again:
>Enter your Schedules Direct username & Password
>The select 4 - initialize/update local database
>Choose the database name
> Then 5 Manage database lineup channel selection

Now run the configuration:
Code:

tv_grab_zz_sdjson_sqlite --configure

> enter the database name (and it's full path) so for me it was /home/hts/.xmltv/databasename.db
>Answer the rest of the questions (i think you have to choose which lineup up you want and something about MythTV categories)

Then enable the "internal XMLTV Multinational (schedules Direct JSON web services with SQLite DB) in TVheadend
Reply


Messages In This Thread
RE: Schedules Direct Setup on Ubuntu Server - by AshG - 2018-02-19, 22:26


Logout Mark Read Team Forum Stats Members Help
Schedules Direct Setup on Ubuntu Server1
This forum uses Lukasz Tkacz MyBB addons.