[mythtv] [mythtv-commits] Ticket #8877: Add unique token check to protocol handshake

Raymond Wagner raymond at wagnerrp.com
Tue Sep 7 03:04:15 UTC 2010


  On 9/6/2010 22:38, Chris Adams wrote:
> On Tue, Sep 7, 2010 at 8:01 AM, MythTV<mythtv at cvs.mythtv.org>  wrote:
>>   This was motivated by a recent discussion in the mailing list where the
>>   'libcmyth' library was touted as a well maintained interface for accessing
>>   MythTV, while it has not actually been updated since protocol version 44
> This patch is designed to deprive people of alternatives - so it goes
> against the whole point of open source. Why would you not want people
> to mix and match so they get the best stuff open source has to offer?

The code is open source, readable by anyone.  All that is necessary for 
a 3rd party interface to continue supporting the backend protocol is to 
tweak one single line.  As proof, look at the minimal change needed to 
go into the perl, python, and php bindings.

The version check is there for a reason.  Both sides are supposed to 
agree on a level of compatibility, to ensure the communication is 
proper.  Current 3rd party applications which allow blanket access to 
all versions of the protocol, past, present, and future, are a 
disservice to everyone involved.

There is nothing preventing one from supporting multiple versions of the 
protocol in one program.  Just maintain a lookup table of protocol 
versions to tokens.  This is an attempt to provide some sort of 
incentive to look at the code and actually see what changed, to make 
sure nothing has broken.


More information about the mythtv-dev mailing list