[RELEASE] Myth2XBMC Script for Xbox (Stream Live TV from MythTV to XBMC for Xbox)
#46
sliq Wrote:ahhh, my AdvancedSettings was wrong. Changing the cache size and the default player to dvdplayer fixed it, and the audio..
awesome!

I wonder why mplayer doesn't work though

Glad your problems are fixed. MPlayer probably would work, but I have found sometimes it picks the wrong audio channel when there is more than one. While playing, you can go to the audio menu in mplayer and pick another audio channel and that should allow audio to work with mplayer. But dvdplayer seems to pick the right audio channel automatically. If dvdplayer didn't have trouble with stuttering with my digital mythtv mpegs I would probably use it instead of mplayer.
Reply
#47
Firstly. Thanks for this. Great that somebody is working on an alternative xbmc xbox myth frontend. Hopefully more devs join you. Unfortunately I don't have the skills - so I'm just a grateful user.

Secondly. I hope I'm posting in the right thread. This seems to be a general myth2xbmc thread. If not, apologies.

I wanted to ask about (a) multiple storage groups and (b) transcoded mythtv shows.

Re (a) : I have 2 storage groups (ie recordings directories). I take it that the script can only support one recording group at the moment (?). If so, any plans to support more than 1 in the future?

Re (b) : I use the mythtv built-in transcoder to transcode most of my shows. I find these shows don't work with the script - you can play them from beginning to end but can't skip in them as the recording time data is nonsensical - ie shows very long/ very short total recording times. (I have the same problem in the built-in xbmc myth:// frontend). I'd be interested to know if others are able to watch shows transcoded by mythtv's internal transcoder without these problems. If so it would be great if I just needed to change my transcode settings or some similar solution.

Cheers
Reply
#48
Hi all,

after I learned that the xbmc default myth-client doesn't work for a xbox, I searched and found this script. The description sounds promising and I am really happy about someone still wasting time in this old piece of hardware;-)

After having a lot of trouble to get the box connected to my mysql-database, now the box is connected, but doesn't show any live tv channel or EPG information. I already changed the advancedsettings.xml, but this doesn't help.

I use mythtv version 0.23.1 and xbmc version .

Here is the logfile of the script.

Code:
DEBUG:root:[22] 2010-12-05 16:54:37.028000 >> Myth2XBMC Started <<
DEBUG:root:[22] 2010-12-05 16:54:37.058000 >> Log Level set to 8 <<
DEBUG:root:[22] 2010-12-05 16:54:37.062000 >> Myth2XBMC Version: 0.23.56 <<
DEBUG:root:[21] 2010-12-05 16:54:40.807000 > myth.Settings.__init__
DEBUG:root:[21] 2010-12-05 16:54:40.810000 > myth.Settings.loadSettings( filePath=[Q:\scripts\myth2xbmc\settings.xml] )
DEBUG:root:[21] 2010-12-05 16:54:40.833000 < myth.Settings.loadSettings()
DEBUG:root:[21] 2010-12-05 16:54:40.835000 > myth.Settings.verifySettings()
DEBUG:root:[21] 2010-12-05 16:54:40.836000 > myth.Settings.getSetting( tag=[mythtv_startpage] )
DEBUG:root:[21] 2010-12-05 16:54:40.837000 < myth.Settings.getSetting( tag=[mythtv_startpage] ) => [1]
DEBUG:root:[21] 2010-12-05 16:54:40.838000 > myth.Settings.getSetting( tag=[mythtv_host] )
DEBUG:root:[21] 2010-12-05 16:54:40.844000 < myth.Settings.getSetting( tag=[mythtv_host] ) => [192.168.0.198]
DEBUG:root:[21] 2010-12-05 16:54:40.847000 > myth.Settings.getSetting( tag=[mythtv_port] )
DEBUG:root:[21] 2010-12-05 16:54:40.851000 < myth.Settings.getSetting( tag=[mythtv_port] ) => [6543]
DEBUG:root:[21] 2010-12-05 16:54:40.852000 > myth.Settings.getSetting( tag=[mythtv_statusport] )
DEBUG:root:[21] 2010-12-05 16:54:40.853000 < myth.Settings.getSetting( tag=[mythtv_statusport] ) => [6544]
DEBUG:root:[21] 2010-12-05 16:54:40.854000 > myth.Settings.getSetting( tag=[mythtv_remotepathprefix] )
DEBUG:root:[21] 2010-12-05 16:54:40.856000 < myth.Settings.getSetting( tag=[mythtv_remotepathprefix] ) => [smb://xbox:[email protected]/filme]
DEBUG:root:[21] 2010-12-05 16:54:40.857000 > myth.Settings.getSetting( tag=[mythtv_localcopypath] )
DEBUG:root:[21] 2010-12-05 16:54:40.858000 < myth.Settings.getSetting( tag=[mythtv_localcopypath] ) => [e:\video]
DEBUG:root:[21] 2010-12-05 16:54:40.864000 > myth.Settings.getSetting( tag=[mysql_host] )
DEBUG:root:[21] 2010-12-05 16:54:40.868000 < myth.Settings.getSetting( tag=[mysql_host] ) => [192.168.0.198]
DEBUG:root:[21] 2010-12-05 16:54:40.870000 > myth.Settings.getSetting( tag=[mysql_port] )
DEBUG:root:[21] 2010-12-05 16:54:40.872000 < myth.Settings.getSetting( tag=[mysql_port] ) => [3306]
DEBUG:root:[21] 2010-12-05 16:54:40.873000 > myth.Settings.getSetting( tag=[mysql_database] )
DEBUG:root:[21] 2010-12-05 16:54:40.874000 < myth.Settings.getSetting( tag=[mysql_database] ) => [mythconverg]
DEBUG:root:[21] 2010-12-05 16:54:40.875000 > myth.Settings.getSetting( tag=[mysql_user] )
DEBUG:root:[21] 2010-12-05 16:54:40.877000 < myth.Settings.getSetting( tag=[mysql_user] ) => [xbox]
DEBUG:root:[21] 2010-12-05 16:54:40.878000 > myth.Settings.getSetting( tag=[mysql_password] )
DEBUG:root:[21] 2010-12-05 16:54:40.883000 < myth.Settings.getSetting( tag=[mysql_password] ) => [xbox]
DEBUG:root:[21] 2010-12-05 16:54:40.888000 > myth.Settings.getSetting( tag=[mysql_encoding_override] )
DEBUG:root:[21] 2010-12-05 16:54:40.889000 < myth.Settings.getSetting( tag=[mysql_encoding_override] ) => [latin1]
DEBUG:root:[21] 2010-12-05 16:54:40.890000 > myth.Settings.getSetting( tag=[recorded_view_by] )
DEBUG:root:[21] 2010-12-05 16:54:40.892000 < myth.Settings.getSetting( tag=[recorded_view_by] ) => [2]
DEBUG:root:[21] 2010-12-05 16:54:40.893000 > myth.Settings.getSetting( tag=[upcoming_view_by] )
DEBUG:root:[21] 2010-12-05 16:54:40.894000 < myth.Settings.getSetting( tag=[upcoming_view_by] ) => [2]
DEBUG:root:[21] 2010-12-05 16:54:40.895000 < myth.Settings.verifySettings()
DEBUG:root:[21] 2010-12-05 16:54:40.896000 < myth.Settings.__init__
DEBUG:root:[21] 2010-12-05 16:54:40.897000 > myth.Settings.getSetting( tag=[mythtv_startpage] )
DEBUG:root:[21] 2010-12-05 16:54:40.905000 < myth.Settings.getSetting( tag=[mythtv_startpage] ) => [1]
DEBUG:root:[21] 2010-12-05 16:54:40.909000 > myth.Connection.__init__()
DEBUG:root:[21] 2010-12-05 16:54:40.910000 > myth.Connection.initialize()
DEBUG:root:[21] 2010-12-05 16:54:40.911000 > myth.Settings.getSetting( tag=[mythtv_host] )
DEBUG:root:[21] 2010-12-05 16:54:40.913000 < myth.Settings.getSetting( tag=[mythtv_host] ) => [192.168.0.198]
DEBUG:root:[21] 2010-12-05 16:54:40.914000 > myth.Settings.getSetting( tag=[mythtv_port] )
DEBUG:root:[21] 2010-12-05 16:54:40.915000 < myth.Settings.getSetting( tag=[mythtv_port] ) => [6543]
DEBUG:root:[21] 2010-12-05 16:54:40.916000 > myth.connection.connect(192.168.0.198,False,True)
DEBUG:root:[21] 2010-12-05 16:54:40.918000 > sendRequest: ['MYTH_PROTO_VERSION 0']
DEBUG:root:[21] 2010-12-05 16:54:40.922000 > sendMsg
DEBUG:root:[21] 2010-12-05 16:54:40.925000 msg=[20      MYTH_PROTO_VERSION 0]
DEBUG:root:[21] 2010-12-05 16:54:40.929000 < sendMsg
DEBUG:root:[21] 2010-12-05 16:54:40.930000 > readMsg()
DEBUG:root:[21] 2010-12-05 16:54:40.931000 retMsg: 16      
DEBUG:root:[21] 2010-12-05 16:54:40.932000 retMsg: 16      
DEBUG:root:[21] 2010-12-05 16:54:40.933000 reply len: 16
DEBUG:root:[21] 2010-12-05 16:54:40.934000 < readMsg: [REJECT[]:[]23056]
DEBUG:root:[21] 2010-12-05 16:54:40.935000 < sendRequest: ['REJECT', '23056']
DEBUG:root:[21] 2010-12-05 16:54:40.936000 getServerVersion: REJECT 23056
DEBUG:root:[21] 2010-12-05 16:54:40.937000 > myth.Connection.negotiateProtocol
DEBUG:root:[21] 2010-12-05 16:54:40.938000 > sendRequest: ['MYTH_PROTO_VERSION 23056']
DEBUG:root:[21] 2010-12-05 16:54:40.944000 > sendMsg
DEBUG:root:[21] 2010-12-05 16:54:40.945000 msg=[24      MYTH_PROTO_VERSION 23056]
DEBUG:root:[21] 2010-12-05 16:54:40.946000 < sendMsg
DEBUG:root:[21] 2010-12-05 16:54:40.947000 > readMsg()
DEBUG:root:[21] 2010-12-05 16:54:40.948000 retMsg: 16      
DEBUG:root:[21] 2010-12-05 16:54:40.949000 retMsg: 16      
DEBUG:root:[21] 2010-12-05 16:54:40.950000 reply len: 16
DEBUG:root:[21] 2010-12-05 16:54:40.951000 < readMsg: [ACCEPT[]:[]23056]
DEBUG:root:[21] 2010-12-05 16:54:40.952000 < sendRequest: ['ACCEPT', '23056']
DEBUG:root:[21] 2010-12-05 16:54:40.953000 MythTV Protocol version is: 23056
DEBUG:root:[21] 2010-12-05 16:54:40.954000 myth.Connection.connect() ERROR: 23056
DEBUG:root:[21] 2010-12-05 16:54:40.955000 myth.Connection.initialize() ERROR: 23056
DEBUG:root:[21] 2010-12-05 16:54:43.285000 > myth.Settings.loadSettings( filePath=[Q:\scripts\myth2xbmc\settings.xml] )
DEBUG:root:[21] 2010-12-05 16:54:43.294000 < myth.Settings.loadSettings()
DEBUG:root:[21] 2010-12-05 16:54:43.295000 > myth.Settings.verifySettings()
DEBUG:root:[21] 2010-12-05 16:54:43.296000 > myth.Settings.getSetting( tag=[mythtv_startpage] )
DEBUG:root:[21] 2010-12-05 16:54:43.297000 < myth.Settings.getSetting( tag=[mythtv_startpage] ) => [1]
DEBUG:root:[21] 2010-12-05 16:54:43.300000 > myth.Settings.getSetting( tag=[mythtv_host] )
DEBUG:root:[21] 2010-12-05 16:54:43.306000 < myth.Settings.getSetting( tag=[mythtv_host] ) => [192.168.0.198]
DEBUG:root:[21] 2010-12-05 16:54:43.310000 > myth.Settings.getSetting( tag=[mythtv_port] )
DEBUG:root:[21] 2010-12-05 16:54:43.311000 < myth.Settings.getSetting( tag=[mythtv_port] ) => [6543]
DEBUG:root:[21] 2010-12-05 16:54:43.312000 > myth.Settings.getSetting( tag=[mythtv_statusport] )
DEBUG:root:[21] 2010-12-05 16:54:43.314000 < myth.Settings.getSetting( tag=[mythtv_statusport] ) => [6544]
DEBUG:root:[21] 2010-12-05 16:54:43.315000 > myth.Settings.getSetting( tag=[mythtv_remotepathprefix] )
DEBUG:root:[21] 2010-12-05 16:54:43.316000 < myth.Settings.getSetting( tag=[mythtv_remotepathprefix] ) => [smb://ulli:[email protected]/filme]
DEBUG:root:[21] 2010-12-05 16:54:43.317000 > myth.Settings.getSetting( tag=[mythtv_localcopypath] )
DEBUG:root:[21] 2010-12-05 16:54:43.320000 < myth.Settings.getSetting( tag=[mythtv_localcopypath] ) => [e:\video]
DEBUG:root:[21] 2010-12-05 16:54:43.325000 > myth.Settings.getSetting( tag=[mysql_host] )
DEBUG:root:[21] 2010-12-05 16:54:43.328000 < myth.Settings.getSetting( tag=[mysql_host] ) => [192.168.0.198]
DEBUG:root:[21] 2010-12-05 16:54:43.331000 > myth.Settings.getSetting( tag=[mysql_port] )
DEBUG:root:[21] 2010-12-05 16:54:43.333000 < myth.Settings.getSetting( tag=[mysql_port] ) => [3306]
DEBUG:root:[21] 2010-12-05 16:54:43.334000 > myth.Settings.getSetting( tag=[mysql_database] )
DEBUG:root:[21] 2010-12-05 16:54:43.335000 < myth.Settings.getSetting( tag=[mysql_database] ) => [mythconverg]
DEBUG:root:[21] 2010-12-05 16:54:43.336000 > myth.Settings.getSetting( tag=[mysql_user] )
DEBUG:root:[21] 2010-12-05 16:54:43.338000 < myth.Settings.getSetting( tag=[mysql_user] ) => [xbox]
DEBUG:root:[21] 2010-12-05 16:54:43.341000 > myth.Settings.getSetting( tag=[mysql_password] )
DEBUG:root:[21] 2010-12-05 16:54:43.346000 < myth.Settings.getSetting( tag=[mysql_password] ) => [xbox]
DEBUG:root:[21] 2010-12-05 16:54:43.350000 > myth.Settings.getSetting( tag=[mysql_encoding_override] )
DEBUG:root:[21] 2010-12-05 16:54:43.351000 < myth.Settings.getSetting( tag=[mysql_encoding_override] ) => [latin1]
DEBUG:root:[21] 2010-12-05 16:54:43.352000 > myth.Settings.getSetting( tag=[recorded_view_by] )
DEBUG:root:[21] 2010-12-05 16:54:43.354000 < myth.Settings.getSetting( tag=[recorded_view_by] ) => [2]
DEBUG:root:[21] 2010-12-05 16:54:43.355000 > myth.Settings.getSetting( tag=[upcoming_view_by] )
DEBUG:root:[21] 2010-12-05 16:54:43.356000 < myth.Settings.getSetting( tag=[upcoming_view_by] ) => [2]

Does anybody know what's going wrong?

Thank you in advance for any help!

Best regards,
Helmut
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Myth2XBMC Script for Xbox (Stream Live TV from MythTV to XBMC for Xbox)1