XBMC as a Windows client for MythTV
#1
I can't get MythTV working at all with XBMC. I have the UPnP working and that kind of thing but as far as the live tv goes, I just can't get it to do anything at all.

I have the official myth frontend working on a linux machine and I have "MythTV Player" working as a frontend on Windows machines to watch live tv and recordings but I was hoping to replace them with xbmc, which seems to be far better than both of those.

The log is not very helpful:
Code:
22:34:55 T:5264 M:4154707968  NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/1.ts
22:34:55 T:5264 M:4154687488 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:34:55 T:5740 M:4154638336  NOTICE: Creating InputStream
22:34:59 T:5740 M:4154605568   ERROR: XFILE::CCMythFile::SetupLiveTV - unable to spawn live tv: Failed to setup livetv.
22:34:59 T:5740 M:4154605568   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/channels/1.ts]
22:34:59 T:5740 M:4154605568  NOTICE: CDVDPlayer::OnExit()
22:34:59 T:5740 M:4154601472  NOTICE: CDVDPlayer::OnExit() deleting input stream
22:34:59 T:5264 M:4154597376   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]/channels/1.ts]
22:35:01 T:5264 M:4154941440  NOTICE: CDVDPlayer::CloseFile()
22:35:01 T:5264 M:4154941440 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:35:01 T:5264 M:4154941440  NOTICE: DVDPlayer: waiting for threads to exit
22:35:01 T:5264 M:4154941440  NOTICE: DVDPlayer: finished waiting

The debug log seems to be equally useless (just more cannot open 1.ts stuff)

I can see in mythweb that the recorder status shows it on the channel I select in xbmc right until I close xbmc.

I have checked that the password works. If I use an older XBMC the guide shows entries (though it is completely mangled, which I assume is why it has been disabled)

I have also tried using mythbox to access it but it didn't help at all.

The backend is MythTV 0.21 on Debian and I'm using the current 9.11 windows binary of xbmc.

Can anyone please tell me how to get this working?
Reply
#2
First...be careful, very careful, mixing a .22 front end with a .21 backend.

I still dont know how but I've seen a .22 front end trigger a database schema update hosing a .21 backend in the process Shocked.

So before doing anything backup your .21 backend database!!! Nod

My guess is its a variant on this .21 / .22 schema issue thats causing the issue, the backend is switching as requested but the frontend then doesnt get the update from the database to say its ready.

I would check the mythtv-backend.log file (probably /var/logs/mythtv/mythtv-backend.log - on your backend obviously) and see whats being written into there when you try to select things from xbmc..... but backup your database first Nerd
Reply
#3
Thanks but I tried upgrading the backend to 0.22 and it made no difference whatsoever. It just made me need to switch my MythTV Player installations from 0.5 to 0.6 on every machine.
Reply
#4
Hi, did you ever get this resolved. I have a similar problem.

Code:
I    xbmc.log (Modified)                                                                             Row 81   Col 1    9:06  Ctrl-K H for help
09:05:17 T:2853788528 M:1824014336   ERROR: SetupRecording - unable to connect to file
09:05:17 T:2853788528 M:1824014336   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/recordings/1004_201003
09:05:17 T:2853788528 M:1824014336  NOTICE: CDVDPlayer::OnExit()
09:05:17 T:2853788528 M:1824014336  NOTICE: CDVDPlayer::OnExit() deleting input stream
09:05:17 T:3078702960 M:1824014336   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]/recordings/1004
09:05:17 T:3078702960 M:1824014336  NOTICE: CDVDPlayer::CloseFile()
09:05:17 T:3078702960 M:1824014336 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:05:17 T:3078702960 M:1824014336  NOTICE: DVDPlayer: waiting for threads to exit
09:05:17 T:3078702960 M:1824014336  NOTICE: DVDPlayer: finished waiting
09:05:29 T:3078702960 M:1823657984  NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/recordings/1028_20100311210000.mpg
09:05:29 T:3078702960 M:1823657984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:05:29 T:2845395824 M:1823657984  NOTICE: Creating InputStream
09:05:29 T:2845395824 M:1823657984   ERROR: SetupRecording - unable to connect to file
09:05:29 T:2845395824 M:1823657984   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/recordings/1028_201003
09:05:29 T:2845395824 M:1823657984  NOTICE: CDVDPlayer::OnExit()
09:05:29 T:2845395824 M:1823657984  NOTICE: CDVDPlayer::OnExit() deleting input stream
09:05:29 T:3078702960 M:1823657984   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]/recordings/1028
09:05:29 T:3078702960 M:1823657984  NOTICE: CDVDPlayer::CloseFile()
09:05:29 T:3078702960 M:1823657984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:05:29 T:3078702960 M:1823657984  NOTICE: DVDPlayer: waiting for threads to exit
09:05:29 T:3078702960 M:1823657984  NOTICE: DVDPlayer: finished waiting

Here is my xbmc.log file, although it really only seems to tell me what I already know, i.e. that it can't open the file to stream it.

In my MythBackend, I have it set to the machine's own IPAddress as opposed to Localhost, and the MythFrontend on the same machine as XBMC runs fine.

I'm using Ubuntu 9.10 on both boxes (Myth server and frontend), and the latest xbmc from the repos.

I'm obviously missing something simple, I just don't have a clue what it is ;-)



EDIT: Oops. I had read that the client machine needs the server *name* in the hosts file (/etc/hosts), yet I foolishly believed I didn't need to do this as I was using IP Addresses instead of names. I guess the server sends the name to the xbmc client and it needs to resolve it. Added the name of the server into the hosts file and it worked immediately!
Reply
#5
No, I didn't, and upgrading the backend made everything far worse so I ended up wiping that machine, starting again and giving up on XBMC.

You *should* be able to get the name from netbios without having to add it to your hosts file, but I would just stick to static IP addresses on your LAN if I were you. The hosts file is essentially static anyway, as it will not cope with DHCP or other IP address changes to the server, if your server is not on a fixed, static IP address.
Reply
#6
Hi. That's a shame.

I did get it working, but it really did need the name in the /etc/hosts file for some reason.

However, I'm not sure live-tv on the xbmc is quite ready yet, so I'm now looking for a way to execute an external command from a XBMC menu to shell MythFrontend when I want to watch LiveTV or recordings.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC as a Windows client for MythTV0