View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Mar 04, 2009 2:07 pm 
Offline
Joined: Fri Feb 08, 2008 9:19 pm
Posts: 70
I'd like to try to set up a minimyth frontend for use with my
KM 5.5 backend, but I can't figure out if I'm going to have
protocol version mismatch issues.

What protocol version is R5.5 using? I don't see it mentioned
anywhere in the changelog.

Do all changes to the protocol protocol version number indicate
incompatibility, or are some changes backward compatible?

Minimyth currently has two versions of Myth available:

0.20.2 (changeset 16082)

0.21.0 (changeset 19778)

If I'm reading http://www.mythtv.org/wiki/Myth_Protocol
correctly, changeset 16082 is using protocol version 39, and
changeset 19778 is using an unknown protocol number >= 42.

The only thing I can find in KM that looks like it might be a
changeset number is

Source code version : 14463M

It looks like changeset 14463 is using protocol version 35.

I presume I've got a better chance of compatibility with KM
R5.5 using 0.20.2 than using 0.21.0. But, 35 != 39, and it
would be nice to know if 0.20.2 was going to be compatible
before I go to the trouble of setting up the FE box.

Is MythTv's protocol versioning as big a mess as it appears? It
looks like it's simply not reasonable to expect to run a
frontend and backend that weren't build from exactly the same
source tree. Yet users of MiniMyth must be using _something_
else as a backend, since MiniMyth was traditionally a FE-only
distro (recently it's included slave-BE abilities).

_________________
Grant


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 2:22 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
No Recommended!

I believe the protocol is the same but there have been some major changes to the DBschema version.
R5F27 DBSchemaVer 1160 (myth .20.2?)
R5.5 DBSchemaVer 1214 (myth .21.?)

I had a ubuntu .21 frontend connect to my KM .20.2 backend and it upgraded the DB for me and caused all sorts of problems.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=18480&postdays=0&postorder=asc&start=8


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 2:37 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
Grant,
Not sure if this helps but when I upgraded to R5.5 I had to upgrade my sons MythTV Player due to the protocol change.

His mythtvplayer version 0.4.2 lists this in the changelog.
Quote:
-----------------------------
- Changelog for MythTv Player
-----------------------------

0.4.2 (10 March 2008)
- Bugfix: Player sometimes hung in "opening" due to a bug in the threading code.
This bug could also result in other strange behavior.
- Bugfix: A deadlock sometimes occurred when changing mode while moving the window.
Also fixed issue where mouse was suddenly not removed in fullscreen.
- Protocol versions up to 40 supported as default. (Up to MythTv 0.21)


I can't recall what R5f27 was but I had to make the mythtv player change because it didn't know the new protocol.

hth.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 4:46 pm 
Offline
Joined: Fri Feb 08, 2008 9:19 pm
Posts: 70
goofee wrote:
No Recommended!

That's encouraging. ;)
Quote:
I believe the protocol is the same but there have been some major changes to the DBschema version.
R5F27 DBSchemaVer 1160 (myth .20.2?)
R5.5 DBSchemaVer 1214 (myth .21.?)

AFAICT from the changelog, R5.5 and R5F27 are both 0.20.1.
That's the most recent version listed in the changelog file
prior to R5.5.

However, my R5F27 system says this in /etc/mythtv/version
Code:
Library API version     : 0.20.20070821-1
Source code version     : 14463M

I'm a bit lost as to how one determines what version of MythTv
is in a given version of KM.

Quote:
I had a ubuntu .21 frontend connect to my KM .20.2 backend and
it upgraded the DB for me and caused all sorts of problems.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=18480&postdays=0&postorder=asc&start=8

Despite what's in the changelog file, I think my R5F27 backend
is 0.20.2. So, I'm hoping that a MiniMyth frontend running
0.20.2 will work (or at least won't cause permanent damage).

I've never had any luck with auto-upgrading, so whenever I get
around to it, I'll probably just do a clean install of R6 and
manually transfer some of the database tables.

_________________
Grant


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 5:12 pm 
Offline
Joined: Thu Apr 03, 2008 11:42 pm
Posts: 114
Location: Calgary, Canada
Yes for MythTV Player it allows you to specify the range of acceptable protocols, so all one has to do was increase this to I think 41 or 42 to get it to work with R5.5. Playing and deleting recordings works fine for me here, so it seems like the protocol is fairly backwards-compatible.

The only thing that doesn't seem to work anymore is LiveTV but I'm not sure if that's because of the protocol or if it's because my tuner number changed from 1 (under R5F27) to 65 (R5.5) and now it can't find it. Anyhow LiveTV is flaky on Player as it is.

The question then is does a real (full) frontend use the protocol or a direct DB connect, and from what goofee said it sounds like the latter...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 8:35 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
Grant_Edwards wrote:
AFAICT from the changelog, R5.5 and R5F27 are both 0.20.1.


R5F27 is 0.20.2 AFAIR ( at the time I used 0.20.2 generic myth as an MBE with R5F27 front ends)

R5.5 is 0.21-fixes

I agree with paulsid with mythtv player. I run the latest R5.1pre10 and had to edit the config file to up the protocol version. But mythtv player simply uses the protocol and not the schema so that is ok.

I now have R5.5 running on the front ends and MBE. I have a slave BE running generic (and more recent) 0.21 out of atrpms with no issue.

I'm told that in general releases at the same version should be protocol compatible so if minimyth is available as 0.21-fixes then you should be ok.

Just remember to back-up your database just in case!!!

C


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 05, 2009 1:40 am 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Sorry. My bad. :oops:
I miss read your first post as you were hoping to connect a minimyth .20.2 frontend with a .21 backend. That I wouldn't recommend.
I have 2 different changesets of the same release .21 runing without issue. I agree that running different changesets _shouldn't_ matter as long as they are the same release.
Sorry.


Top
 Profile  
 
PostPosted: Thu Mar 05, 2009 4:27 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Grant_Edwards wrote:
What protocol version is R5.5 using?

Code:
% telnet 192.168.0.14 6543
Trying 192.168.0.14...
Connected to 192.168.0.14.
Escape character is '^]'.
21      MYTH_PROTO_VERSION 43
13      REJECT[]:[]40

That tells me that my 5.5 BE is using 40. You can also do:
Code:
% ssh 192.168.0.14   
Welcome to KnoppMyth (Kernel 2.6.23-chw-4)

Last login: Wed Mar  4 22:27:48 2009 from macbook
nigel@mythtv-server:~$ mythbackend --version
Please include all output in bug reports.
MythTV Version   : 17686M
MythTV Branch    : branches/release-0-21-fixes
Library API      : 0.21.20080304-1
Network Protocol : 40
...


Quote:
Do all changes to the protocol protocol version number indicate
incompatibility

Yes. It is possible to compile MythTV to ignore the protocol differences, but you risk breaking things.

Quote:
Is MythTv's protocol versioning as big a mess as it appears?

Not all. If you stick to major releases (0.19, 0.20, 0.21), you have no problems :-)

That MythTV Wiki page now lists some release versions in the table. Doesn't help much if you want to match it to KnoppMyth versions, though.

...
Try http://www.knoppmythwiki.org/index.php? ... h_Releases

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu