[mythtv] ttvdb v2 support for 0.27 (and IPv6)

Peter Bennett pgbennett at comcast.net
Tue Aug 29 12:22:53 UTC 2017



On 08/29/2017 12:06 AM, faginbagin wrote:
> Thanks for the reassurance. Just to be sure we're on the same page. 
> the 0.27 code in mythtv/bindings/python/MythTV/database.py, starting 
> around line 1359, with these lines:
>
>     def _getpreferredaddr(self, host):
>         ip6 = self.settings[host].BackendServerIP6
>         ip4 = self.settings[host].BackendServerIP
>
> didn't work for IPv6? If they did work, it should be OK, because I 
> preserved them, not the later code that replaced 8 lines with just 
> this one:
>
>         return self.settings[host].BackendServerAddr
>
> Regards,
> Helen
That one line will only work in v29. That BackendServerAddr was only 
introduced in v29. I recommend you look at the v0.28 versions of the 
bindings for backporting to 0.27. Did you try just cherry-picking the 
commit into fixes/0.27?

Peter


More information about the mythtv-dev mailing list