Kodi Community Forum
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)



RE: New MythTV add-on using libcmyth - Aubrien - 2012-10-30

@janbar
I tried increasing the duration of usleep to 999999 up from 500000. Still seems to do the same thing.

@dst6se
Good to see I am not the only one with this issue anymore. This has been an issue for some weeks now but I hope janbar will come up with a solution soon. There are so many new features I would like to try but I cant seem to get playback to start reliably which is a showstopper for me.


RE: New MythTV add-on using libcmyth - dst6se - 2012-10-30

(2012-10-30, 07:28)Aubrien Wrote: @janbar
I tried increasing the duration of usleep to 999999 up from 500000. Still seems to do the same thing.

@dst6se
Good to see I am not the only one with this issue anymore. This has been an issue for some weeks now but I hope janbar will come up with a solution soon. There are so many new features I would like to try but I cant seem to get playback to start reliably which is a showstopper for me.

I have also tried all the different fixes but it still stop after a couple of sec , i tried both mythbackend 0.25, 0.26.





RE: New MythTV add-on using libcmyth - janbar - 2012-10-30

(2012-10-30, 11:46)dst6se Wrote:
(2012-10-30, 07:28)Aubrien Wrote: @janbar
I tried increasing the duration of usleep to 999999 up from 500000. Still seems to do the same thing.

@dst6se
Good to see I am not the only one with this issue anymore. This has been an issue for some weeks now but I hope janbar will come up with a solution soon. There are so many new features I would like to try but I cant seem to get playback to start reliably which is a showstopper for me.

I have also tried all the different fixes but it still stop after a couple of sec , i tried both mythbackend 0.25, 0.26.
I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.



RE: New MythTV add-on using libcmyth - dst6se - 2012-10-30

(2012-10-30, 21:31)janbar Wrote:
(2012-10-30, 11:46)dst6se Wrote:
(2012-10-30, 07:28)Aubrien Wrote: @janbar
I tried increasing the duration of usleep to 999999 up from 500000. Still seems to do the same thing.

@dst6se
Good to see I am not the only one with this issue anymore. This has been an issue for some weeks now but I hope janbar will come up with a solution soon. There are so many new features I would like to try but I cant seem to get playback to start reliably which is a showstopper for me.

I have also tried all the different fixes but it still stop after a couple of sec , i tried both mythbackend 0.25, 0.26.
I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.

If you need some help, with logs feel free to ask !!
Thanks for all the work !




RE: New MythTV add-on using libcmyth - Aubrien - 2012-10-31

Thanks Janbar. Your hard work is appreciated.


RE: New MythTV add-on using libcmyth - dst6se - 2012-10-31

(2012-10-31, 01:32)Aubrien Wrote: Thanks Janbar. Your hard work is appreciated.

@Aubrien
Have you tried with mythbackend v0.24 ??




RE: New MythTV add-on using libcmyth - dubstar_04 - 2012-10-31

Hi guys,

i'm building the addons on maverick following this guide.

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

the addon builds, however, when i enable livetv xbmc just dies. with this:

Code:
17:03:39 T:3002067824  NOTICE: Thread PVR manager start, auto delete: false
17:03:39 T:3020864368   DEBUG: Thread EPG updater 3020864368 terminating
17:03:39 T:3020864368  NOTICE: Thread PVR add-on updater start, auto delete: false
17:03:39 T:3020864368   DEBUG: PVR - ResetProperties - creating PVR add-on instance 'MythTV cmyth PVR Client'
17:03:39 T:3020864368   DEBUG: InitialiseClient - initialising add-on 'MythTV cmyth PVR Client'
17:03:39 T:3020864368   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
17:03:39 T:3020864368   DEBUG: SECTION:LoadDLL(/home/sandal/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr)
17:03:39 T:3020864368   DEBUG: Loading: /home/sandal/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr

Any clues?


RE: New MythTV add-on using libcmyth - fetzerch - 2012-10-31

(2012-10-31, 19:19)dubstar_04 Wrote: Hi guys,

i'm building the addons on maverick following this guide.
http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV/BuildFromSource
the addon builds, however, when i enable livetv xbmc just dies. with this:

Code:
17:03:39 T:3002067824  NOTICE: Thread PVR manager start, auto delete: false
17:03:39 T:3020864368   DEBUG: Thread EPG updater 3020864368 terminating
17:03:39 T:3020864368  NOTICE: Thread PVR add-on updater start, auto delete: false
17:03:39 T:3020864368   DEBUG: PVR - ResetProperties - creating PVR add-on instance 'MythTV cmyth PVR Client'
17:03:39 T:3020864368   DEBUG: InitialiseClient - initialising add-on 'MythTV cmyth PVR Client'
17:03:39 T:3020864368   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
17:03:39 T:3020864368   DEBUG: SECTION:LoadDLL(/home/sandal/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr)
17:03:39 T:3020864368   DEBUG: Loading: /home/sandal/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr

Any clues?

So far this looks good, is there more output afterwards?
Did you build it on the same system? Any suspicious warnings during build?
Maybe it could help if you pastebin the full build/and debug log.

Cheers, Christian


RE: New MythTV add-on using libcmyth - janbar - 2012-10-31

(2012-10-30, 22:00)dst6se Wrote:
(2012-10-30, 21:31)janbar Wrote:
(2012-10-30, 11:46)dst6se Wrote: I have also tried all the different fixes but it still stop after a couple of sec , i tried both mythbackend 0.25, 0.26.
I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.

If you need some help, with logs feel free to ask !!
Thanks for all the work !
I found something: Mythtv stop to send the stream when requested block is to big compared to input stream. So it stop playback. Now i can reproduce the stuff by overloading my storage. I am thinking to update the code to manage this situation by reduce the request size depending of returned size of previous block. Also when channel tune is bad many frames are dropped and stream flow become small and then the request size should be small too. Think in this case the spawn and switch channel could be longer.



RE: New MythTV add-on using libcmyth - dst6se - 2012-10-31

(2012-10-31, 22:45)janbar Wrote:
(2012-10-30, 22:00)dst6se Wrote:
(2012-10-30, 21:31)janbar Wrote: I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.

If you need some help, with logs feel free to ask !!
Thanks for all the work !
I found something: Mythtv stop to send the stream when requested block is to big compared to input stream. So it stop playback. Now i can reproduce the stuff by overloading my storage. I am thinking to update the code to manage this situation by reduce the request size depending of returned size of previous block. Also when channel tune is bad many frames are dropped and stream flow become small and then the request size should be small too. Think in this case the spawn and switch channel could be longer.

Great, that explans why i never had any problems on my HD channels ! Smile


RE: New MythTV add-on using libcmyth - pgjensen - 2012-11-01

Is it safe to upgrade to MythTV v0.26 yet? I've held back upgrading from Ubuntu 12.04 to 12.10 because I don't know how the support for v0.26 compares to v0.25.


RE: New MythTV add-on using libcmyth - deadite66 - 2012-11-01

i'm running 0.26 fine for a few weeks now and i haven't found any problems, i don't use it for live tv though so not tested much.


RE: New MythTV add-on using libcmyth - richardambridge - 2012-11-01

I think I am misunderstanding something here.

I have been following the instructions at http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV/BuildFromSource
and have built successfully the pvr.mythtv.cmyth addon.
But when I try to load it into my OpenElec system I get:

07:07:02 T:139799709087488 ERROR: Unable to load /storage/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr, reason: libmysqlclient.so.18: cannot open shared object file: No such file or directory

It was compiled with --enable-addons-with-dependencies
but no where can I see instructions that indicate how to get mysql library into OpenElec.

OpenElec latest build version:
16:40:15 T:139800273803072 NOTICE: Starting XBMC (12.0-ALPHA7 Git:1677554), Platform: Linux (OpenELEC - Version: devel-20121029172525-r12322, 3.6.3 x86_64). Built on Oct 29 2012

Can anyone help?
Thanks



RE: New MythTV add-on using libcmyth - fetzerch - 2012-11-01

Problem is that you need the mysql runtime library.

Checkout if this post helps:
http://openelec.tv/forum/71-pvr--live-tv/50051-cmyth-mythtv-addon-for-the-pvr-version-of-xbmc?limit=20&start=20#51641

I guess it's this line that is missing in your build config:
PKG_DEPENDS="mysql curl"

If you get it running, could you update the build wiki?
BTW: Does it work for anybody on the rPI?

Cheers, Christian


RE: New MythTV add-on using libcmyth - jfath - 2012-11-01

@pgjensen

I haven't switched my primary MythTV backend to 0.26 yet, but I've been running a test server in parallel. I would say 0.26 is similar to slightly better. I seem to have fewer instances of live video stopping or refusing to start and things feel a bit more stable. I use HD-PVRs and an ATSC HDHomerun as inputs. Both servers run Ubuntu 12.04.

Last time I checked, XBMC nightlies had not been updated to allow myth:// protocol to work with 0.26, but it's unneeded now that janbar and cfetzer are providing this great add-on.

Jerry