• 1
  • 100
  • 101
  • 102(current)
  • 103
  • 104
  • 148
New MythTV add-on using libcmyth
Looks like this addon is getting close to ready for prime time. Great work by the developers!

Using the 11/11 Windows build with version 0.5.0 of the addon with my MythTV 0.24-4 backend, I'm getting "PVR Backend Error" twice each time I try to delete a recording. However, the recording does appear to be deleted properly.

A debug log is at:

http://pastebin.com/nztqfUwa
Reply
(2012-11-10, 17:34)cfetzer Wrote: Good news everybody. Version 0.5.0 was released to xbmc's main addon repository today.
Compared to v0.4 it's a huge step especially in view of performance and stability.
Thanks to everyone here who supported us providing logs and ideas to improve the addon.
And of cause a huge thanks to janbar for all his work!
Cheers,
Christian

Hi folks, I just wanted to add my voice to the chorus of thanks for all of your hard work and perseverance getting this plugin into the XBMC repository. It's great news! Thanks!
Reply
One more debug log for you. This is on OpenELEC 11/11 ION x64 build, with cmyth addon 0.5.0 and MythTV 0.24-1 backend.

XBMC hung when trying to display the recordings screen. No recordings were displayed.

http://pastebin.com/zNVYw862
Reply
And one more. Same hardware and software config. After exiting from watching a recording, the "recordings" screen displays "Storage" and "System" instead of the list of recordings.

http://pastebin.com/8MEuRffP

Thanks again to the developers for all the hard work of coding and debugging.
Reply
For everyone else that might have been also cutting and pasting the slightly incorrect configure option. The correct option is:

Code:
./configure --enable-addons-with-dependencies

Note the s in addons. For some reason configure was just outputting a warning if the s was missing so it could easily have looked like it was working.
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
More good news. Our recently released version 0.5 works not only on your PC or IOS device. It also runs quite fine on the Raspberry Pi Big Grin
Openelec ships the addon and a quick test on the latest nightly (http://sources.openelec.tv/tmp/image/) looks promising (tested playback of livetv and recordings).
You just might want to get the MPEG2 license for the RPI!

Cheers Christian
(2012-11-11, 23:16)speed32219 Wrote: OK, I had to move the .xbmc folder and let xbmc create a new one. I then installed from zip and I am now at the latest 0.5.0. But now I have new problems. Configured the addon and when I enable live tv xbmc locks up. Below is all I could get from the xbmc.log.

Code:
15:23:54 T:3006253632   DEBUG:   ParentPath = []
15:23:54 T:2939104064  NOTICE: Thread Background Loader start, auto delete: false
15:23:54 T:2939104064 WARNING: CreateLoader - Unsupported protocol(addons) in addons://disabled/folder.jpg
15:23:54 T:2939104064 WARNING: CreateLoader - Unsupported protocol(addons) in addons://repos/folder.jpg
15:23:54 T:2939104064 WARNING: CreateLoader - Unsupported protocol(addons) in addons://install/folder.jpg
15:23:54 T:2939104064 WARNING: CreateLoader - Unsupported protocol(addons) in addons://search/folder.jpg
15:23:54 T:2939104064   DEBUG: Thread Background Loader 2939104064 terminating
15:23:55 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:23:55 T:3006253632   DEBUG: CGUIMediaWindow::GetDirectory (addons://disabled/)
15:23:55 T:3006253632   DEBUG:   ParentPath = []
15:23:55 T:2939104064  NOTICE: Thread Background Loader start, auto delete: false
15:23:55 T:2939104064 WARNING: CreateLoader - Unsupported protocol(addons) in addons://disabled/xbmc.pvrclient/folder.jpg
15:23:55 T:2939104064   DEBUG: Thread Background Loader 2939104064 terminating
15:23:56 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:23:56 T:3006253632   DEBUG: CGUIMediaWindow::GetDirectory (addons://disabled/xbmc.pvrclient)
15:23:56 T:3006253632   DEBUG:   ParentPath = [addons://disabled/]
15:23:56 T:2939104064  NOTICE: Thread Background Loader start, auto delete: false
15:23:56 T:2842684224   DEBUG: GetImageHash - unable to stat url /usr/share/xbmc/addons/pvr.demo/icon.png
15:23:56 T:2939104064   DEBUG: Thread Background Loader 2939104064 terminating
15:24:00 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:00 T:3006253632   DEBUG: ------ Window Init (DialogAddonInfo.xml) ------
15:24:00 T:3006253632    INFO: Loading skin file: DialogAddonInfo.xml, load type: KEEP_IN_MEMORY
15:24:02 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:02 T:3006253632   DEBUG: ------ Window Init (DialogAddonSettings.xml) ------
15:24:02 T:3006253632    INFO: Loading skin file: DialogAddonSettings.xml, load type: KEEP_IN_MEMORY
15:24:02 T:3006253632   DEBUG: POParser: loaded 8 strings from file /home/XBMC/.xbmc/addons/pvr.mythtv.cmyth/resources/language/English/strings.po
15:24:04 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:05 T:3006253632   DEBUG: ------ Window Deinit (DialogAddonSettings.xml) ------
15:24:06 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:06 T:3006253632   DEBUG: CGUIMediaWindow::GetDirectory (addons://disabled/xbmc.pvrclient)
15:24:06 T:3006253632   DEBUG:   ParentPath = [addons://disabled/xbmc.pvrclient]
15:24:06 T:2939104064  NOTICE: Thread Background Loader start, auto delete: false
15:24:06 T:2842684224   DEBUG: GetImageHash - unable to stat url /usr/share/xbmc/addons/pvr.demo/icon.png
15:24:06 T:2939104064   DEBUG: Thread Background Loader 2939104064 terminating
15:24:08 T:3006253632   DEBUG: ProcessMouse: trying mouse action rightclick
15:24:09 T:3006253632   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
15:24:09 T:3006253632   DEBUG: SECTION:UnloadDelayed(DLL: libcrystalhd.so.3)
15:24:09 T:3006253632   DEBUG: Unloading: libcrystalhd.so.3
15:24:10 T:3006253632   DEBUG: ProcessMouse: trying mouse action rightclick
15:24:10 T:3006253632   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
15:24:10 T:3006253632   DEBUG: ------ Window Deinit (AddonBrowser.xml) ------
15:24:10 T:3006253632   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
15:24:10 T:3006253632   DEBUG: ------ Window Init (Settings.xml) ------
15:24:12 T:3006253632   DEBUG: ProcessMouse: trying mouse action rightclick
15:24:12 T:3006253632   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
15:24:12 T:3006253632   DEBUG: ------ Window Deinit (Settings.xml) ------
15:24:12 T:3006253632   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
15:24:12 T:3006253632   DEBUG: ------ Window Init (Home.xml) ------
15:24:12 T:3006253632    INFO: CheckIdle - Closing session to http://feeds.feedburner.com (easy=0xaf50a930, multi=0xaf5008c8)
15:24:14 T:3006253632   DEBUG: ProcessMouse: trying mouse action wheelup
15:24:16 T:3006253632   DEBUG: Previous line repeats 2 times.
15:24:16 T:3006253632   DEBUG: ProcessMouse: trying mouse action wheeldown
15:24:18 T:3006253632   DEBUG: Previous line repeats 5 times.
15:24:18 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:18 T:3006253632   DEBUG: ExecuteXBMCAction : Translating ActivateWindow(Settings)
15:24:18 T:3006253632   DEBUG: ExecuteXBMCAction : To ActivateWindow(Settings)
15:24:18 T:3006253632   DEBUG: Activating window ID: 10004
15:24:18 T:3006253632   DEBUG: ------ Window Deinit (Home.xml) ------
15:24:18 T:3006253632   DEBUG: ------ Window Init (Settings.xml) ------
15:24:21 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:21 T:3006253632   DEBUG: ExecuteXBMCAction : Translating ActivateWindow(PVRSettings)
15:24:21 T:3006253632   DEBUG: ExecuteXBMCAction : To ActivateWindow(PVRSettings)
15:24:21 T:3006253632   DEBUG: Activating window ID: 10021
15:24:21 T:3006253632   DEBUG: ------ Window Deinit (Settings.xml) ------
15:24:21 T:3006253632   DEBUG: ------ Window Init (SettingsCategory.xml) ------
15:24:21 T:3006253632    INFO: Loading skin file: SettingsCategory.xml, load type: KEEP_IN_MEMORY
15:24:24 T:3006253632   DEBUG: ProcessMouse: trying mouse action leftclick
15:24:24 T:2961357632  NOTICE: PVRManager - starting up
15:24:24 T:2939104064  NOTICE: Thread PVR manager start, auto delete: false
15:24:24 T:2823060288  NOTICE: Thread PVR add-on updater start, auto delete: false
15:24:24 T:2823060288   DEBUG: RegisterClient - registering add-on 'MythTV cmyth PVR Client'
15:24:25 T:2823060288   DEBUG: PVR - Create - creating PVR add-on instance 'MythTV cmyth PVR Client'
15:24:25 T:2823060288   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
15:24:25 T:2823060288   DEBUG: SECTION:LoadDLL(/home/XBMC/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr)
15:24:25 T:2823060288   DEBUG: Loading: /home/XBMC/.xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr

I have to delete db22 in the userdata/database folder to get xbmc to re-start. I can copy a pvr.mythtv.cmyth addon from another networked pc and put it in the addon folder and it will start 0.4.0 and work.

Ubuntu 12.04

This is really strange. That part of the log didn't help much. Any change we get a full one with 'Include more debug information in the log file' enabled. Somehow it still looks like you're not running a recent enough xbmc build. Also a build log (of both, addon and xbmc) might help.
(2012-11-12, 17:17)richardk Wrote: And one more. Same hardware and software config. After exiting from watching a recording, the "recordings" screen displays "Storage" and "System" instead of the list of recordings.

http://pastebin.com/8MEuRffP

Thanks again to the developers for all the hard work of coding and debugging.

Known issue in xbmc: https://github.com/xbmc/xbmc/pull/1702
Reply
(2012-11-12, 22:08)dteirney Wrote: For everyone else that might have been also cutting and pasting the slightly incorrect configure option. The correct option is:

Code:
./configure --enable-addons-with-dependencies

Note the s in addons. For some reason configure was just outputting a warning if the s was missing so it could easily have looked like it was working.

I notice that the "official" wiki page for the MythTV add-on: http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV

links to this page:

http://www.dotnetdevelopers.net/XBMC/xbmcpvr.html

which contains the builds of the add-ons. I notice that the MythTV add-on are missing from all the Linux builds. Could it be that this is because they aren't passing the correct
Code:
--enable-addons-with-dependencies
option to configure? I know that the MythTV add-on does require this option because of the external dependency on MySQL.
Reply
@fiveisalive: I mentioned this here: http://forum.xbmc.org/showthread.php?tid=140148&page=10
I'm not hudert percent sure if it is a good idea to have linux binaries there because of the dependency. If the user that downloads the addon doesn't have exactly the same version of libmysqlclient (+its dependencies) installed then they use on the build server, it won't work.
Reply
(2012-11-12, 23:20)cfetzer Wrote: @fiveisalive: I mentioned this here: http://forum.xbmc.org/showthread.php?tid=140148&page=10
I'm not hudert percent sure if it is a good idea to have linux binaries there because of the dependency. If the user that downloads the addon doesn't have exactly the same version of libmysqlclient (+its dependencies) installed then they use on the build server, it won't work.

Yep, I appreciate the issue with ABI issues for libmysqlclient, but I thought the idea was that using that configure option would be that it would build a static version of the libmysqlclient and the PVR add-on could statically compile against that? i.e. the ideal case would be that the configure option would follow an algorithm like this:

1. check if there lis a shared library version of libmysqlclient and link against that
2. if there isn't such a version, download and compile a static version and link against that
Reply
Statically linking libmysqlclient is a mess. Therefore opdenkamp and cptspiff agreed that is better to add this option that disables build for linux per default. And let the distro maintainers package it. (had a chat with both on irc where we agreed this)
Reply
(2012-11-11, 22:03)NewJerseyNinja Wrote: Using "Do not store EPG in database" has helped a lot with all those 20 minute freeze ups.

Now it seems that playback skips every few seconds due to some kind of buffering issue.

It would be nice if the amount of buffer was a user adjustable setting.

I do have a 1gbps network so I don't know why that problem exists, however if I pause a Live TV stream for say 20 seconds, then play it back there is no pausing for a while, but the skipping eventually catches up. This is on a 720p channel.

I know this issue. I think your backend host is overloaded (mythcommflag ? or addon is downloading lot of artwork ?). Try to reboot it to cleanup something. br
Reply
@all

Release 0.5.0 and the new adjustment of buffer size: Since 0.5.0 the buffer size has no fixed size to avoid stop show from backend. When the tune of channel is bad sometime mythtv skip lot of frames. Because we requested to much before the backend stopped all (it is a rule in mythtv), we have limited the buffer size in these critical situations. But when situation become normal the buffer size is enlarged.like before.
The algorythm could be reviewed if you have to many problems with that. Let me know.

I done lot of test using a network over power line (4~5 Mbytes max (model 200Mb) ) and HD stream run well (1080i) but if you have other network traffic that would break the stream because HD stream need 4.5MBytes.

So prefer gigabyte network for HD stream.

br
Reply
I've built a version for Fedora 17, using modified version of the Frodo alpha rpm for F18, that simply does two git clones (one on xbmc git, the other on pvr git).. If there is interest, I can try to find a place to drop for use.. I am 100% sure I'm not doing this right, but it makes it easy to remove/re-install on my frontends this way.

I also had to disable Pulseaudio in it to get it work on one of my systems.
Reply
(2012-11-13, 07:30)tdavis Wrote: I've built a version for Fedora 17, using modified version of the Frodo alpha rpm for F18, that simply does two git clones (one on xbmc git, the other on pvr git).. If there is interest, I can try to find a place to drop for use.. I am 100% sure I'm not doing this right, but it makes it easy to remove/re-install on my frontends this way.

I also had to disable Pulseaudio in it to get it work on one of my systems.

If you make changes to the XBMC spec file, would be great if you could post a link to the diffs against the Fedora/RPM Fusion git repo for the XBMC package that I co-maintain:

http://fedorapeople.org/cgit/alexlan/pub...c-rpm.git/

We ultimately plan to package the PVR add-ons + XBMC core from one SRPM that contains the 2 tarballs.
Reply
@cfetzer
Quote:This is really strange. That part of the log didn't help much. Any change we get a full one with 'Include more debug information in the log file' enabled. Somehow it still looks like you're not running a recent enough xbmc build. Also a build log (of both, addon and xbmc) might help.

OK, added the s to addon and did another compile. Still no joy, but did an update to repos and installed xbmc again with a 12 November build from ppa:nathan-renniewaldock/xbmc-nightly. I was at a 9 Nov build, with the 12 Nov build it works like a charm. Thank ya'll so much for your hard dedicated work on this project. Besides me the WAF factor will be very high, she did not like the mythfrontend solution.
Reply
  • 1
  • 100
  • 101
  • 102(current)
  • 103
  • 104
  • 148

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