Mailing List Archive

Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-----------------------------------+--------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
-----------------------------------+--------------------------
Ticket #13024 : Networking Improvements introduced new settings
for '!MasterServerName', '!BackendServerAddr' and '!BackendServerPort'
and deprecates '!MasterServerIP' and '!MasterServerPort'.

'!BackendServerAddr' can be an IPv4 or IPv6 in the classical
"dot/colon" notation, or is provided in it's canonical form.

{{{
From settings table:

| value | data | hostname |
+-------------------+---------------------+----------+
| BackendServerAddr | 192.168.1.100 | myserver |
| BackendServerPort | 6543 | myserver |
| MasterServerName | myserver | NULL |
+-------------------+---------------------+----------+

or

| value | data | hostname |
+-------------------+---------------------+----------+
| BackendServerAddr | server.example.com | myserver |
| BackendServerPort | 6543 | myserver |
| MasterServerName | myserver | NULL |
+-------------------+---------------------+----------+
}}}


Thanks to Ross Boylan for pointing this out in the user mailing list and
to and to Peter Bennett for additional explanation.

The workaround until this ticket gets fixed is to use only
IP addresses in the ".dot" notation and take care, that the
"!MasterServerIP" is identical to the "!BackendServerAddr".

Attached patch uses these new settings for the Python Bindings
instead of the deprecated ones.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+------------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------+------------------------------
Changes (by rcrdnalor):

* Attachment "Python_Replace_deprecated_settings.patch" added.

Replace deprecated settings 'MasterServerIP' and 'MasterServerPort'

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+------------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: assigned
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------+------------------------------
Changes (by rcrdnalor):

* Attachment "0001-BackendServerAddr-and-MasterServerName-replaced-
Mast.patch" added.

Updated patch for replacing deprecated setting 'MasterServerIP'

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+------------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------+------------------------------
Changes (by Roland Ernst <rcrernst@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"105faee393b682e79a336d7ee893f82f8c10a896/mythtv"
105faee393/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="105faee393b682e79a336d7ee893f82f8c10a896"
BackendServerAddr and MasterServerName replaced MasterServerIP

in V30, according ticket #13024.

Replace any occurrences of the deprecated settings and allow
'BackendServerAddr(MasterServerName)' to be an alias for the
host-ip as well.

Fixes #13593
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+------------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------+------------------------------

Comment (by Stuart Auchterlonie):

Roland,

does this need to be cherry-picked back to fixes/31?


Regards
Stuart

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+-----------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 32.0
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------+-----------------------------
Changes (by Stuart Auchterlonie):

* milestone: needs_triage => 32.0


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+-----------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 31.1
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------+-----------------------------
Changes (by rcrdnalor):

* milestone: 32.0 => 31.1


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13593: Python: Use 'MasterServerName' instead of 'MasterServerIP' [ In reply to ]
#13593: Python: Use 'MasterServerName' instead of 'MasterServerIP'
-------------------------------+-----------------------------
Reporter: rcrdnalor | Owner: rcrdnalor
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 31.1
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------+-----------------------------

Comment (by Roland Ernst <rcrernst@…>):

In [changeset:"c8e779649384e9810bf8b2262a8f928b1986994d/mythtv"
c8e779649/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="c8e779649384e9810bf8b2262a8f928b1986994d"
BackendServerAddr and MasterServerName replaced MasterServerIP

in V30, according ticket #13024.

Replace any occurrences of the deprecated settings and allow
'BackendServerAddr(MasterServerName)' to be an alias for the
host-ip as well.

Fixes #13593

(cherry picked from commit 105faee393b682e79a336d7ee893f82f8c10a896)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13593#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center