first of all nice work,
I'm getting troubles with the script and my mysql database on a xbox, it says something like database connection failed unable to continue, but I check the same configuration information and it works from mythbox script on a windows box, where i can check logs?
[RELEASE] Myth2XBMC Script for Xbox (Stream Live TV from MythTV to XBMC for Xbox)
jurr
Junior Member Posts: 8 Joined: Jun 2009 Reputation: 0 |
2009-06-12 02:07
Post: #11
|
| find quote |
teresa
Member Posts: 83 Joined: Feb 2007 Reputation: 0 |
2009-06-12 03:25
Post: #12
Change the logLevel in default.py. Probably want to set
logLevel = mythutil.LOG_MYTH | mythutil.LOG_GUI Then look in myth2xbmc.log in the myth2xbmc directory. |
| find quote |
jurr
Junior Member Posts: 8 Joined: Jun 2009 Reputation: 0 |
2009-06-12 11:07
Post: #13
I think the mysql client version is the problem, the log says:
DEBUG:root:[30] 2008-02-03 01:53:58.722000 myth.Database.initialize() ERROR: Client does not support authentication protocol requested by server; consider upgrading MySQL client DEBUG:root:[29] 2008-02-03 01:53:58.728000 < myth.Database.initialize() DEBUG:root:[29] 2008-02-03 01:54:00.718000 MythMain.refresh ERROR: conn I'm using mysql 5.0.51a-3ubuntu5.1 as database, do you know if there is an updated py client? |
| find quote |
jurr
Junior Member Posts: 8 Joined: Jun 2009 Reputation: 0 |
2009-06-12 11:26
Post: #14
After some googling i've find that is a password version problem, to resolve the issue i've modified user password with the following mysql command:
SET PASSWORD FOR '<xbmc_user>'@'%' = OLD_PASSWORD('<xbmc_password>'); And it start working
|
| find quote |
jurr
Junior Member Posts: 8 Joined: Jun 2009 Reputation: 0 |
2009-06-12 11:50
Post: #15
Upss another problem, Live Tv seems not working properly, and tv guide also, i get this on myth2xbmc log:
DEBUG:root:[29] 2009-06-12 11:44:21.293000 < MythMain.loadPage(2) DEBUG:root:[29] 2009-06-12 11:44:21.295000 < MythMain.loadAction(main_recorded_shows) returning 1 DEBUG:root:[29] 2009-06-12 11:44:21.296000 < MythMain.onControlHook(<xbmcgui.ControlButton object at 0x013B3800>) DEBUG:root:[29] 2009-06-12 11:44:36.814000 > MythMain.onControlHook(<xbmcgui.ControlButton object at 0x013B3720>) DEBUG:root:[29] 2009-06-12 11:44:36.815000 > MythMain.loadAction(main_live_tv) DEBUG:root:[29] 2009-06-12 11:44:36.816000 > MythMain.loadPage(1) DEBUG:root:[29] 2009-06-12 11:44:37.113000 > mythlivetv.showWindow() DEBUG:root:[29] 2009-06-12 11:44:37.131000 > mythlivetv.__init__ DEBUG:root:[29] 2009-06-12 11:44:37.133000 < mythlivetv.__init__ DEBUG:root:[28] 2009-06-12 11:44:39.092000 > mythlivetv.loadPrograms() DEBUG:root:[28] 2009-06-12 11:44:39.094000 < mythlivetv.checkConnections() DEBUG:root:[28] 2009-06-12 11:44:39.096000 > myth.getChannelList DEBUG:root:[28] 2009-06-12 11:44:39.133000 < myth.getChannelList DEBUG:root:[28] 2009-06-12 11:44:39.135000 > mythlivetv.fixChannelList() DEBUG:root:[28] 2009-06-12 11:44:39.137000 < mythlivetv.fixChannelList() DEBUG:root:[28] 2009-06-12 11:44:39.138000 > myth.getProgramListings DEBUG:root:[28] 2009-06-12 11:44:39.258000 < myth.getProgramListings DEBUG:root:[28] 2009-06-12 11:44:39.260000 > mythlivetv.fixProgramList() DEBUG:root:[28] 2009-06-12 11:44:39.274000 < mythlivetv.fixProgramList() DEBUG:root:[28] 2009-06-12 11:44:39.611000 loadPrograms() exception: list index out of range DEBUG:root:[28] 2009-06-12 11:44:39.614000 MythMain.loadPage(1) ERROR: list index out of range DEBUG:root:[28] 2009-06-12 11:44:39.631000 < MythMain.loadAction(main_live_tv) returning 1 DEBUG:root:[28] 2009-06-12 11:44:39.634000 < MythMain.onControlHook(<xbmcgui.ControlButton object at 0x013B3720>) DEBUG:root:[29] 2009-06-12 11:44:44.474000 > MythMain.onControlHook(<xbmcgui.ControlButton object at 0x013B3720>) DEBUG:root:[29] 2009-06-12 11:44:44.475000 > MythMain.loadAction(main_live_tv) DEBUG:root:[29] 2009-06-12 11:44:44.476000 > MythMain.loadPage(1) DEBUG:root:[28] 2009-06-12 11:44:44.771000 > mythlivetv.showWindow() DEBUG:root:[28] 2009-06-12 11:44:44.791000 > mythlivetv.__init__ DEBUG:root:[28] 2009-06-12 11:44:44.794000 < mythlivetv.__init__ DEBUG:root:[28] 2009-06-12 11:44:46.791000 > mythlivetv.loadPrograms() DEBUG:root:[28] 2009-06-12 11:44:46.794000 < mythlivetv.checkConnections() DEBUG:root:[28] 2009-06-12 11:44:46.796000 > myth.getChannelList DEBUG:root:[28] 2009-06-12 11:44:46.831000 < myth.getChannelList DEBUG:root:[28] 2009-06-12 11:44:46.834000 > mythlivetv.fixChannelList() DEBUG:root:[28] 2009-06-12 11:44:46.836000 < mythlivetv.fixChannelList() DEBUG:root:[28] 2009-06-12 11:44:46.837000 > myth.getProgramListings DEBUG:root:[28] 2009-06-12 11:44:46.958000 < myth.getProgramListings DEBUG:root:[28] 2009-06-12 11:44:46.959000 > mythlivetv.fixProgramList() DEBUG:root:[28] 2009-06-12 11:44:46.972000 < mythlivetv.fixProgramList() DEBUG:root:[28] 2009-06-12 11:44:47.291000 loadPrograms() exception: list index out of range DEBUG:root:[28] 2009-06-12 11:44:47.294000 MythMain.loadPage(1) ERROR: list index out of range DEBUG:root:[28] 2009-06-12 11:44:47.312000 < MythMain.loadAction(main_live_tv) returning 1 DEBUG:root:[28] 2009-06-12 11:44:47.314000 < MythMain.onControlHook(<xbmcgui.ControlButton object at 0x013B3720>) any idea? |
| find quote |
matieo
Junior Member Posts: 3 Joined: Jul 2008 Reputation: 0 |
2009-06-13 18:06
Post: #16
After i manually adjust the numbers, the program details are available in live TV but not in the guide. Strange.
|
| find quote |
teresa
Member Posts: 83 Joined: Feb 2007 Reputation: 0 |
2009-06-14 04:19
Post: #17
For jurr's problem, I am guessing that no channels were found. The log should show you what the SQL response was for the SQL query:
SELECT c.chanid as chanid, c.channum as channum, c.callsign as callsign, c.name as name, c.icon as icon FROM channel c WHERE c.channum IS NOT NULL AND c.channum != "" AND c.visible = 1 ORDER BY c.chanid
(This post was last modified: 2009-06-14 04:21 by teresa.)
|
| find quote |
teresa
Member Posts: 83 Joined: Feb 2007 Reputation: 0 |
2009-06-14 04:27
Post: #18
matieo Wrote:After i manually adjust the numbers, the program details are available in live TV but not in the guide. Strange. Try turning on logging by editing default.py: logLevel = mythutil.LOG_MYTH | mythutil.LOG_GUI and see if there is an error. |
| find quote |
jurr
Junior Member Posts: 8 Joined: Jun 2009 Reputation: 0 |
2009-06-14 10:19
Post: #19
hello teresa,
The sql query returns all my channels, but yesterday i change the channel num because i had change them to put in order. I put as channel number the channel id and then i substract 1000. And with this change the guide data works fine . Also the live tv start working but it seems that when i click on the remote controller the stop button the tv turner still recording and i need to restart mythbackend to free the turner, but if i click on the next button it stop fine. Any idea?One final question, Are you planning to add the record options that mythtv has? i.e. record allways, record one weekly,... Thanks in advance |
| find quote |
teresa
Member Posts: 83 Joined: Feb 2007 Reputation: 0 |
2009-06-14 20:42
Post: #20
The stop button works fine for me for stopping the recording so not sure what is happening with your setup. Check the log for any errors.
There already is functionality for the recording options.... but I don't use it. I use MythWeb on my laptop for scheduling recordings... I find it much easier. |
| find quote |

Search
Help