• 1
  • 99
  • 100
  • 101(current)
  • 102
  • 103
  • 148
New MythTV add-on using libcmyth
(2012-11-09, 14:55)rdoac Wrote: I had to revert back to the Eden-PVR build as the slingbox plugin the main xbmc is still not working correctly. However, I don't know if the tsp's Eden-PVR branch will talk with a Myth 0.26 build? Does anyone know? Can it be patched? It's failing to login at the moment due to a protocol jump. I seem to remember this being addressed when Gentoo jumped us up to the latest mythtv a while back.

Tsp's Eden-PVR works only up to 0.25 and patching it is probably not worth the effort. Sorry :-(

Imho it would make much more sence to use pre-Frodo and our addon. If slingbox isn't working then try to get in contact with the devs of this addon and help them fixing their issue.
Because they will have to support Frodo soon.

Cheers,
Christian
Reply
Tried that a while back. He's no longer developing. It's the move to the new audio layer that's killing it. I get wierdness on most of my frontends with audio now..
Reply
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!

Here's the changelog. (nothing new, when you were building the addon from my master branch)
v0.5.0
- Support MythTV 0.26 backends
- Allow Timer Deletion
- Support reconnecting to backend
- Reworked LiveTV (no more stops at show end, fixed USB tuner support)
- Performance improvements (adapted socket buffer sizes, removed unnecessary locks)
- Stability improvements
- Fixed crash on SetRecordingPlayCount and SetRecordingLastPlayedPosition
- Fixed crash when addon was restarted
- Fixed crash when backend connection was lost
- Fixed memory leaks in libcmyth
- Show correct start/end time in recordings- and timer view

Be aware that a few other updates + an API change came in. So make sure you also rebuild xbmc.
Cheers,
Christian
Reply
@cfetzer

Ha I was just about to post that the PVR branch didn't work with the recent nightly and here you go with this post. Compiled and tested so far so good!
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
@cfetzer

Ubuntu 12.04
latest nightly (xbmc 12.0-alpha7Git:20121110-492e262 Compiled 11/10/12).
Latest git from you and compiled, but it is showing version 0.4.0 not 0.5.0

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

19:15:14 T:2951740224 ERROR: PVR - Add-on 'unknown' is using an incompatible API version. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barrière, Tonny Petersen
Reply
@speed32219 I had the same problem also running Ubuntu 12.04 for me i was fixed doing a sudo make install instead of a make zip and installing from within xbmc. The new code is 0.50 but for some reason doing a zip install doesn't seem to overwrite the old code.
Reply
I've been switching between MythTv and XBMC for a while, but now when there is support for 0.26 i thought i try XBMC. The first thing i noticed, and i compare to MythTV frontend, is that for channels that i have from two videosources is shown twice. In Myth frontend the same channels when they exist in two videosources is still grouped to only one channel in the channel list. Then i guess Myth figures out that if one videosource is already in use when i try to switch to a channel then the next videosource is used, if available.

Would it be possible with the same behavior in XBMC?

Also, would it be possible to get some kind of on screen message when switching channels? Now the current channel "freeze" and you just sit and wait and hope that soon the channel change is complete. But maybe the backend don't expose the tuning information so you see that in the same way you do in Myth frontend?
Reply
(2012-11-11, 02:24)speed32219 Wrote: @cfetzer

Ubuntu 12.04
latest nightly (xbmc 12.0-alpha7Git:20121110-492e262 Compiled 11/10/12).
Latest git from you and compiled, but it is showing version 0.4.0 not 0.5.0

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

19:15:14 T:2951740224 ERROR: PVR - Add-on 'unknown' is using an incompatible API version. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barrière, Tonny Petersen

Update: same problem. Am I suppose to be at .26 on the backend? Just do not know why I am getting the incompatible API version error. Update to the latest Nov 11th xbmc build and tried doing a make install as well as a make zip (copied the zip into my Addon folder where I keep all addon zip files and installed from zip after removing old one and also removed from .xbmc/addons folder) and still getting the 0.4.0 version of the addon.
Reply
@speed32219: The incompatible API version is related to a XBMC/Addon missmatch. It should work with every mythbackend version.

Did you run configure with --enable-addons-with-dependencies? Could be that you forgot this and without the switch our addon is not built any more and you always get the old existing one.
A "git clean -xfd" could also help. It cleans all build files.
Reply
(2012-11-11, 17:56)cfetzer Wrote: @speed32219: The incompatible API version is related to a XBMC/Addon missmatch. It should work with every mythbackend version.

Did you run configure with --enable-addon-with-dependencies? Could be that you forgot this and without the switch our addon is not built any more and you always get the old existing one.
A "git clean -xfd" could also help. It cleans all build files.

Yes, deleted the directory and downlaoded the latest git from your repo. I also ran the --enable-addon-with-dependencies with configure. I did not do the clean -xfd. I will try that next, I am compiling Janbar git at the moment.
Reply
Just wanted to report that version 0.50 is working great for me. I am using the 1111 nightly build on Mountain Lion OS X. Myth TV version 0.25 backend running on mythbuntu 12.04.

I had been building the add-on from source, but when I upgraded to the latest nightly, I just let XBMC update the plug-in to version 0.5. It connected to the backend fine after that and I am able to tune channels both from DVB and HDHomeRun Prime tuners.

Excellent job by the devs!
Reply
(2012-11-11, 18:02)speed32219 Wrote:
(2012-11-11, 17:56)cfetzer Wrote: @speed32219: The incompatible API version is related to a XBMC/Addon missmatch. It should work with every mythbackend version.

Did you run configure with --enable-addon-with-dependencies? Could be that you forgot this and without the switch our addon is not built any more and you always get the old existing one.
A "git clean -xfd" could also help. It cleans all build files.

Yes, deleted the directory and downlaoded the latest git from your repo. I also ran the --enable-addon-with-dependencies with configure. I did not do the clean -xfd. I will try that next, I am compiling Janbar git at the moment.

Can you pastebin a full build and run log?
(2012-11-11, 18:19)GregoryK Wrote: Just wanted to report that version 0.50 is working great for me. I am using the 1111 nightly build on Mountain Lion OS X. Myth TV version 0.25 backend running on mythbuntu 12.04.

I had been building the add-on from source, but when I upgraded to the latest nightly, I just let XBMC update the plug-in to version 0.5. It connected to the backend fine after that and I am able to tune channels both from DVB and HDHomeRun Prime tuners.

Excellent job by the devs!

Great to hear! Big Grin
Reply
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.
Reply
I am having buffering issues about every fifteen seconds when watching 1080i Live TV using 0.5 and myth 0.25-fixes. XBMC gets discontinuity errors about every 15 seconds.

Here is some background.
- The client is connected via Power Over Ethernet so bandwidth is limited
- Clients connected via CAT5 can play the same 1080i channel without issue
- 720p stations are fine
- 1080i did not have the buffering with the tsp's builds. I've seen the issue since 0.4 and in both janbar/fetzerch repositories
- On the same client, the mpg file can be played back without issue from the recordings file via NFS. Blu-ray rips can be streamed via NFS.

Are there any possible regressions in playback performance? Is there any more efficient way to stream Live TV-- for instance, transcoding via the back-end or using a different protocol to playback the stream?

(Edited-- typo. Also, wrote post before NewJerseyNinja posted similiar issue)
Reply
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
Reply
  • 1
  • 99
  • 100
  • 101(current)
  • 102
  • 103
  • 148

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