[RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC (/showthread.php?tid=43115) |
- Gulliver - 2011-03-27 Hello, When you install and configure Mythtv, It creates mysql database and all tables. You need a workable and functionnal Mythtv before trying use Mythbox. Best regards Gulliver - TugboatBill - 2011-03-28 I noticed a bug last night - You're watching a live channel and pause it for a few minutes, then start watching it again. If you try to skip forward it shows the skip amount on screen but doesn't skip; and if you press FFWD you get about 2X but nothing faster. - colbert - 2011-03-28 Is there any way to disable the splash screen? The "mythbox" akin to the XBMC intro screen. Live TV doesnt work! Only short loading symbol appears. EPG is working. - mikenike - 2011-03-28 Hello, I have a Problem with watching LiveTV with Mythbox: 1. I start mythbox in xbmc and click watch tv 2. see the channels list and select a channel 3. short loading symbol appears and then nothing happens 4. after several trys, a message pops up and instructs me to look at the logfile. Here the XBMC and Mythbox Logfile: XBMC: http://code.google.com/p/mythbox/issues/attachmentText?id=164&aid=5428004695455575420&name=xbmc.log&token=53b385b457f88377ea06301ba9acf7f0 Mythbox: http://code.google.com/p/mythbox/issues/attachmentText?id=164&aid=-798765875857046610&name=mythbox.log&token=81e44c0ed012c27bdf5a0ef95406c402 mythtv frontend works (even LiveTV), but without sound. i can watch a testrecording, made over mythtvfrontend in xbmc -> mythbox i see all the channels in mythbox even with program guide, but i cant watch tv. Mythbox Version 1.0.2 ; XBMC 11.0-pvr (pvr scripts disabled) with ubuntu 10.10 hardware: asrock ion 330 with sundtek media tv gold tv card. sorry for my bad english greets mikenike - zepfan - 2011-03-28 I'd work on getting mythtv working 100% first. Try the mythtv wiki for your tv tuner card. - analogue - 2011-03-29 Just an update since it has been a while since I've posted: - MythBox 1.0.3 is nearing feature completion - ATV2 (unconfirmed) /IPad (I have one) support is there except for playback problems (cmyth). Maybe the next push of the arm port will fix this..dunno. - 0.24 seems to work if you're running pre-11.0 from git - Streaming directly from the backend added so no need to mount dirs anymore (but the option is still there) - Gulliver - 2011-03-29 Hello, In last revision (70ecd1546c5d), I found a strange thing which wasn't here in previous releases. Trying to explain ... --- From home window, I go to tvguide --- I select a show --- I set "record only this show" (first choice) --- "Activate this schedule" is already selected --- I save --- An error appears "Error: onClick" 'numRecorded' " --- click OK --- click on "cancel" --- I go to "schedule a show" --> I see the show --- I go to "Upcomings recordings" --> I don't see the show scheduled Workaround: --- I go back to "schedule a show" --- I edit the schedule --- I switch OFF "activate this schedule" --- I save the schedule --- I go back to "schedule a show" --- I edit the schedule --- I switch ON "activate this schedule" --- I save the schedule There, the show scheduled is activated and it appears in "upcomings recordings" window. I dunno if I'm very clear .... Here the log: DEBUG | mythbox.ui | tvguide.py | MainThread | Line 387 | launching edit schedule dialog DEBUG | mythbox.cache | filecache.py | MainThread | Line 111 | Cache HIT Hercule Poirot DEBUG | mythbox.cache | filecache.py | MainThread | Line 111 | Cache HIT Hercule Poirot DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 201 DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 212 DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 250 DEBUG | mythbox.ui | schedules.py | MainThread | Line 318 | Save button clicked DEBUG | mythbox.core | db.py | MainThread | Line 830 | sql = REPLACE INTO record ( recordid, type, chanid, starttime, startdate, endtime, enddate, title, subtitle, description, category, station, profile, recpriority, autoexpire, maxepisodes, maxnewest, startoffset, endoffset, recgroup, dupmethod, dupin, seriesid, programid, search, autotranscode, autocommflag, autouserjob1, autouserjob2, autouserjob3, autouserjob4, findday, findid, inactive, parentid) VALUES ( NULL, 1, 1010, '13:30:00', '2011-03-29', '14:25:00', '2011-03-29', %s, %s, %s, %s, %s, 'Default', 0, 0, 0, 0, 0, 0, 'Default', 2, 15, '167825396', 'EP16782539612', 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0) DEBUG | mythbox.core | db.py | MainThread | Line 845 | New scheduleId = 99 DEBUG | mythbox.perf | util.py | MainThread | Line 334 | TIMER: saveSchedule took 0.07 seconds ERROR | mythbox.core | util.py | MainThread | Line 401 | (<class exceptions.KeyError at 0xa7e119d4>, <exceptions.KeyError instance at 0xaf28b9c>, <traceback object at 0xb11e1f4>) ERROR | mythbox.core | util.py | MainThread | Line 402 | CATCHALL_UI: Caught <type 'instance'> exception 'numRecorded' on method onClick Traceback (most recent call last): File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 399, in catchall_ui return func(*args, **kw) File "<string>", line 1, in <lambda> File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 212, in lirc_hack return func(*args, **kwargs) File "<string>", line 1, in <lambda> File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 123, in inject_conn result = func(*args, **kwargs) File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/schedules.py", line 319, in onClick self.conn().saveSchedule(self.schedule) File "<string>", line 1, in <lambda> File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/db.py", line 138, in inject_db result = func(*args, **kwargs) File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 1039, in saveSchedule self.rescheduleNotify(savedSchedule) File "<string>", line 1, in <lambda> File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 327, in timed result = func(*args, **kw) File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 1059, in rescheduleNotify log.debug('rescheduleNotify(schedule= %s)' % safe_str(schedule)) File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 121, in safe_str return str(obj) File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/domain.py", line 1341, in __repr__ return "%s {recordid=%s, type=%s, title=%s, subtitle=%s, starttime=%s, endtime=%s startdate=%s, enddate=%s, nr=%d}" % ( File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/domain.py", line 1361, in numRecorded return int(self._data['numRecorded']) KeyError: 'numRecorded' Ready to provide further details if nobody understood what I mean ... Gulliver - analogue - 2011-03-30 Gulliver Wrote:Hello, Fixed in revision c985a057a9d9. Please try again. Also, when you create or update a schedule, the changes are not reflected immediately. It takes a few seconds based on the number of existing schedules and complexity of scheduling. Please create future issues directly in the googlecode issue tracker since that is what I check regularly. Enjoy.. - analogue - 2011-03-30 Dolence Wrote:I think it can be the cause of my channel change lag problem: I've seen this from time to time in my backend logs. It is caused by XBMC not reading mythtv events off of a socket. The socket gets backed up with data and it slowly brings the backend down to a crawl. The workaround is to restart XBMC (causing the socket connection to be severed) and your backend will come back to life. This has nothing to do with MythBox so I can't fix it. I don't know if there is already a trac issue for this but as soon as anyone is able to reproduce it at will, I'm sure thats coming. - analogue - 2011-03-30 A general note on channel changing and the speed at which it happens. MythBox has no control over how quickly the channel changes. The underlying myth:// URL support in XBMC is used for livetv so you would be much better served by logging an issue directly in XBMC's trac database. I would advise that you don't include MythBox in your steps to reproduce. Instead, create a myth source directly in XBMC and attempt to watch livetv/change channels that way (the docs on how to do this are on the XBMC wiki..just search for MythTV) - Dolence - 2011-03-30 analogue Wrote:A general note on channel changing and the speed at which it happens. MythBox has no control over how quickly the channel changes. The underlying myth:// URL support in XBMC is used for livetv so you would be much better served by logging an issue directly in XBMC's trac database. I would advise that you don't include MythBox in your steps to reproduce. Instead, create a myth source directly in XBMC and attempt to watch livetv/change channels that way (the docs on how to do this are on the XBMC wiki..just search for MythTV) PVR functions are abandoned in XBMC oficial releases, i dont think it will result in anything since it not seen to be a priority. Actually we have some good projects in this way, just missing a greater sync. A fully functional solution is better then several projects that work in half. Myhtbox is the coolest among them. Nice interface, unique features, but if I have to wait 10/30 seconds to do a simple channel change (I'm not saying it's Mythbox fault!) all that cool stuff that draw my attention goes away. I will try to log this issues and report into XBMC Trac. Thanks for your enlightenment. - Gulliver - 2011-03-30 Hello, @Analogue: Concerning my issue in post #547, your rev c985a057a9d9 solved very well the problem. Thanks a lot. But no improvment for the issue 165 ... I send you log on googlecode website. Have a good day. Gulliver - CrashX - 2011-03-30 mikenike Wrote:Hello, The sound issue is probably because of your sound settings in mythtv front end. Change it to Alsa:default and try again. I have same problem as you except mythtv frontend live tv works 100% but doesn't work on xbmc. It is stuck on "Working" screen and then nothing happens after that ? Waiting over 10 minutes .. Does the XBMC-PVR (https://github.com/opdenkamp/xbmc) work with mythtv ? - Gulliver - 2011-03-30 Hello, I use xbmc-pvr (ppa) from Lars Opdenkamp, but in release odk48 for Lucid (mythbuntu 10.04). I tried a more recent release (again from ppa) but numerous issues with mythtv. Lars gave me the advice to try compiling the DjTerney release from github. What I done, but again, several issues with mythtv (loss mythsocket, etc ...) So I came back to the odk48 release which works pretty well. Mikenike, I saw in mythbox issue #164, you tried: i simply added 2 lines to /etc/hosts : 192.168.178.22 mike (current user) 192.168.178.22 mythtv You shoudn't. Afer the ip address, you have to write the name of the host, not a user name. Basically, it could be something like that (if your pc is called .... htpc for example): 127.0.0.1 localhost 192.168.178.22 htpc IMHO you'd better making test with a more "stable" xbmc release, and also stay with Mythtv <= 0.23.1 Just my 2 cents ... Gulliver - CrashX - 2011-04-01 MythBox: 1.02 XBMC: Mar 31 2011 (Git:20110331-acb1223) OS: Ubuntu 10.10 X86 MythTV: 26863 ( 0.23.1 ) XBMC Debug Log: http://pastebin.com/zQT6VYqs MythTV Backend Log: http://pastebin.com/TqxsA0cu MythBox Log: http://pastebin.com/6tbLR08h LiveTV works fine on MythTV Frontend but doesn't work on MythBox. TV Guide works fine on it though except the guide is off by 1 hour ( daylight savings ?? ) When I try to watch a live tv channel on MythBox, it says waiting and then hangs their ? I had to kill it manually ... |