New MythTV add-on using libcmyth - 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) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694) 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
RE: New MythTV add-on using libcmyth - richardambridge - 2012-12-14 Just tried lastest GIT version, and live tv doesn't seem to work anymore. http://paste.ubuntu.com/1434458/ I can play a recording:- 08:56:52 T:3022919488 NOTICE: DVDPlayer: Opening: pvr://recordings/Default/Strictly Come Dancing - It Takes Two/Strictly Come Dancing - It Takes Two - 49 55, TV (2 BBC TWO), 20121213_183000.pvr 08:56:52 T:3022919488 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED 08:56:52 T:2641333056 NOTICE: Thread CDVDPlayer start, auto delete: false 08:56:52 T:2641333056 NOTICE: Creating InputStream 08:56:52 T:2641333056 NOTICE: Creating Demuxer 08:56:52 T:2641333056 NOTICE: Opening video stream: 0 source: 256 08:56:52 T:2641333056 NOTICE: Creating video codec with codec id: 2 08:56:52 T:2641333056 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(720x576, 2) But, trying switch from EPG: 08:57:01 T:2595777344 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_recorder_get_recorder_id: no recorder connection 08:57:01 T:2595777344 ERROR: AddOnLog: MythTV cmyth PVR Client: OpenLiveStream - Failed to open live stream 08:57:01 T:2595777344 ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/28.pvr] RE: New MythTV add-on using libcmyth - janbar - 2012-12-15 (2012-12-14, 11:03)richardambridge Wrote: Just tried lastest GIT version, and live tv doesn't seem to work anymore. @richardambridge Weird, it did'nt find an available recorder for your channel. Have you running schedules ? RE: New MythTV add-on using libcmyth - janbar - 2012-12-15 (2012-12-11, 21:53)Busenheimer Wrote: What is the difference b/t cmyth and libmyth? libmyth is a library of MythTV. It contains needfull binaries for lot of MythTV components like mythfrontend. cmyth is the core library embedded with the addon to communicate through the network with the MythTV backend. (2012-12-09, 16:44)speed32219 Wrote:(2012-12-07, 03:00)janbar Wrote: @all, I updated the XBMC wiki page to include "make clean zip" and avoid any disappointment. RE: New MythTV add-on using libcmyth - Ayla - 2012-12-16 (2012-12-14, 00:29)cfetzer Wrote:(2012-12-13, 10:29)Ayla Wrote:(2012-12-11, 23:46)janbar Wrote: @all,I still see "lock ups" in live TV. (2012-12-14, 01:54)janbar Wrote: @Ayla Thanks for the effort guys! But, I still see lock ups every ~ 1-2 hours (and also after suspend, though my backend is not the same host as my client). It happened just now when watching live TV. I have attached a download link to my xbmc.log, let me know if you need anything else, please. It's the last really annoying bug I have, other than that almost perfect. xbmc.log RE: New MythTV add-on using libcmyth - richardambridge - 2012-12-17 OpenElec just pulled latest xbmc in, so I could compile OpenElec against latest GIT and installed latest mythtv add on. When I stop playback I get a popup indicating an error, and logs shows: 17:19:27 T:140569078179584 ERROR: PVR - SetRecordingLastPlayedPosition - addon '192.168.1.95:192.168.1.95:6543' returned an error: the command failed log: http://paste.ubuntu.com/1445681/ RE: New MythTV add-on using libcmyth - fetzerch - 2012-12-17 (2012-12-17, 19:32)richardambridge Wrote: OpenElec just pulled latest xbmc in, so I could compile OpenElec against latest GIT and installed latest mythtv add on. It fails to connect to the backend somehow. Can you post a log file with 'Settings -> System -> Debugging' enabled? And please also turn on the add more debug info in the addon's settings. RE: New MythTV add-on using libcmyth - richardambridge - 2012-12-18 I just noticed that 'next recording' in the LIVE TV window is showing a recording that is disabled in mythbackend. but the Timer windows shows it as a conflict Note, this is not a conflict, that recording for 10:00am is disabled due to duplicate episode Next real recording is 2pm xbmc.log http://paste.ubuntu.com/1447189/ RE: New MythTV add-on using libcmyth - janbar - 2012-12-18 I think xbmc should report as next recording only enabled. I have added conflict rules in timers but i though only enabled would be reported on the dashboard. It is an xbmc issue. Also, duplicated are flagged as conflict in mythtv. RE: New MythTV add-on using libcmyth - NewJerseyNinja - 2012-12-18 Hello, No bug here, just trying to increase performance with cmyth: I am trying cmyth on last night's nightly for Openelec on Raspberrypi. I have something like 500 channels. On an Athlon II 240 machine it takes about 5 minutes to load the EPG from clients on start up. On the Raspberrypi, it's been going on for over a day and it's still not done yet. If I were to synchronize all of the xbmc databases, would the cmyth addon still need to import EPG data remotely or could it just use the shared xbmc database? I'm not sure how EPG client is stored. Thanks RE: New MythTV add-on using libcmyth - janbar - 2012-12-18 (2012-12-16, 16:31)Ayla Wrote:@Ayla(2012-12-14, 00:29)cfetzer Wrote:(2012-12-13, 10:29)Ayla Wrote: I still see "lock ups" in live TV. I have a look on your log (2012-12-18, 20:22)NewJerseyNinja Wrote: Hello, Hi, did you try to not store epg in database (local sqlite) ? This setting is in pvr epg setting. Else reduce the number of days requested in the same setting page. RE: New MythTV add-on using libcmyth - janbar - 2012-12-18 I think userdata folder containing xbmc databases should be in local fast Hard drive. Epg for 3 days and 500 channels could have 80000 programs. RE: New MythTV add-on using libcmyth - martyg7 - 2012-12-18 (2012-12-18, 20:22)NewJerseyNinja Wrote: I have something like 500 channels. Speaking from personal experience, 500 channels is way too much for RPi. I could never get the plugin to finish loading, Once I trimmed down my channels to about 200, and the length to 2 days, initial load of EPG on RPi takes a couple of minutes. Subsequent database refreshes about half that. RE: New MythTV add-on using libcmyth - martyg7 - 2012-12-19 UPDATE: Fixed by upgrading plugin to 1.6.6 (OpenELEC r12735 build) When using this plugin on RPi, I can get all of XBMC to crash by marking a PVR recording as "played" in the UI. I get similar XBMC crashes when completing playback through the PVR interface. (I can't watch more than 2 recordings in a row without having XBMC restart on me) It may not crash the first time after a restart/reboot, but almost always happens on second try. This is a day one issue for me. I have been seeing this on cMyth 0.5.0 and 1.6.5.0. Is this a known issue? RE: New MythTV add-on using libcmyth - tdavis - 2012-12-19 (2012-12-12, 00:08)cfetzer Wrote:(2012-12-11, 18:10)tdavis Wrote:(2012-12-10, 21:55)cfetzer Wrote: Thanks, I've rebased the addons PR. I'm still looking into this - a total lack of time has been in the way. I added a debug line to the pvr code to also dump out the framerate. You could save a few calculations by dumping the /1000 and then *1000 ; nothing else uses the framerate as I could tell. It does appear Myth has bad comskips in the db; two ways to see them: 1) [root@Tank log]# mythutil --getskiplist --chanid 1743 --starttime 20121103163000 -q Commercial Skip List: 0-580,7296-13479,25255-31490 2) look in the mysql db, at the recordedmarkup db; use the chanid and starttime to find the records. From the log: 21:31:55 T:140662712293120 DEBUG: ReadEditDecisionLists - Checking for edit decision list (EDL) for PVR recording: pvr://recordings/Default/Horsepower TV/Horsepower TV - E-Street Vortech Build, TV (743 SPIKEHD), 20121103_163000.pvr 21:31:55 T:140662712293120 DEBUG: ReadPvr - Reading Edl for recording: Horsepower TV - E-Street Vortech Build 21:31:55 T:140662712293120 DEBUG: AddOnLog: MythTV cmyth PVR Client: GetRecordingEdl - Got frame rate of 29.969999 21:31:55 T:140662712293120 DEBUG: AddOnLog: MythTV cmyth PVR Client: GetRecordingEdl - Found 3 commercial breaks for: Horsepower TV - E-Street Vortech Build 21:31:55 T:140662712293120 DEBUG: AddOnLog: MythTV cmyth PVR Client: GetRecordingEdl - Found 0 cut list entries for: Horsepower TV - E-Street Vortech Build 21:31:55 T:140662712293120 DEBUG: AddCut - Pushing new cut to back [00:00:00.000 - 00:00:19.352], 3 21:31:55 T:140662712293120 DEBUG: ReadPvr - Added break [00:00:00.000 - 00:00:19.352] found in PVRRecording for: pvr://recordings/Default/Horsepower TV/Horsepower TV - E-Street Vortech Build, TV (743 SPIKEHD), 20121103_163000.pvr. 21:31:55 T:140662712293120 DEBUG: AddCut - Pushing new cut to back [00:04:03.443 - 00:07:29.749], 3 21:31:55 T:140662712293120 DEBUG: ReadPvr - Added break [00:04:03.443 - 00:07:29.749] found in PVRRecording for: pvr://recordings/Default/Horsepower TV/Horsepower TV - E-Street Vortech Build, TV (743 SPIKEHD), 20121103_163000.pvr. 21:31:55 T:140662712293120 DEBUG: AddCut - Pushing new cut to back [00:14:02.676 - 00:17:30.717], 3 21:31:55 T:140662712293120 DEBUG: ReadPvr - Added break [00:14:02.676 - 00:17:30.717] found in PVRRecording for: pvr://recordings/Default/Horsepower TV/Horsepower TV - E-Street Vortech Build, TV (743 SPIKEHD), 20121103_163000.pvr. 21:31:55 T:140662712293120 DEBUG: AddSceneMarker - Inserting new scene marker: 00:00:19.352 21:31:55 T:140662712293120 DEBUG: AddSceneMarker - Inserting new scene marker: 00:04:03.443 21:31:55 T:140662712293120 DEBUG: AddSceneMarker - Inserting new scene marker: 00:07:29.749 21:31:55 T:140662712293120 DEBUG: AddSceneMarker - Inserting new scene marker: 00:14:02.676 21:31:55 T:140662712293120 DEBUG: AddSceneMarker - Inserting new scene marker: 00:17:30.717 and doing the calcs by hand shows it's correct from the data being fed it. Now to figure why MythTV has bad data in that table,yet commercial skip appears to work properly in the front end; one idea that I found by a google search was this thread I'm out until after the first of jan, so I don't have any time to really followup until then. RE: New MythTV add-on using libcmyth - janbar - 2012-12-19 (2012-12-16, 16:31)Ayla Wrote:(2012-12-14, 00:29)cfetzer Wrote:(2012-12-13, 10:29)Ayla Wrote: I still see "lock ups" in live TV. @Ayla I retried the current master of addon and S3 suspend runs great even with remote backend. When backend is remote just need some times (less than 1 minute) to receive first backend feedback. Also no more lock. Could you rebuild your addon from the current master using "make clean zip". Also cleanup your addon folder ".../addons/pvr.mythtv.cmyth" then unzip the new build "pvr.mythtv.cmyth-{something}.zip" in the addons folders ".../addons/". Because i suspect you use an old release but not sure. br. |