XBMC Community Forum
[RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC (/showthread.php?tid=43115)



XBMC User name snafu? - IrishGent - 2009-06-23 18:26

Ah, Bach! Something Modern68Messiah said made me look more closely.

In my set up, the script pre-populated user name for the database was 'mythtv'. But this thread kept talking about the user name 'xbmcuser'. So, I changed from 'mythtv' to 'xbmcuser' in the MySQL settings page of the script, and viola! It worked!!

Now, on to other issues, like jittery video and sound... Sad

My thanks to everyone, and I hope this is a new tidbit of information!


The username depends on a few things - linuxluemmel - 2009-06-24 09:00

1.) What distro you use ...

bat under the user you run mythtv there is a direcrtory

called .mythtv

all information about the database / name / password are stored inside .


- IrishGent - 2009-06-24 13:47

linuxluemmel Wrote:1.) What distro you use ...

I guess that's kinda my point of interest / concern. Mythbuntu appears to use the 'mythtv' as the MythTV MySQL user. And even though that user had permissions regardless of where it attached to the db, it wouldn't work in XBMC. For me at least, the only user that has worked to date is the specific user of 'xbmcuser'. BTW - I am still not ruling out some permission error here on my end...


- AuXBoX - 2009-06-26 14:59

I cant get this working. it lags way too much doesnt matter what i put the cache too. Even if it did work with a really high cache i dont really want to wait that long to watch tv. Mythtv plays it perfectly aswell
I have mythbuntu 9.04 and xbmc 9.04.2.
Also theres no writing in the settings menu which is a bit annoying.


- IrishGent - 2009-06-26 16:24

AuXBoX Wrote:I cant get this working. it lags way too much doesnt matter what i put the cache too.

I see the same thing, too. While it isnt a fix, I may be able to offer something of a work around. I find that if I go to watch live TV and pause the playback just for a second after the buffering is complete, the lag and jitter go away.

I think this additional pause allows a re-syncing. I pause I use isn't long enough to buffer much more, and it takes care of the jitter and lag for the length of time that I watch that channel. I do have to repeat the pause at each channel change. Also, I see no lag or jitter when watching a pre-recorded show...


- D34thbr1ng3r - 2009-07-01 02:34

Hi, can I use mythtv to watch ISDB digital system in Brazil?


- Robgue - 2009-07-01 03:34

hi. I don't have a technical question( yet at least). how stable is the script? i know people post on this thread with problems but are others using this ? does it work as smoothly as the rest of xbmc? i understand it is in alpha but i wanted to know if it is stable enough to use. I would be using mythbuntu as my base running on the same machine. just got a hd pvr and wanted to rock it with my existing xbmc installation for obvious reasons. Cool thanks.


- JRoque - 2009-07-24 18:39

Hi. Hopefully this is the right thread to post this. I'm running a backend MythTV server (0.21+fixes) on Ubuntu and xbmc 9.04 on WinXP.

I can't get the script to run. It looks like XBMC is correctly installed since the Apple trailer script that came with it, works. I get the following error:

Error: Python script failed:
special://home/scripts/MythBox/default.py

Here's some of the log.

Code:
11:56:24 T:3864 M:1183547392  NOTICE: start dvd mediatype detection
11:56:24 T:3864 M:1183514624  NOTICE: initializing playlistplayer
11:56:24 T:3864 M:1183510528  NOTICE: DONE initializing playlistplayer
11:56:24 T:3864 M:1183502336  NOTICE: load default skin:[PM3.HD]
11:56:29 T:3864 M:1186127872  NOTICE: initialize done
11:56:29 T:3864 M:1186111488  NOTICE: Running the application...
11:56:29 T:3864 M:1185669120  NOTICE: ES: Starting event server
11:56:29 T:1708 M:1185591296  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
11:56:29 T:1708 M:1184866304  NOTICE: UDP: Listening on port 9777
11:56:33 T:1776 M:1180413952  NOTICE: -->Python Interpreter Initialized<--
11:56:33 T:1776 M:1180405760  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: platform = win32
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\src
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\pysmb
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\pyxcoder
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\decorator
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\pyfiglet
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\odict
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\MySQLdb
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:33 T:1776 M:1180626944  NOTICE: MythBox: syspath += D:\MM\TV\XBMC\scripts\MythBox\resources\lib\MySQLdb\win32
11:56:33 T:1776 M:1180626944  NOTICE:
11:56:34 T:1776 M:1179033600  NOTICE: Traceback (most recent call last):
11:56:34 T:1776 M:1179033600  NOTICE:   File "D:\MM\TV\XBMC\scripts\MythBox\default.py", line 73, in ?
11:56:34 T:1776 M:1179033600  NOTICE:
11:56:34 T:1776 M:1179033600  NOTICE: import util
11:56:34 T:1776 M:1179033600  NOTICE: ImportError
11:56:34 T:1776 M:1179033600  NOTICE: :
11:56:34 T:1776 M:1179033600  NOTICE: No module named util
11:56:34 T:1776 M:1179033600  NOTICE:
11:56:34 T:1776 M:1179033600   ERROR: Scriptresult: Error

The MythBox script lives in the ...\scripts directory under XBMC.

Any hints? Thanks.

JR


- analogue - 2009-07-28 08:26

JRoque Wrote:Hi. Hopefully this is the right thread to post this. I'm running a backend MythTV server (0.21+fixes) on Ubuntu and xbmc 9.04 on WinXP.

.
.
.

MythBox script lives in the ...\scripts directory under XBMC.

Any hints? Thanks.

JR

Re-read the install instructions. Especially the part about where to install the script.


Beta 5 released - analogue - 2009-07-28 08:29

Haven't had much time to work on MythBox but I managed to get the rewrite of the 'Watch TV' screen done with fanart getting pulled from tvdb, tmdb, imdb, and google image search (mixed results on that one).

[Image: watchtv.png]