Kodi Community Forum
Python and MythTV (a MythTV Front-End) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Python and MythTV (a MythTV Front-End) (/showthread.php?tid=2349)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


- josurr - 2005-05-05

theres a new forum for mythtv on xbox (has a section for xbmcmythtv python script too!Wink

mythtv-xbox.org

its got a few users (it was just setup like last week)

see you there!

josurr


- sgtstadanko - 2005-05-08

unable to load recorded show

just moved my backend to another machine and now i can't pull up a recorded show. livetv works fine, so i dont think it is a smb path issue (rinbuffer is in same dir as recorded shows). when i try and pull up a recorded show, i first get "unable to retrieve screenshot", then on the show detail page, it complains that it cannot find the show. all other regular (linux) mythfrontends work and i am able to browse the samba shares from the xbmc filemanager and all other win32 / linux boxes. it worked fine before i moved to the new mythbackend server. i have also tried grabbing the latest cvs, same results. here are some log snippets:

08-05-2005 12:54:28 info activating window id: 13002
08-05-2005 12:54:35 info activating window id: 13003
08-05-2005 12:54:40 info traceback (most recent call last):
08-05-2005 12:54:40 info file "q:\scripts\xbmcmythtv\mythtvrecordedshowdetails.py", line 286, in oncontrol
08-05-2005 12:54:40 info self.play()
08-05-2005 12:54:40 info file "q:\scripts\xbmcmythtv\mythtvrecordedshowdetails.py", line 313, in play
08-05-2005 12:54:40 info raise exception, msg
08-05-2005 12:54:40 info exception: unable to find show 'velvet goldmine' on 'myth'.

mythbackend log:
2005-05-08 12:58:36.542
2005-05-08 12:58:32.962 mainserver::handleannounce filetransfer
2005-05-08 12:58:32.965 adding: xbox as a remote file transfer
2005-05-08 12:58:32.969 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv.png. 0 retries remaining.
2005-05-08 12:58:34.604 unknown socket

mainserver::handleannounce playback
2005-05-08 12:58:36.544 adding: xbox as a client (events: 0)
2005-05-08 12:58:36.556 mainserver::handleannounce filetransfer
2005-05-08 12:58:36.558 adding: xbox as a remote file transfer
2005-05-08 12:58:36.561 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv. 4 retries remaining.
2005-05-08 12:58:37.064 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv. 3 retries remaining.
2005-05-08 12:58:37.568 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv. 2 retries remaining.
2005-05-08 12:58:38.072 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv. 1 retries remaining.
2005-05-08 12:58:38.577 could not open /mnt/store/tv/1197_20050415140000_20050415160000.n
uv. 0 retries remaining.


the actual file name on the server is 1197_20050415190000_20050415210000.nuv . for some reason it looks like xbmcmythtv is querying for a file with a 5hr difference in start time:
xbmcmythtv- 1197_20050415140000_20050415160000.nuv
actual file - 1197_20050415190000_20050415210000.nuv

here is a mysql query run on the backend:

mysql> select * from recorded where title = 'velvet goldmine';

| 1197 | 2005-04-15 19:00:00 | 2005-04-15 21:00:00 | velvet goldmine | | a reporter learns about a british glam rocker's (jonathan rhys-myers) life, his marriage and his relationship with a wild u.s. performer (ewan mcgregor). | drama | myth | null | 0 | null | 1 | 1 | default | 250 | | mv0587620000 | 20050415220116 | 4635361280 | 0.75 | 0 | 0000-00-00 | 0 | 0 | 0 |




any ideas....seems like i am missing something annoyingly simple ;(

update: nevermind. i apparantley am retarded. my tz on the new backend was set to utc....surpise a 6 hr diff. doh! oh an btw...using the xbms streaming is muuuch quicker. thanks.


- jack46 - 2005-05-09

hi,

when i have 2 hours, i'll definitely take the time to read all 32+ pages from this thread...

in the meantime though, as of may 2005, could someone please tell me how the mythtv/xbox combo compares to a setup like mine where i have a windows xp mce pc w/ media center extender for xbox ?

can i have multiple xbox clients connected to the mythtv box ?

is there anything that ms's setup does that can't be done with the mythtv/xbox combo ?

thanks...


- Livin - 2005-05-10

i'd also like to see a feature comparison. i've not been following this thread but am interested in trying to determine which way i should go.


- jack46 - 2005-05-10

i have a question that is surely more related to mythtv than to the xbox front end of it, but i'm sure some of you can answer it...

does the xbox/mythtv combo support multiple satellite (or cable) set-top boxes ?

i'm just wondering if mythtv supports the control of satellite boxes through ir emitters ?

my current set up (with xp mce and extender for xbox) is this :

- remote control sends signal to xbox to "select a channel" for example
- xbox sends control signal through ethernet to media center pc
- media center pc creates ir signal, and sends it through the ir emitter (which is connected on a usb port) to the satellite stb
- stb receives ir signal, and changes channel
- new channel feed enters tuner card
- feed is streamed back to xbox

is that supported with mythtv / xbox front-end ?


- jack46 - 2005-05-10

(jack46 @ may 10 2005,14:32 Wrote:i'm just wondering if mythtv supports the control of satellite boxes through ir emitters ?
more specifically, will mythtv work with microsoft's ir blaster ?


- DrWeird - 2005-05-11

can anyone tell me exactly how to add a mythtv button to the main menu of xbmc? i tried adding a button to the <homebuttons> section but saw nothing on reboot.

thanks,
rob


- najt - 2005-05-11

(drweird @ may 11 2005,01:47 Wrote:can anyone tell me exactly how to add a mythtv button to the main menu of xbmc? i tried adding a button to the <homebuttons> section but saw nothing on reboot.

thanks,
rob
you need to edit home.xml in your skins\skinname\tv_format directory.


- jack46 - 2005-05-11

i have a question about live tv. what happens if i pause live tv, and then fast forward up to (and passed ?) the point where i'm back at live tv ? does the player crash ? do i have to select the channel again ?


- Th3_H0unD - 2005-05-11

i'm trying mythtv out here and i'm having some problems with my channels. anyone have the "linux" transponder files for dn?


thanks in advance

th3_h0und


- DrWeird - 2005-05-11

(najt @ may 11 2005,01:56 Wrote:
(drweird @ may 11 2005,01:47 Wrote:can anyone tell me exactly how to add a mythtv button to the main menu of xbmc? i tried adding a button to the <homebuttons> section but saw nothing on reboot.

thanks,
rob
you need to edit home.xml in your skins\skinname\tv_format directory.
but what do i do for pmiii? i tried the home.xml and <homebuttons> and never saw anything.


- najt - 2005-05-11

(drweird @ may 11 2005,21:56 Wrote:
(najt @ may 11 2005,01:56 Wrote:
(drweird @ may 11 2005,01:47 Wrote:can anyone tell me exactly how to add a mythtv button to the main menu of xbmc? i tried adding a button to the <homebuttons> section but saw nothing on reboot.

thanks,
rob
you need to edit home.xml in your skins\skinname\tv_format directory.
but what do i do for pmiii? i tried the home.xml and <homebuttons> and never saw anything.
replace "my weather" with this

Quote: <control>
<description>my tv normal push button</description>
<type>button</type>
<id>7</id>
<posx>76</posx>
<posy>380</posy>
<width>35</width>
<height>34</height>
<label>my tv</label>
<font>special13</font>
<execute>e:\xbmc\scripts\xbmcmythtv\mythtvmain.py</execute>
<onleft>98</onleft>
<onright>99</onright>
<onup>3</onup>
<ondown>9</ondown>
<texturefocus>home-focus.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>45</textoffsetx>
</control>



- DrWeird - 2005-05-12

i'm getting a new error after upgrading my mythtv box to .18. when i try to connect to recorded shows i get an error that says

['reject', '15']

if i try again, i get an error that says

'nonetype' object has not attribute 'send'

this happens on the recorded shows, program guide and upcoming shows buttons. status shows the backend status just fine and settings when i select test says the tests succeed. live tv will show me the listings, but will not connect to the video feed.


- davidred - 2005-05-12

hi guys,

i'm having problems getting xbmcmythtv to work after upgrading to the latest mythtv & xbmc. the error i get is;

Quote:06-12-8907 04:49:34 info -->python initialized<--
06-12-8907 04:49:34 info
06-12-8907 04:49:34 info traceback (most recent call last):
06-12-8907 04:49:34 info file "q:\scripts\xbmcmythtv\mythtvmain.py", line 7, in ?
06-12-8907 04:49:34 info
06-12-8907 04:49:34 info from mythtvgui import dialog
06-12-8907 04:49:34 info systemerror
06-12-8907 04:49:34 info :
06-12-8907 04:49:34 info null result without error in pyobject_call
06-12-8907 04:49:34 info

i have tried the latest cvs of xbmcmythv, older versions of xbmc and even older versions of the python library with no success in getting this to work. i assume because i can run the other python scripts that come with xbmc that python is installed and working correctly.

so does anyone have any suggestions for me to try out?

cheers


- najt - 2005-05-12

(drweird @ may 12 2005,02:37 Wrote:i'm getting a new error after upgrading my mythtv box to .18. when i try to connect to recorded shows i get an error that says

['reject', '15']

if i try again, i get an error that says

'nonetype' object has not attribute 'send'

this happens on the recorded shows, program guide and upcoming shows buttons. status shows the backend status just fine and settings when i select test says the tests succeed. live tv will show me the listings, but will not connect to the video feed.
change the value of mythtv protocol in the xmbcmythtv settings. set it to current_value+1