Another XBMC and Mythtv not working together thread
#1
Well since I finally got my hands on a tuner card, I decided to have a go at Mythtv. I will be running this on 2 different PCs, with the Mythtv backend being on the PC with the tuner card and XBMC being the PC connected to my TV, and connected to each other over my network of course.

So when I finally managed to install the backend after some database troubles, I went through mythtv-setup where I set up the card, scanned for channels, set directories, the works.

I connect XBMC to the backend, and I get a list of channels, but when I select any of the channels, nothing happens. I made a recording through the mythweb interface, and it shows up in the recordings list, but I can't play it. So I've been searching the internet high and low all afternoon and night but now I have given up on google and hope to find my answer here Smile

A number of things I have already checked and confirmed as working/correct:
- I can log into the database from the PC running XBMC just fine
- The master user is part of the mythtv group
- The recording directory is owned by user mythtv and group mythtv

And here are some parts of the logs of both Mythtv and XBMC I think might be relevant. "media" in the logs below is the PC running XBMC with I.P 192.168.0.105 (I have already added it to both the regular hosts file and the advancedsettings.xml file on the XBMC machine).

Mythtv, first time after a backend restart:
Code:
2010-09-16 02:11:03.293 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:11:03.300 MainServer::HandleAnnounce Playback
2010-09-16 02:11:03.310 adding: media as a client (events: 0)
2010-09-16 02:11:03.311 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:11:03.319 MainServer::HandleAnnounce Playback
2010-09-16 02:11:03.326 adding: media as a client (events: 1)
2010-09-16 02:11:03.337 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:11:03.340 MainServer::HandleAnnounce Playback
2010-09-16 02:11:03.340 adding: media as a client (events: 0)
2010-09-16 02:11:03.345 TVRec(1): Changing from None to WatchingLiveTV
2010-09-16 02:11:03.352 TVRec(1): HW Tuner: 1->1
2010-09-16 02:11:04.692 NVR(/dev/video0): Unknown video codec.  Please go into the TV Settings, Recording Profiles and setup the four 'Software Encoders' profiles.  Assuming RTjpeg for now.
2010-09-16 02:11:04.696 NVR(/dev/video0) Error: Unknown audio codec
2010-09-16 02:11:04.735 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min

Mythtv, second time selecting a video after restart (mythweb says the status of the backend is watching live TV of the correct channel at this point).
Code:
2010-09-16 02:12:04.555 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:12:04.562 MainServer::HandleAnnounce Playback
2010-09-16 02:12:04.570 adding: media as a client (events: 0)
2010-09-16 02:12:04.571 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:12:04.573 MainServer::HandleAnnounce Playback
2010-09-16 02:12:04.574 adding: media as a client (events: 1)
2010-09-16 02:12:04.576 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 40!
2010-09-16 02:12:04.579 MainServer::HandleAnnounce Playback
2010-09-16 02:12:04.579 adding: media as a client (events: 0)

XBMC Log:
Code:
02:14:26 T:3033012112 M:2313801728   DEBUG: new file set audiostream:0
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers(myth://myth:[email protected]/channels/52.ts)
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: hdhomerun/myth/rtmp/mms/udp
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: adding player: DVDPlayer (1) for rule: hdhomerun/myth/rtmp/mms/udp
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
02:14:26 T:3033012112 M:2313801728 WARNING: CPlayerCoreFactory::GetPlayerCore(videodefaultplayer): no such core: mplayer
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
02:14:26 T:3033012112 M:2313801728   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
02:14:26 T:3033012112 M:2313080832  NOTICE: DVDPlayer: Opening: myth://myth:[email protected]/channels/52.ts
02:14:26 T:3008797584 M:2313080832   DEBUG: thread start, auto delete: 1
02:14:26 T:3033012112 M:2313080832 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:14:26 T:2929372048 M:2313080832   DEBUG: thread start, auto delete: 0
02:14:26 T:2929372048 M:2313080832  NOTICE: Creating InputStream
02:14:26 T:2929372048 M:2313080832   DEBUG: SECTION:LoadDLL(xbmc.so)
02:14:26 T:2929372048 M:2313080832   DEBUG: Loading Internal Library
02:14:26 T:3031276432 M:2312933376   DEBUG: thread start, auto delete: 0
02:14:26 T:2929372048 M:2312933376   ERROR: SetupLiveTV - unable to get recorder
02:14:26 T:2929372048 M:2312933376   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://myth:[email protected]/channels/52.ts]
02:14:26 T:2929372048 M:2312933376  NOTICE: CDVDPlayer::OnExit()
02:14:26 T:2929372048 M:2312933376  NOTICE: CDVDPlayer::OnExit() deleting input stream
02:14:26 T:3033012112 M:2312933376   DEBUG: OnPlayBackStopped - Playback was stopped
02:14:26 T:3033012112 M:2312933376   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://myth:[email protected]/channels/52.ts]
02:14:26 T:3033012112 M:2312933376   DEBUG: Playlist Player: one or more items failed to play... aborting playback
02:14:26 T:3033012112 M:2312933376    INFO: Loading skin file: DialogOK.xml
02:14:26 T:3033012112 M:2312933376   DEBUG: Load DialogOK.xml: 1.36ms
02:14:26 T:3033012112 M:2312933376   DEBUG: ------ Window Init (DialogOK.xml) ------
02:14:26 T:3033012112 M:2312933376   DEBUG: Alloc resources: 0.03ms (0.00 ms skin load)
02:14:26 T:3033012112 M:2312933376  NOTICE: CDVDPlayer::CloseFile()
02:14:26 T:3033012112 M:2312933376 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:14:26 T:3033012112 M:2312933376  NOTICE: DVDPlayer: waiting for threads to exit
02:14:26 T:2929372048 M:2312933376   DEBUG: Thread 2929372048 terminating
02:14:26 T:3033012112 M:2312933376  NOTICE: DVDPlayer: finished waiting
02:14:26 T:3033012112 M:2312933376   DEBUG: LinuxRendererGL: Cleaning up GL resources
02:14:26 T:3008797584 M:2313519104   DEBUG: Thread 3008797584 terminating (autodelete)
02:14:32 T:3033012112 M:2313539584    INFO: CheckIdle - closing idle connection to MythTV backend: 192.168.0.103
02:14:32 T:3031276432 M:2313539584   DEBUG: Thread 3031276432 terminating

So is there anything I may have overlooked?

Much thanks in advance.
Reply

Logout Mark Read Team Forum Stats Members Help
Another XBMC and Mythtv not working together thread0