• 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 148
New MythTV add-on using libcmyth
(2012-11-04, 14:28)speed32219 Wrote: Janbar, when I make zip using your most current, I do not get a pvr.mythtv.cmyth.zip file. It would also be nice if in your sig's if you could put the link to your git repos. (Janbar/cfetzer)

I have an HDHR using the over the air EPG from ATSC broadcast stations AND an HDHR prime using SchedulesDirect for cablecard channels.

The cablecard channels EPG seems to import ok, but,

I am having some issues with importing the EPG from the US ATSC over the air EPG info.

The mythtv addon for XBMC seems to get hung up while importing EPG from clients, it takes FOREVER and on my dual core system seems to put the second CPU core at 100% useage.

Mythtv does a continuous EPG crawl for ATSC broadcast stations, maybe that is a problem?


--Update--

After waiting maybe 20 minutes for the EPG on one ATSC channel, it did work properly, no freeze up after changing channels.

However, when I stopped playback. And tried to exit XBMC, it froze up with the exit menu just sitting there.

If this freeze-on-exit can be fixed then everything is working for me.



Reply
(2012-11-04, 14:29)cfetzer Wrote: you're probably missing the configure option (--enable-addons-with-dependencies): http://wiki.xbmc.org/index.php?title=PVR...FromSource

Thanks, that did it.
Reply
(2012-11-04, 12:20)cfetzer Wrote: My repo is the official dev repo where everything gets merged together.

Thanks for the clarification and help! I got xbmc installed from ppa and addon compiled from your repo.
Reply
[disclaimer]I have not read all 1473 posts (yet)[/disclaimer]

I'm running OpenELEC 2.0 (i.e XBMC 11 Eden + PVR) on an AMD E350 system and I'm trying to get TV support up and running.

I have MythTV 0.25 running under Fedora 17 (not sure of the exact build, but it is the latest version in the standard Fedora YUM repository). This is my development machine, so building and testing specific versions of MythTV (0.24, 0.25, or 0.26) won't be a problem. Both the development machine and the XBMC box are x86_64, so there should be no problem building an XBMC add-on either.

I'm after a solution that will provide me with:
  • Live TV
  • EPG (over the air)
  • Recording of a show being watched (don't mind if the recording starts from when the record button was pressed, but if the recording can include back to when I started watching the show, that would be a bonus)
  • Scheduled recordings (individual programs & series)
  • Pause, Rewind, Fast-Forward of live and recorded TV

From the bits and pieces I have read of this thread, I assume what is being discussed here ticks all of the above boxes. Problem for me is that there is so much information in this thread that a) I don't know if my assumption is correct and b) where to start in order to get it all working (what version of MythTV, where to get the add-on source, what to compile, how to configure, etc.)

So what is the current status? Is this the solution I'm looking for? How do I go about getting it all working?
Reply
(2012-11-05, 03:21)calris Wrote: [disclaimer]I have not read all 1473 posts (yet)[/disclaimer]

I'm running OpenELEC 2.0 (i.e XBMC 11 Eden + PVR) on an AMD E350 system and I'm trying to get TV support up and running.

I have MythTV 0.25 running under Fedora 17 (not sure of the exact build, but it is the latest version in the standard Fedora YUM repository). This is my development machine, so building and testing specific versions of MythTV (0.24, 0.25, or 0.26) won't be a problem. Both the development machine and the XBMC box are x86_64, so there should be no problem building an XBMC add-on either.

I'm after a solution that will provide me with:
  • Live TV
  • EPG (over the air)
  • Recording of a show being watched (don't mind if the recording starts from when the record button was pressed, but if the recording can include back to when I started watching the show, that would be a bonus)
  • Scheduled recordings (individual programs & series)
  • Pause, Rewind, Fast-Forward of live and recorded TV

From the bits and pieces I have read of this thread, I assume what is being discussed here ticks all of the above boxes. Problem for me is that there is so much information in this thread that a) I don't know if my assumption is correct and b) where to start in order to get it all working (what version of MythTV, where to get the add-on source, what to compile, how to configure, etc.)

So what is the current status? Is this the solution I'm looking for? How do I go about getting it all working?

This is mostly a developers thread, there is work in progress for end-user (although still requires compiling) here on the wiki:

http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV

and especially:

http://wiki.xbmc.org/index.php?title=PVR...FromSource

The instructions are for Ubuntu, not sure how that works into OpenElec

I also run MythTV on Fedora, but my XBMC is on the same machine, so I'm familiar with compiling there (I maintain the RPM Fusion/Fedora package of XBMC), but don't know much about Ubuntu and OpenElec.

The bottom line is that you still have to compile the actual Add-on, as I don't think the version of OpenElec is compatible with this version of the MythTV add-on.
Reply
(2012-11-03, 07:48)dubstar_04 Wrote:
(2012-11-03, 01:22)janbar Wrote:
(2012-11-01, 20:00)dubstar_04 Wrote: buildlog:
http://paste.ubuntu.com/1324260/

Terminal Output:
http://paste.ubuntu.com/1324265/

Log:
http://paste.ubuntu.com/1324272/

Any help much appreciated.

Thanks,

Dubstar_04
Hi dubstar,

Can you upgrade your system to last long term supportted version ? I suggest ubuntu 12.04 with last update.


I think i will have to. only problem is that the machine is running my my main htpc, webserver, media server...

its one of the jobs i have been putting off as i have had problems with the nvidia (gt 430) drivers in every version of ubuntu other than 10.10

I have tried upgrading a few times and ended up going back.

thanks,

Dubstar_04


i've upgraded to ubuntu 12.04 and the plugin seems to be working great!!

thank you,

Dubstar_04

All Things PVR
Reply
(2012-11-05, 03:21)calris Wrote: [disclaimer]I have not read all 1473 posts (yet)[/disclaimer]

I'm running OpenELEC 2.0 (i.e XBMC 11 Eden + PVR) on an AMD E350 system and I'm trying to get TV support up and running.

I have MythTV 0.25 running under Fedora 17 (not sure of the exact build, but it is the latest version in the standard Fedora YUM repository). This is my development machine, so building and testing specific versions of MythTV (0.24, 0.25, or 0.26) won't be a problem. Both the development machine and the XBMC box are x86_64, so there should be no problem building an XBMC add-on either.

I'm after a solution that will provide me with:
  • Live TV
  • EPG (over the air)
  • Recording of a show being watched (don't mind if the recording starts from when the record button was pressed, but if the recording can include back to when I started watching the show, that would be a bonus)
  • Scheduled recordings (individual programs & series)
  • Pause, Rewind, Fast-Forward of live and recorded TV

From the bits and pieces I have read of this thread, I assume what is being discussed here ticks all of the above boxes. Problem for me is that there is so much information in this thread that a) I don't know if my assumption is correct and b) where to start in order to get it all working (what version of MythTV, where to get the add-on source, what to compile, how to configure, etc.)

So what is the current status? Is this the solution I'm looking for? How do I go about getting it all working?

i'm happy to see more out there are looking for these things and seeing MythTV as a viable solution. I myself had these same requirements, and was hoping to have them all achieved from within XBMC and have.

You'll want a recent nightly build for XBMC as Frodo is required for PVR plugins, and can just build XBMC from source here: https://github.com/xbmc/xbmc .

Then build the plugin from here: https://github.com/fetzerch/xbmc-pvr-addons .

My front end's are Windows 7 x64 and Ubuntu 12.04 x64, both work fine great with Live TV, EPG, Recordings, Pausing Live TV.

I should mention my backend is MythTV 0.25 from having installed Mythbuntu 12.04. I haven't upgraded it, so whatever version of 0.25 that came with Mythbuntu 12.04 is what I'm running.
Reply
I need to confirm but I believe I was able to delete a recording I was currently watching. Many errors followed shortly after. I will submit an issue once I confirm unless someone beats me to it.
Reply
Soo, if I understand correctly, the last missing piece of MythTV support is commercial skipping, and that is because Myth maintains the commercial skip list in a different type of list than XBMC does.

Is there any work on this?
Reply
(2012-11-05, 18:55)tdavis Wrote: Soo, if I understand correctly, the last missing piece of MythTV support is commercial skipping, and that is because Myth maintains the commercial skip list in a different type of list than XBMC does.

Is there any work on this?

Not sure if there is any work on this (guessing no) but this is what I know. There is a function in libcmyth called "get_commbreaklist". https://raw.github.com/fetzerch/xbmc-pvr...th/cmyth.h

In the XBMC MythFile.cpp (https://raw.github.com/xbmc/xbmc/master/...thFile.cpp) file this function is used to get a comm break list and pass it back along to XBMC. To my knowledge XBMC will accept an 'on the fly' type cut list. I don't know what it will take to modify the addon to use any of these features but according to this wiki entry (http://wiki.xbmc.org/index.php?title=Edi...ist#MythTV) the built in myth support should try and load these lists, so it should be possible for the addon to do it as well.

Looking through these threads it seems the developers are tracking down other issues at the moment but I'm sure this will hit the feature list eventually. One big question would be if the PVR API has support for EDL lists at the moment? If not they'd have to be added upstream before the client could do anything.
Reply
I'll be looking at implementing the EDL skip support. The EDL class in XBMC needs to be updated to get the commercial break information from the PVR API if a PVR file is being played. It's not too complicated so if anyone else wants to look at it feel free as my time is, unfortunately, quite limited for XBMC development at the moment.
Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
(2012-11-05, 08:15)dubstar_04 Wrote:
(2012-11-03, 07:48)dubstar_04 Wrote:
(2012-11-03, 01:22)janbar Wrote: Hi dubstar,

Can you upgrade your system to last long term supportted version ? I suggest ubuntu 12.04 with last update.


I think i will have to. only problem is that the machine is running my my main htpc, webserver, media server...

its one of the jobs i have been putting off as i have had problems with the nvidia (gt 430) drivers in every version of ubuntu other than 10.10

I have tried upgrading a few times and ended up going back.

thanks,

Dubstar_04


i've upgraded to ubuntu 12.04 and the plugin seems to be working great!!

thank you,

Dubstar_04
@dubstar_04

Great. You made ​​the right decision. Wink

(2012-11-04, 17:05)NewJerseyNinja Wrote:
(2012-11-04, 14:28)speed32219 Wrote: Janbar, when I make zip using your most current, I do not get a pvr.mythtv.cmyth.zip file. It would also be nice if in your sig's if you could put the link to your git repos. (Janbar/cfetzer)

I have an HDHR using the over the air EPG from ATSC broadcast stations AND an HDHR prime using SchedulesDirect for cablecard channels.

The cablecard channels EPG seems to import ok, but,

I am having some issues with importing the EPG from the US ATSC over the air EPG info.

The mythtv addon for XBMC seems to get hung up while importing EPG from clients, it takes FOREVER and on my dual core system seems to put the second CPU core at 100% useage.

Mythtv does a continuous EPG crawl for ATSC broadcast stations, maybe that is a problem?


--Update--

After waiting maybe 20 minutes for the EPG on one ATSC channel, it did work properly, no freeze up after changing channels.

However, when I stopped playback. And tried to exit XBMC, it froze up with the exit menu just sitting there.

If this freeze-on-exit can be fixed then everything is working for me.
Woaa. How many channels have you ? and for how many long time do you grab the EPG ?
Please check your mysql database and probably optimize tables or repair them. The EPG is grabbed from the database of backend. Also perhaps when you exited from XBMC, it collected an update of EPG.
br.
Reply
Good news. The addon run well on IPAD (ios 5.1.1). So probably also on AppleTV.
Reply
@janbar, @fetzerch, where is the best place to record segmentation faults? I've had a number of crashes the last few nights. Only just got around to getting the crashlogs off the HTPC.

Code:
Program terminated with signal 11, Segmentation fault.
#0  0x00007f3d4761caa1 in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f3d4e121780 (LWP 16482)):
#0  0x00007f3d4761caa1 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f3d35ce7795 in delete_command (control=0x7f3d3d1457f8, prog=0x2d3cb00, cmd=0x7f3d35cfcbdd "DELETE_RECORDING") at proginfo.c:388
#2  0x00007f3d35cc36b2 in MythConnection::DeleteRecording (this=0x7f3d3ce9c9a0, recording=...) at src/cppmyth/MythConnection.cpp:227
#3  0x00007f3d35cba187 in PVRClientMythTV::DeleteRecording (this=0x7f3d3ce9c9a0, recording=...) at src/pvrclient-mythtv.cpp:547
#4  0x000000000096036c in PVR::CPVRClient::DeleteRecording (this=0x260b940, recording=<optimized out>) at PVRClient.cpp:585
#5  0x00000000009699ed in PVR::CPVRClients::DeleteRecording (this=<optimized out>, recording=...) at PVRClients.cpp:479
#6  0x0000000000ef1318 in PVR::CPVRRecording::Delete (this=0x7f3d3d455010) at PVRRecording.cpp:117
#7  0x0000000000979541 in PVR::CGUIWindowPVRCommon::ActionDeleteRecording (this=<optimized out>, item=0x7f3d3c196630) at GUIWindowPVRCommon.cpp:496
#8  0x0000000000981148 in PVR::CGUIWindowPVRRecordings::OnClickList (this=0x7f3d3d3979c0, message=<optimized out>) at GUIWindowPVRRecordings.cpp:290
#9  0x0000000000973615 in OnMessageClick (message=..., this=0x7f3d3c56f7b0) at GUIWindowPVR.cpp:232
#10 PVR::CGUIWindowPVR::OnMessageClick (this=0x7f3d3c56f7b0, message=...) at GUIWindowPVR.cpp:216
#11 0x0000000000973797 in PVR::CGUIWindowPVR::OnMessage (this=0x7f3d3c56f7b0, message=...) at GUIWindowPVR.cpp:141
#12 0x0000000000993c8a in CGUIBaseContainer::OnClick (this=0x2c84ea0, actionID=80) at GUIBaseContainer.cpp:736
#13 0x0000000000a24350 in CGUIWindow::OnAction (this=0x7f3d3c56f7b0, action=...) at GUIWindow.cpp:413
#14 0x0000000000f2972e in CGUIMediaWindow::OnAction (this=0x7f3d3c56f7b0, action=...) at GUIMediaWindow.cpp:181
#15 0x0000000000a29e2d in CGUIWindowManager::OnAction (this=0x175faa0, action=...) at GUIWindowManager.cpp:483
#16 0x0000000000f52faf in CApplication::OnAction (this=0x175e740, action=...) at Application.cpp:2608
#17 0x0000000000f54c57 in CApplication::OnKey (this=0x175e740, key=...) at Application.cpp:2530
#18 0x0000000000f55802 in CApplication::OnEvent (newEvent=...) at Application.cpp:480
#19 0x0000000000f2270f in CWinEventsSDL::MessagePump () at WinEventsSDL.cpp:289
#20 0x0000000000f5ad16 in CApplication::FrameMove (this=0x175e740, processEvents=<optimized out>, processGUI=<optimized out>) at Application.cpp:2938
#21 0x0000000000fe45b2 in CXBApplicationEx::Run (this=0x175e740, renderGUI=<optimized out>) at XBApplicationEx.cpp:142
#22 0x0000000000fec1ac in XBMC_Run (renderGUI=true) at xbmc.cpp:69
#23 0x000000000071dd78 in main (argc=1, argv=0x7fff26cb7338) at main.cpp:84

Several of these.
Code:
Core was generated by `/usr/local/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0  cmyth_datetime_to_string (str=0x7ffff801f400 "\310\002\032\003", ts=0x74007964656d6f43) at timestamp.c:435
435        tm_datetime.tm_year = ts->timestamp_year - 1900;

This one looks like it might have been resolved with the locking commit yesterday?
Code:
Program terminated with signal 11, Segmentation fault.
#0  cmyth_get_bookmark (conn=0x7f928000edc8, prog=0x0) at bookmark.c:38
38        cmyth_datetime_to_string(start_ts_dt, prog->proginfo_rec_start_ts);

Several of these.
Code:
Program terminated with signal 11, Segmentation fault.
#0  operator cmyth_proginfo* (this=<optimized out>) at src/cppmyth/MythPointer.h:47
47        return m_mythpointer;

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply
I still use MythFrontend and then launch XBMC from it for now, but if this stabalizes and in the future we can get more of a Guide like look when in the EPG this would be so much better for the family to be in one product heh!







Silence is the element in which great things fashion themselves.
—Thomas Carlyle British essayist and historian
Reply
  • 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 148

Logout Mark Read Team Forum Stats Members Help
New MythTV add-on using libcmyth8