Problem with mythtv in xbmc built from svn
#1
I have just upgraded my XBMC installation to the latest from svn. My version is: XBMC PRE-10.5 r35575. I run Ubuntu 10.10.

Now the playback of recorded programs from my mythtv backend does not work anymore. Is there a protocol problem? I run an ancient Mythtv installation (version 20).

I can browse the content of the myth box from my XBMC without problem, including thumbnails for each film, but when I try to play it, nothing happens.

In the xbmc.log I get the following:

Code:
22:17:50 T:3077613424 M:3214245888   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
22:17:50 T:3077613424 M:3214245888   DEBUG: OnKey: return (f00d) pressed, action is Select
22:17:50 T:3077613424 M:3214245888   DEBUG: new file set audiostream:0
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers(myth://192.168.0.11/recordings/4_20081021224000.mpg)
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: hdhomerun/myth/rtmp/mms/udp
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: adding player: DVDPlayer (1) for rule: hdhomerun/myth/rtmp/mms/udp
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
22:17:50 T:3077613424 M:3214245888   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
22:17:50 T:3077613424 M:3214118912   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
22:17:50 T:3077613424 M:3212849152  NOTICE: DVDPlayer: Opening: myth://192.168.0.11/recordings/4_20081021224000.mpg
22:17:50 T:3077613424 M:3212849152 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:17:50 T:2889632624 M:3212849152   DEBUG: thread start, auto delete: 0
22:17:50 T:2889632624 M:3212849152  NOTICE: Creating InputStream
22:17:50 T:2889632624 M:3212849152   DEBUG: AquireSession - Aquired existing MythTV session: 0xaba90e0
22:17:50 T:3077613424 M:3213303808   DEBUG: ------ Window Init (DialogBusy.xml) ------
22:17:50 T:3077613424 M:3213303808   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
22:17:51 T:2889632624 M:3212922880   ERROR: SetupRecording - unable to connect to file
22:17:51 T:2889632624 M:3212922880   DEBUG: ReleaseSession - Releasing MythTV session: 0xaba90e0
22:17:51 T:2889632624 M:3212922880   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://192.168.0.11/recordings/4_20081021224000.mpg]
22:17:51 T:2889632624 M:3212922880  NOTICE: CDVDPlayer::OnExit()
22:17:51 T:2889632624 M:3212922880  NOTICE: CDVDPlayer::OnExit() deleting input stream
22:17:51 T:2889632624 M:3212922880   DEBUG: Thread 2889632624 terminating
22:17:51 T:3077613424 M:3212922880   DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
22:17:51 T:3077613424 M:3212922880   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://192.168.0.11/recordings/4_20081021224000.mpg]
22:17:51 T:3077613424 M:3212922880   DEBUG: Playlist Player: one or more items failed to play... aborting playback
22:17:51 T:3077613424 M:3212922880    INFO: Loading skin file: DialogOK.xml
22:17:51 T:3077613424 M:3212922880   DEBUG: Load DialogOK.xml: 4.13ms
22:17:51 T:3077613424 M:3212922880   DEBUG: ------ Window Init (DialogOK.xml) ------
22:17:51 T:3077613424 M:3212922880   DEBUG: Alloc resources: 0.24ms (0.00 ms skin load)
22:17:51 T:3077613424 M:3212922880  NOTICE: CDVDPlayer::CloseFile()
22:17:51 T:3077613424 M:3212922880 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:17:51 T:3077613424 M:3212922880  NOTICE: DVDPlayer: waiting for threads to exit
22:17:51 T:3077613424 M:3212922880  NOTICE: DVDPlayer: finished waiting
22:17:51 T:3077613424 M:3214102528   DEBUG: ------ Window Deinit (DialogBusy.xml) ------

The ERROR lines above are:
Code:
22:17:51 T:2889632624 M:3212922880   ERROR: SetupRecording - unable to connect to file
22:17:51 T:2889632624 M:3212922880   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://192.168.0.11/recordings/4_20081021224000.mpg]
22:17:51 T:3077613424 M:3212922880   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://192.168.0.11/recordings/4_20081021224000.mpg]

I have sniffed the network traffic and confirmed that the XBMC box is talking to the Mythtv box on port 6543, but I have no clue what goes wrong.

With my previous installation of XBMC whichh was the precompiled version for Ubuntu 10.10 I did not have this problem.
Reply
#2
I checked the updates made on the libcmyth recently and stepped back to revision 35199 for libcmyth. That fixed the problem.

The change made in revision 35200 according to the log is:
Code:
Added: #10650. Lookup the IP address of the host to be used for myth:// playback using the Myth Protocol QUERY_SETTING command. This removes the need to have the MythTV master or slave backend hostnames resolvable on the XBMC machine.

Apparently that fix does not work against a mythbackend of version 20.
Reply
#3
Myth 0.20 was released on 11th September 2006. File a trac ticket if you really want to stay on a release that is over 4 years old.
Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with mythtv in xbmc built from svn0