Skip to content

Mythweb still uses the setting 'MasterServerIP' albeit obsolete #89

@rcrdnalor

Description

@rcrdnalor

On a fresh install, I get an empty page of the page mythweb/status, like http://localhost/mythweb/status/
Visiting the source of that page, I find this statement when retrieving http://localhost/mythweb/status

<div id="content_wrapper">
<!-- Obtained from:  http://:6544 -->

</div>

This is caused by mythweb using the obsolete setting of MasterServerIP in
https://github.com/MythTV/mythweb/blob/92f0f9bc6d15f6d6534e5d5e40bdddbb6f431254/modules/status/handler.php#L14C81-L14C81

    $masterhost = preg_replace('@(.*?:.*)@', "[$1]", setting('MasterServerIP'));

Within MythTV, the function GetMasterServerIP wthin MythTV now retuns the evaluation of

https://github.com/MythTV/mythtv/blob/c909c36018eec4dc570b9a5d67592850c76c40ac/mythtv/libs/libmythbase/mythcorecontext.cpp#L962
which shows that MasterServerIP is not a static setting setting anymore.

I found multiple usages of ´MasterServerIP` within mythweb, please eveluate every occurrence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions