Ticket #13090: 20170915_ticket_13090_setup_autodetect.patch

File 20170915_ticket_13090_setup_autodetect.patch, 588 bytes (added by Peter Bennett, 2 years ago)

Patch to prevent autodetect in mythtv-setup

  • mythtv/programs/mythtv-setup/main.cpp

    diff --git a/mythtv/programs/mythtv-setup/main.cpp b/mythtv/programs/mythtv-setup/main.cpp
    index a6833dc..0037837 100644
    a b int main(int argc, char *argv[]) 
    394394
    395395    gContext = new MythContext(MYTH_BINARY_VERSION);
    396396
    397     if (!gContext->Init(use_display)) // No Upnp, Prompt for db
     397    if (!gContext->Init(use_display,false,true)) // No Upnp, Prompt for db
    398398    {
    399399        LOG(VB_GENERAL, LOG_ERR, "Failed to init MythContext, exiting.");
    400400        return GENERIC_EXIT_NO_MYTHCONTEXT;