XBMC Community Forum
New MythTV add-on using libcmyth - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - fiveisalive - 2012-04-26 17:06

(2012-04-26 08:57)chrisgibbs Wrote:  
(2012-04-26 00:44)tsp42 Wrote:  Fixed. I also found the reason why LiveTV wasn't working on Linux. Turned out that the mutex used on Linux in libcmyth is not reentrant so liveTV seeking caused the thread to deadlock. The mutex on windows is reentrant so no deadlock occurred.

Great work. I can confirm this has also resolved my issue.

Thanks for the commit.

Yep, live TV working again. Thank you!

I have, however, found that switching channels (without pressing stop in between) now seems to sometimes freeze XBMC for a couple of minutes, and then return to a non-playing state. I tried this both using "Up"/"Down" arrows within full screen, and selecting a channel directly in the TV channel view. This is on the same mythbackend system that didn't have such issues last week. Is anybody else seeing this?


RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-04-26 20:48

(2012-04-26 17:06)fiveisalive Wrote:  
(2012-04-26 08:57)chrisgibbs Wrote:  
(2012-04-26 00:44)tsp42 Wrote:  Fixed. I also found the reason why LiveTV wasn't working on Linux. Turned out that the mutex used on Linux in libcmyth is not reentrant so liveTV seeking caused the thread to deadlock. The mutex on windows is reentrant so no deadlock occurred.

Great work. I can confirm this has also resolved my issue.

Thanks for the commit.

Yep, live TV working again. Thank you!

I have, however, found that switching channels (without pressing stop in between) now seems to sometimes freeze XBMC for a couple of minutes, and then return to a non-playing state. I tried this both using "Up"/"Down" arrows within full screen, and selecting a channel directly in the TV channel view. This is on the same mythbackend system that didn't have such issues last week. Is anybody else seeing this?

Live tv working for me too thanks! but I have the same problem with changing channel as above, xbmc crashes. Pressing stop and changing from epg is okay. I also see the same behaviour with the time shift buttons reported earlier , ie being in the wrong order when being selected.


RE: New MythTV add-on using libcmyth - darkwizard - 2012-04-26 23:16

okay got it to compile but now it crashes every little thing i do like listen to music / try watch a video here is the log maybe some one can tell me what is wrong with it.
xbmc.log


RE: New MythTV add-on using libcmyth - Jimmer - 2012-04-27 00:23

(2012-04-26 23:16)darkwizard Wrote:  okay got it to compile but now it crashes every little thing i do like listen to music / try watch a video here is the log maybe some one can tell me what is wrong with it.
xbmc.log

seems like you have the same problem as these guys:

http://forum.xbmc.org/showthread.php?tid=127306

one guy claims to have cured it by deleting (or copying it to a new filename) his ~/.asoundrc file and rebooting. Can't hurt to try...


RE: New MythTV add-on using libcmyth - kburkart - 2012-04-27 16:47

Does this work for xbmcbuntu 11? EDEN?


RE: New MythTV add-on using libcmyth - Jimmer - 2012-04-27 16:59

(2012-04-27 16:47)kburkart Wrote:  Does this work for xbmcbuntu 11? EDEN?

Well technically this is post-Eden (or pre-Frodo whichever way you want to look at it....). If you have the dependencies installed on *nix or windows then it should compile for you.

When you clone the git repo, there are instruction in the readme files for the various platforms about the dependencies needed. On top of normal dependencies you need the libboost filesystem and regex libraries (1.46 is verified to work). On xbmcbuntu, you just follow the README.ubuntu instructions in your cloned repo to get all the dependencies and then compile as per the rest of the instructions. If you intend to compile a lot, I recommend installing ccache - it'll make future compiles a lot quicker.....

jim


RE: New MythTV add-on using libcmyth - kburkart - 2012-04-27 17:01

(2012-04-27 16:59)Jimmer Wrote:  
(2012-04-27 16:47)kburkart Wrote:  Does this work for xbmcbuntu 11? EDEN?

Well technically this is post-Eden (or pre-Frodo whichever way you want to look at it....). If you have the dependencies installed on *nix or windows then it should compile for you.

When you clone the git repo, there are instruction in the readme files for the various platforms about the dependencies needed. On top of normal dependencies you need the libboost filesystem and regex libraries (1.46 is verified to work). On xbmcbuntu, you just follow the README.ubuntu instructions in your cloned repo to get all the dependencies and then compile as per the rest of the instructions. If you intend to compile a lot, I recommend installing ccache - it'll make future compiles a lot quicker.....

jim

Thx


RE: New MythTV add-on using libcmyth - kburkart - 2012-04-27 20:08

Has anyone got this working as a diskless headend? If so could you explain how to set it up. Thx


RE: New MythTV add-on using libcmyth - tsp42 - 2012-04-29 21:45

(2012-04-26 20:48)bilbonvidia Wrote:  
(2012-04-26 17:06)fiveisalive Wrote:  
(2012-04-26 08:57)chrisgibbs Wrote:  Great work. I can confirm this has also resolved my issue.

Thanks for the commit.

Yep, live TV working again. Thank you!

I have, however, found that switching channels (without pressing stop in between) now seems to sometimes freeze XBMC for a couple of minutes, and then return to a non-playing state. I tried this both using "Up"/"Down" arrows within full screen, and selecting a channel directly in the TV channel view. This is on the same mythbackend system that didn't have such issues last week. Is anybody else seeing this?

Live tv working for me too thanks! but I have the same problem with changing channel as above, xbmc crashes. Pressing stop and changing from epg is okay. I also see the same behaviour with the time shift buttons reported earlier , ie being in the wrong order when being selected.
Could you and fiveisalive pastebin a debug log from when it happends. The addtion of the forward/reverse buttons tothe skin was a bit rushed. That's why the order is wrong. Will have to fix it.


RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-04-29 23:09

http://pastebin.com/VszJXeSB

Changing from channel one to channel two using the remote. The log looks similar to me as the original error with live tv not working at all.

Thanks again