Opened 14 years ago

Closed 14 years ago

#2622 closed patch (fixed)

Find mythfilldatabase using gContext->GetInstallPrefix()

Reported by: sphery <mtdean@…> Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version: 0.20
Severity: low Keywords:
Cc: Ticket locked: no

Description

The attached patch changes housekeeper to use the same method for finding mythfilldatabase that's used for finding any other part of MythTV. If the specified path is "mythfilldatabase", it uses the bin directory under gContext->GetInstallPrefix?() . Otherwise, the exact path specified is used.

Attachments (1)

mythtv-GetInstallPrefix_for_mfdb_path.patch (1.5 KB) - added by sphery <mtdean@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by sphery <mtdean@…>

comment:1 Changed 14 years ago by danielk

Owner: changed from Isaac Richards to danielk

comment:2 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [11729]) Fixes #2622. Uses mythfilldatabase as the default mythfilldatabase program, instead of putting the path in the DB for the default case.

The reason for this is simply to make it easier for people to switch between vendor supplied MythTV in /usr/bin and a locally compiled MythTV in /usr/local/bin, before this change we would keep calling the mythfilldatabase in the originally configured location, even if the installed prefix of the running mythbackend had changed since the setting was originally configured.

Existing path preferences remain unchanged.

Note: See TracTickets for help on using tickets.