Kodi Community Forum

Full Version: [RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
stevellion Wrote:OK, I'm getting a little closer..

I'm using dteirney's git fork to compile XBMC and I get LiveTV working.

However, it's now broken the "Tv Guide" and when I try that I get and error from loadGuide.
integer argument expected, got float.

I've also tried the latest source for MythBox (post-1.03) - but I guess it's a missmatch in the libcmyth from dteirney and the standard one and what Myth expects.

Code:
09:44:46 T:140321732155136 M:2795352064   ERROR: E | util.py | MainThread | Line 307 | (<type 'exceptions.TypeError'>, TypeError('integer argument expected, got float',), <traceback object at 0x5743830>)
09:44:46 T:140321732155136 M:2795352064  NOTICE: .
09:44:46 T:140321732155136 M:2795274240   ERROR: E | util.py | MainThread | Line 308 | CATCHALL_UI: Caught <type 'exceptions.TypeError'> exception integer argument expected, got float on method loadGuide
                                            Traceback (most recent call last):
                                              File "/home/stevemu/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 305, in catchall_ui

                                                return func(*args, **kw)
                                              File "<string>", line 1, in <lambda>
                                              File "/home/stevemu/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/db.py", line 121, in inject_db
                                                result = func(*args, **kwargs)
                                              File "/home/stevemu/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/tvguide.py", line 898, in _renderPrograms
                                                height=chanH)
                                              File "/home/stevemu/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/tvguide.py", line 461, in _addGridCell
                                                alignment=Align.CENTER_Y|Align.TRUNCATED)
                                            TypeError: integer argument expected, got float

Please file a defect w/ full details @ googlecode
stevellion Wrote:Still with issues with buffering while using the Streaming setting.

Is there anyway of patching so that it only uses streaming for LiveTV - but otherwise uses a direct access/share?

Live TV always uses streaming regardless of the 'Enable Streaming' setting (only applies to recordings)
MythBox 1.0.4 is out. Just a note on the finer details of comm skipping...

If 'Enable Streaming' is selected, MythBox uses XBMC's implementation of comm skipping
If 'Enable Streaming' is deselected, MythBox uses its own implementation of comm skipping

If one doesn't work quite right for you, try the other :-) I have found cases where XBMC's impl was inaccurate but don't know quite why yet.
Thanks!

Is it possible to automatically enable deinterlacing for MythTV content?

It seems like I need to manually enable it for every video...
dteirney Wrote:I've just checked in a fix in XBMC master that should resolve the deadlock with LiveTV for MythTV.

Can someone who is compiling from master update and test. If it works fine, please add a comment to http://trac.xbmc.org/ticket/11384.

I can confirm LiveTV is working with 0.23 and 0.24 backends for XBMC revision e8a1f308272b8be6d4ba79dae058430524769058

Good work!
I'm not getting jittery playback so much as I'm getting what I might call oscillating video playback. Video speeds up and slows down while the sound marches on at a consistent pace. Another way to explain this might be: imagine a person walking down the street at a very fast stable pace while hula-hooping... The hula-hoop is the video and the person is the sound. This oscillation occurs about every .75 seconds. It is not noticeable at all on slow shows but it makes watching So You Think You Can Dance, sports, car chases, etc., unbearable. Any time there is a wide-angle camera pan, the oscillation makes me sick.

The oscillating video does not occur when I use Windows Media Player to view the file. The oscillating video does not occur when I stream using MythFrontend on a Mac two hubs away from the server. (Note: My XBMC w/Mythbox is on the same hub as my Ubuntu Backend Server.)

I have tried turning on/off Streaming, interlacing/de-interlacing, on/off aggressive caching, a host of other video settings, but nothing seems to make a difference.

I see that 1.0.4 is now released. 1.0.3 automatically downloaded without my intervention nor approval back in Feb/Mar but I can't seem to get 1.0.4 to download... How do I instigate an upgrade to the newer version?

All my video problems started to occur with MythBox 1.0.3. Although I love the new guide and the ability to stream, MythBox 1.0.2 was solid on my system. If 1.0.4 doesn't do it for me, how do I downgrade to 1.0.2?

Rob

My backend configuration is:
MythTV Backend version: 0.23.1
Installed in January 2011 with Mythbuntu
Kernel version: Linux mythtvbackend 2.6.35-27-generic
Network Card: Onboard 10/100 Network (with active 100 Mbps connection)

My frontend configuration is:
Windows 7 Professional (32-bit) SP1 with XBMC 10.1 "Dharma" with Mythbox 1.0.3
CPU: Intel Pentium 4 CPU 3.2GHz Socket 775 800 FSB w/Hyper Threading Technology
Memory: 1Gig DDR 333 Memory 180 Pin
Video card: BFG VIDIA AGP GeForce 7300GT, 512MB DDR2, 350MHz, DVI-I, VGA, HDTV, TV-out (Active outputs are DVI-I and TV-out)
Audio card: Riviera C-Media CMI 8738 (Connected to my entertainment center via the optical cable) CODEC: CMI8738, Driver: 6.12.8.1738
DirectX: 4.09.00.0904
Network Card: Onboard 10/100 Network (with active 100 Mbps connection)
Great plugin thanks so much!
Just wondering I have 1.0.3 installed, should i be able to hit "OK" on my remote from the guide screen to load a channel or is it a bug/non-feature atm that you can only start channels from the WatchTV screen?
Hey, I made the mythbox script work with 0.24 a few months back by replacing the mythprotoversion hex value with a string of the appropriate value. There was no changes to the protocols really. It works just fine when you send the authentication commands. Any chance you can update your script so I don't have to do it and have it destroyed again?

http://www.mythtv.org/wiki/MYTH_PROTO_VE...h_Protocol)

I like mythbox.


edit: waitaminute... did you put up a new version since yesterday night? I uninstalled and reinstalled last night (13 hours ago). 0.24 did not work.
Do you still get commercial skipping if you are playing directly from the network share? (instead of using streaming)
OK... running 0.24.1 backend and have tried 1.0.3 and 1.0.4 of MythBox... I love this plugin!

anyways... all of a sudden MythBox is reporting 'none' for commercial skips available and greying out the Play+Skip option. If I go back a few days, everything is fine...

MythWeb shows commercial skips available for all. I only recently upgraded from 0.23 to 0.24.1. is this the problem? Seems odd to me!

Any help out there? I'm happy to supply log info to aid in tracking my issue.

thanx.
sofakng Wrote:Do you still get commercial skipping if you are playing directly from the network share? (instead of using streaming)

yup
kartman_canada Wrote:OK... running 0.24.1 backend and have tried 1.0.3 and 1.0.4 of MythBox... I love this plugin!

anyways... all of a sudden MythBox is reporting 'none' for commercial skips available and greying out the Play+Skip option. If I go back a few days, everything is fine...

MythWeb shows commercial skips available for all. I only recently upgraded from 0.23 to 0.24.1. is this the problem? Seems odd to me!

Any help out there? I'm happy to supply log info to aid in tracking my issue.

thanx.

yeah, logs would be useful. just open up a ticket on googlecode issue tracker
xternal Wrote:Great plugin thanks so much!
Just wondering I have 1.0.3 installed, should i be able to hit "OK" on my remote from the guide screen to load a channel or is it a bug/non-feature atm that you can only start channels from the WatchTV screen?

Check the 1.0.3 changelog. It has a blurb on the intended behavior.
zzz1735 Wrote:I'm not getting jittery playback so much as I'm getting what I might call oscillating video playback. Video speeds up and slows down while the sound marches on at a consistent pace. Another way to explain this might be: imagine a person walking down the street at a very fast stable pace while hula-hooping... The hula-hoop is the video and the person is the sound. This oscillation occurs about every .75 seconds. It is not noticeable at all on slow shows but it makes watching So You Think You Can Dance, sports, car chases, etc., unbearable. Any time there is a wide-angle camera pan, the oscillation makes me sick.

The oscillating video does not occur when I use Windows Media Player to view the file. The oscillating video does not occur when I stream using MythFrontend on a Mac two hubs away from the server. (Note: My XBMC w/Mythbox is on the same hub as my Ubuntu Backend Server.)

I have tried turning on/off Streaming, interlacing/de-interlacing, on/off aggressive caching, a host of other video settings, but nothing seems to make a difference.

I see that 1.0.4 is now released. 1.0.3 automatically downloaded without my intervention nor approval back in Feb/Mar but I can't seem to get 1.0.4 to download... How do I instigate an upgrade to the newer version?

All my video problems started to occur with MythBox 1.0.3. Although I love the new guide and the ability to stream, MythBox 1.0.2 was solid on my system. If 1.0.4 doesn't do it for me, how do I downgrade to 1.0.2?

Rob

My backend configuration is:
MythTV Backend version: 0.23.1
Installed in January 2011 with Mythbuntu
Kernel version: Linux mythtvbackend 2.6.35-27-generic
Network Card: Onboard 10/100 Network (with active 100 Mbps connection)

My frontend configuration is:
Windows 7 Professional (32-bit) SP1 with XBMC 10.1 "Dharma" with Mythbox 1.0.3
CPU: Intel Pentium 4 CPU 3.2GHz Socket 775 800 FSB w/Hyper Threading Technology
Memory: 1Gig DDR 333 Memory 180 Pin
Video card: BFG VIDIA AGP GeForce 7300GT, 512MB DDR2, 350MHz, DVI-I, VGA, HDTV, TV-out (Active outputs are DVI-I and TV-out)
Audio card: Riviera C-Media CMI 8738 (Connected to my entertainment center via the optical cable) CODEC: CMI8738, Driver: 6.12.8.1738
DirectX: 4.09.00.0904
Network Card: Onboard 10/100 Network (with active 100 Mbps connection)

Any sort of problems with the actual quality of the playback are outside of MythBox's control. MythBox just tells XBMC to play a file and its all XBMC from there on. I doubt going back to 1.0.2 would change anything but if you must, uninstall the addon and re-install it as a zip file (download it directly from the googlecode Downloads section)
sofakng Wrote:Thanks!

Is it possible to automatically enable deinterlacing for MythTV content?

It seems like I need to manually enable it for every video...

Not that I know of. I know you can set it as the default but I don't think thats what you want. I'm guessing you want it turned on automatically only for interlaced content, huh? Feel free to add it as a feature request to the issue tracker.