Kodi Community Forum

Full Version: Mythtv and XBMC communication (protocol issue ?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I don't known if this the right section to post this ... sorry if it doesn't.

I use a mythbuntu 10.04 with:
Mythtv 0.23.0+fixes24158-0ubuntu2
XBMC-pvr from Lars release 10.5-dharma+pvr-odk48
mythbox script 1.0.2

Live tv works well, but I can't switch channel in using the nmeric keys of the ir remote. It works if I use the channel + / channel -.

When I wath live tv and I press for exemple 5, this happen:

In xbmc log:

Code:
15:54:22 T:2873944944 M:1822986240   DEBUG: ChangeChannel - channel change started
15:54:22 T:2873944944 M:1822986240   DEBUG: ChangeChannel - chainging channel to -ROM
15:54:22 T:3077000048 M:1837334528   DEBUG: Process - MythTV event DONE_RECORDING
15:54:23 T:3077000048 M:1838350336   DEBUG: Process - MythTV event LIVETV_CHAIN_UPDATE: LIVETV_CHAIN UPDATE live-HTPC-2011-03-13T15:53:56
15:54:23 T:3077000048 M:1842540544   DEBUG: Process - MythTV event UNKNOWN (error?)
15:54:24 T:2916789104 M:1842610176   DEBUG: Thread 2916789104 terminating (autodelete)
15:54:24 T:2855267184 M:1842745344   DEBUG: CDVDPlayerAudio:: Discontinuity - was:19430914.940324, should be:19443053.001645, error:12138.061322
15:54:24 T:2897234800 M:1842745344   DEBUG: Thread 2897234800 terminating (autodelete)

Xbmc thinks I want to go to channel "-ROM".

And in mythbackend.log:

Code:
2011-03-13 15:53:41.388 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 56!
2011-03-13 15:53:41.399 MainServer, Warning: Unknown socket closing MythSocket(0x84eafa8)
2011-03-13 15:53:41.400 MainServer::ANN Playback
This lines several times. So,BEFORE I press a channel key.

And when I try changing channel:

Code:
2011-03-13 15:54:22.587 GetChannelData() failed because it could not
            find channel number '-ROM' in DB for source '1'.
2011-03-13 15:54:22.601 ChannelBase(1): IsTunable(DVBInput,-ROM) Failed to find channel in DB on input '1'
2011-03-13 15:54:22.609 ChannelBase(1) Error: Setting start channel '-ROM' failed,
            and we failed to find any suitible channels on any input.
2011-03-13 15:54:22.860 DVBChan(1:/dev/dvb/adapter0/frontend0) Error: SetChannelByString(-ROM): CheckChannel failed.
            Please verify the channel in the 'mythtv-setup' Channel Editor.
2011-03-13 15:54:22.861 TVRec(1) Error: Failed to set channel to -ROM. Reverting to kState_None
2011-03-13 15:54:22.869 TVRec(1): Changing from WatchingLiveTV to None
And mythbackend takes 100 to 120 % cpu load ...

All others features (schedule a record, tv guide, and so on) works well.
I don't think it's a LIRC issue: xbmc prints correctly the key pressed.

I think it could be a protocol issue.

The file protocol.py of SVN for mythox is exactly the same as mine.

So, would you have some ideas, advices ...? Could I make others tests, where could I find a track ....?

Thanks a lot.
Best regards
Gulliver Wrote:Hello,

I don't known if this the right section to post this ... sorry if it doesn't.

I use a mythbuntu 10.04 with:
Mythtv 0.23.0+fixes24158-0ubuntu2
XBMC-pvr from Lars release 10.5-dharma+pvr-odk48
mythbox script 1.0.2

If its a mythbox issue you would be better posing in the mythbox thread:

http://forum.xbmc.org/showthread.php?tid...ht=mythbox

thanks,

Dubstar_04
Hello,

I don't known if it's a specific mythbox issue.
I've got the same behavior If I use a myth:// source added for videos.

I'd like to where the issue begins ... mythbox logs are clean, so how to now ?
Best regards
Hello,

I increased loglevel for xbmc and I found that's not an issue with the protocol release (8, 56,...).
And no more an issue with mythbox as this doesn't work better in using myth:// source.

But when I switch channel, I've got:

(cmyth)cmyth_event_get: unknown mythtv BACKEND_MESSAGE 'RECORDING_LIST_CHANGE UPDATE'

So I'm afraid I'm concerned by this ticket:
http://trac.xbmc.org/ticket/8680

Does the patch created is still usefull ? I don't find anything about 'RECORDING_LIST_CHANGE UPDATE' for the concerned files in the GIT repository of Lars Opdenkamp.

Thanks for any advices and ideas.
Best regards
Gulliver
my repo on github probably doesn't contain the last mythtv code yet.
check out dteirney's fork: https://github.com/dteirney/xbmc
Hello,

Thanks, I'm going to look at this and try it.
Just one more question: which branche do I have to choose ? Dharma, master, myth or pvr ?
Thanks again.
Best regards