Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#4280 closed patch (wontfix)

Allow defining different versions of the XML without having to increment the protocol version.

Reported by: Andrew Ruthven <andrew@…> Owned by: dblain
Priority: minor Milestone: 0.24
Component: MythTV - UPnP Version: head
Severity: medium Keywords:
Cc: Rob Smith Ticket locked: no

Description

Currently the only way to determine if the XML formatting is different is look at the MythTV Protocol attribute and see if that has changed.

It is unlikely that the developers will want to change the protocol version just because the XML format has changed. This patch adds a new XmlVer? attribute which can be changed independently from the main protocol version.

Example output is:

<Status version="0.21.20071202-1" protoVer="36" xmlVer="1" ISODate="2007-12-07T11:14:30" time="11:14 AM" date="12/7/2007" >

Attachments (2)

0003-Allow-defining-different-versions-of-the-XML-without.patch (1.5 KB) - added by Andrew Ruthven <andrew@…> 12 years ago.
0003-Allow-defining-different-versions-of-the-XML-without.2.patch (1.7 KB) - added by Andrew Ruthven <andrew@…> 12 years ago.
Updated patch that also adds a comment block about the new constant.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by Andrew Ruthven <andrew@…>

Changed 12 years ago by Andrew Ruthven <andrew@…>

Updated patch that also adds a comment block about the new constant.

comment:1 Changed 11 years ago by Rob Smith

Cc: Rob Smith added

comment:2 Changed 10 years ago by stuartm

Component: mythtvMythTV - UPnP
Milestone: unknown0.23
Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:3 Changed 10 years ago by dblain

Owner: changed from stuartm to dblain

comment:4 Changed 10 years ago by robertm

Milestone: 0.230.24

Pushing to .24 since we are in feature freeze. May no longer apply once dblains upcoming changes are applied?

comment:5 Changed 9 years ago by robertm

Resolution: wontfix
Status: acceptedclosed

Just don't think there is any interest in this-- we don't do anything with the status XML and nobody that I know of wants to increment yet another attribute.

comment:6 Changed 9 years ago by beirdo

This may all come out in the wash if/when we redesign the protocol stuff anyways.

comment:7 Changed 9 years ago by andrew@…

Hi,

In which case, please increment the protocol version if the XML format changes, it certainly complicates things for consumers of the XML if the format changes with no version change.

Cheers!

Note: See TracTickets for help on using tickets.