• 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 57
[RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC
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
Reply
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.
Reply
Is there any way to disable the splash screen? The "mythbox" akin to the XBMC intro screen.
Reply
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/...1ba9acf7f0

Mythbox:

http://code.google.com/p/mythbox/issues/...f95406c402


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
Reply
I'd work on getting mythtv working 100% first. Try the mythtv wiki for your tv tuner card.
Nothing to see here....
Reply
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)
MythBox for XBMC - http://mythbox.googlecode.com
Reply
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
Reply
Gulliver Wrote: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 ....
...

Gulliver

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..
MythBox for XBMC - http://mythbox.googlecode.com
Reply
Dolence Wrote:I think it can be the cause of my channel change lag problem:

2011-03-24 23:24:10.001 ProgramInfo(): Updated pathname '':'' -> '1411_20110324232310.mpg'
2011-03-24 23:24:11.035 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (914 errors)
2011-03-24 23:24:11.092 MainServer::HandleAnnounce FileTransfer
2011-03-24 23:24:11.130 adding: mediacenter as a remote file transfer
2011-03-24 23:24:11.210 ProgramInfo(): Updated pathname '':'' -> '1411_20110324232313.mpg'
2011-03-24 23:24:11.272 ProgramInfo(): Updated pathname '':'' -> '1411_20110324232313.mpg'
2011-03-24 23:24:11.328 RingBuf(/var/lib/mythtv/livetv/1411_20110324232310.mpg) Error: Invalid file descriptor in 'safe_read()'
2011-03-24 23:24:11.378 ProgramInfo(): Updated pathname '':'' -> '1411_20110324232313.mpg'
2011-03-24 23:24:12.444 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (908 errors)
2011-03-24 23:24:16.417 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (908 errors)
2011-03-24 23:24:26.425 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (910 errors)
2011-03-24 23:24:36.433 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (909 errors)
2011-03-24 23:24:37.888 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2011-03-24 23:24:37.957 Expiring 0 MBytes for 1015 @ Thu Mar 24 23:15:00 2011 => Troca de Famlia 4 Temp.
2011-03-24 23:24:38.005 ProgramInfo(): Updated pathname '':'' -> '1015_20110324232147.mpg'
2011-03-24 23:24:39.108 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (907 errors)
2011-03-24 23:24:39.157 ProgramInfo(): Updated pathname '':'' -> '1015_20110324232147.mpg'
2011-03-24 23:24:40.207 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (913 errors)
2011-03-24 23:24:41.060 ProgramInfo(): Updated pathname '':'' -> '1015_20110324232147.mpg'
2011-03-24 23:24:43.130 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (909 errors)
2011-03-24 23:24:46.442 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (910 errors)
2011-03-24 23:24:56.450 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (913 errors)
2011-03-24 23:25:06.458 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (907 errors)
2011-03-24 23:25:16.465 MythSocket(ffffffffabd06690:43): writeStringList: Error, No data written on writeBlock (914 errors)

Anyone know what is the meaning or cause of these errors, and how to correct it?


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.
MythBox for XBMC - http://mythbox.googlecode.com
Reply
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)
MythBox for XBMC - http://mythbox.googlecode.com
Reply
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.
Reply
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
Reply
mikenike Wrote: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/...1ba9acf7f0

Mythbox:

http://code.google.com/p/mythbox/issues/...f95406c402


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

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 ?
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
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
Reply
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 ...
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
  • 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 57

Logout Mark Read Team Forum Stats Members Help
[RELEASE] MythBox for XBMC - a MythTV Front-end Python Script for XBMC4