Skip to content

Commit

Permalink
Set HTTP Proxy in mythtv-setup and mythavtest
Browse files Browse the repository at this point in the history
this prevented those applications to work behind a proxy, and mythtv-setup couldn't retrieve the channel list

Fixes #11695
  • Loading branch information
jyavenard committed Jul 20, 2013
1 parent d4519a6 commit a13f121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythavtest/main.cpp
Expand Up @@ -23,6 +23,7 @@ using namespace std;
#include "dbcheck.h"
#include "mythlogging.h"
#include "signalhandling.h"
#include "mythmiscutil.h"

// libmythui
#include "mythuihelper.h"
Expand Down Expand Up @@ -258,6 +259,7 @@ int main(int argc, char *argv[])
else
{
TV::InitKeys();
setHttpProxy();

if (!UpgradeTVDatabaseSchema(false))
{
Expand Down
3 changes: 3 additions & 0 deletions mythtv/programs/mythtv-setup/main.cpp
Expand Up @@ -41,6 +41,7 @@
#include "commandlineparser.h"
#include "profilegroup.h"
#include "signalhandling.h"
#include "mythmiscutil.h"

using namespace std;

Expand Down Expand Up @@ -368,6 +369,8 @@ int main(int argc, char *argv[])
return GENERIC_EXIT_DB_ERROR;
}

setHttpProxy();

if (use_display)
{
GetMythUI()->LoadQtConfig();
Expand Down

0 comments on commit a13f121

Please sign in to comment.