Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#11349 closed Bug Report - General (Won't Fix)

Missing mythfilldatabase arguments after running mythtv-setup

Reported by: Matlo <mat.lau@…> Owned by: danielk
Priority: minor Milestone: unknown
Component: MythTV - Mythtv-setup Version: 0.25-fixes
Severity: medium Keywords: mythtv-setup, mythfilldatabase
Cc: Ticket locked: no

Description

In mythtv-setup, I added the following mythfilldatabase arguments: -- "--no_cryptedcplus --no_cryptedpprem"

This allows to specifies grabber arguments. In my specific case, the arguments make the grabber skip encrypted shows.

The problem is, if I let mythtv-setup run mythfilldatabase at exit, mythtv-setup does not give the arguments to mythfilldatase. As a result, the tv listings are wrongly updated (in my case, encrypted shows are added).

Change History (12)

comment:1 Changed 12 years ago by stuartm

Resolution: Won't Fix
Status: newclosed

This should be handled in the XMLTV grabber configuration file not by mythfilldatabase.

comment:2 Changed 12 years ago by Matlo <mat.lau@…>

What's the "XMLTV grabber configuration file"?

comment:3 Changed 12 years ago by Matlo <mat.lau@…>

I have to add that mythfilldatabase is run perdiodically without issue, i.e. the right arguments are given to mythfilldatabase.

comment:4 Changed 12 years ago by Raymond Wagner

Mythtv-setup never runs mythfilldatabase, it merely suggests you do so manually if you have changed your channel lineup. Aside from using the more proper configuration location, this is simply not a problem that exists within MythTV itself.

comment:5 Changed 12 years ago by danielk

Just as a correction to the last comment. mythtv-setup does run mythfilldatabase when you hit the "Fetch channels from listings source" button. Pushing the button calls CardInput::sourceFetch() which calls SourceUtil::UpdateChannelsFromListings?() which runs mythfilldatabase.

I still think this should be a won't fix though.

comment:6 Changed 12 years ago by Matlo <mat.lau@…>

matlo@matlo-htpc ~ $ ps aux | grep myth matlo 4331 0.0 0.0 4400 732 pts/1 S+ 16:08 0:00 /bin/sh /usr/bin/mythtv-setup matlo 4373 6.4 0.5 328444 19880 pts/1 S+ 16:08 0:00 /usr/bin/zenity --title Fill Database? --question --text Would you like to run mythfilldatabase?

matlo@matlo-htpc ~ $ cat /proc/4373/status Name: zenity State: S (sleeping) Tgid: 4373 Pid: 4373 PPid: 4331

comment:7 Changed 12 years ago by Matlo <mat.lau@…>

matlo@matlo-htpc ~ $ pgrep mythtv-setup
7865
matlo@matlo-htpc ~ $ pstree 7865
mythtv-setup───xterm───bash───mythfilldatabas─┬─sh───tv_grab_fr_tele

└─6*[{mythfilldatabas}]

comment:8 Changed 12 years ago by stuartm

when you run tv_grab_fr --configure it write a configuration file. For mythtv this is written to ~/.mythtv/{sourcename}.xmltv

You'll need to speak to the maintainer of the tv_grab_fr grabber to know what you need to put in this config file instead of passing arguments at runtime to the script.

comment:9 Changed 12 years ago by Matlo <mat.lau@…>

I could also directly modify the grabber... I don't really care if you consider this bug as "not a problem". I will keep answering "No" to mythtv-setup and it will work fine.

comment:10 Changed 12 years ago by stuartm

mythtv-setup does not ask that question. Mythbuntu scripts do and possible other distributions offer similar scripts, but mythtv-setup does not. I've never even heard of zenity.

comment:11 Changed 12 years ago by Matlo <mat.lau@…>

Thanks for all the answers. I'm going to report the issue in the right tracker.

comment:12 Changed 12 years ago by Matlo <mat.lau@…>

Note: See TracTickets for help on using tickets.