[mythtv-users] Can I setup xmltv before changing grabbers in mythtv-setup?

Bill Meek keemllib at gmail.com
Wed Jun 10 15:03:24 UTC 2020


On 6/10/20 8:48 AM, Mark Goldberg wrote:
> I'm going through the command line setup steps and get these done
> successfully for the first lineup:
> 
>   tv_grab_zz_sdjson_sqlite --manage-lineups --config-file $HOME/.mythtv/OTA.xmltv
>   tv_grab_zz_sdjson_sqlite --configure --config-file $HOME/.mythtv/OTA.xmltv
>   tv_grab_zz_sdjson_sqlite --days 0 --config-file $HOME/.mythtv/OTA.xmltv
> 
> It's populated with channels.

I ran the fourth command (still all as user mythtv, so home for
me was ~mythtv.)

tv_grab_zz_sdjson_sqlite --manage-lineups --config-file $HOME/.mythtv/HDHR.xmltv
# Manage database lineup channel selection/select lineup/set future new or updated/repeat

> I then saved the python script and ran it and get an error
> 
> ./xmltv_channel_selection --list --database
> /home/mythtv/SchedulesDirect.DB --file /tmp/callsigns
> Traceback (most recent call last):
>    File "./xmltv_channel_selection", line 165, in <module>
>      if main():
>    File "./xmltv_channel_selection", line 159, in main
>      return list_callsigns(args)
>    File "./xmltv_channel_selection", line 92, in list_callsigns
>      for row in cursor.execute('SELECT station,selected from channels'):
> sqlite3.OperationalError: no such table: channels
> 
> Any suggestions?

I didn't write that, but I'll download and take a look. I did install the
sqlite browser: sqlitebrowser ~mythtv/.xmltv/SchedulesDirect.DB. That would
prove that the channels table is still there. I didn't have that problem.

> For this lineup I ran the tedious channel selection and they are
> selected, but for the Dish lineup, we get a small subset of the
> available channels and it would be really tedious. In addition, I
> don't want new channels to be added automatically with the Dish
> lineup, as we don't subscribe to them. Do I select
> 2: Set future new or updated lineup channels as unselected
> in manage channels or will the mythfilldatabase option
> --omit-new-channels keep it from adding new channels.

I chose to get new ones, no help here, sorry.

> When I create $HOME/.mythtv/DISH.xmltv do I use the same database at
> /home/mythtv/SchedulesDirect.DB? Can those channels be in the same
> database?

Yes, that's what I did and I have OTA and CABLE. I haven't tried
using 'per source' databases. Even though it clearly looks OK to
do.

-- 
Bill


More information about the mythtv-users mailing list