XBMC Community Forum
[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 (/showthread.php?tid=125232)



[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-03-10 16:53

This thread originated from;

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

We have moved here as it has turned from a feature request to a work in progress addon.


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-03-12 17:36

Thanks redknight - I guess you are right and that it makes sense to continue in this thread instead of the thread in the feature request section.

This addon should work for all enigma2 based boxes, both with openwebif or the legacy webif. I personally use it with a VU+ Duo...

Features:
- TV
- EPG-View
- Radio
- Add / Remove Timers
- Recordings
- Multiple recording directories
- channel groups
- Timer
- Automatic Timer Cleanup (configurable)
- "Zap before channelswitch" for Single-Tuner boxes (configurable)
- Picons

Links to the current version:
http://www.dotnetdevelopers.net/XBMC/xbmcpvr.html

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

Somehow I cannot remove the attachments from this post - you shouldn't download the versions below as they are quite ancient and there are a lot of bugs in it.


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-03-12 19:11

As this is a binary addon at the minute it needs to be compiled for your OS, I believe the windows code is working so here's a how to for windows;

http://wiki.xbmc.org/index.php?title=HOW-TO:Compile_XBMC_for_Windows_using_Git

To compile for linux (Ubuntu-Oneric);

ctrl+alt+T - Terminal window and paste each line

1. sudo add-apt-repository ppa:team-xbmc/unstable
2. sudo add-apt-repository ppa:pulse-eight/libcec
3. sudo apt-get update
4. sudo apt-get install libcec
5. sudo apt-get build-dep xbmc
6. sudo apt-get install git
7. git clone git://github.com/jdembski/xbmc.git
8. cd xbmc
9. ./bootstrap
10. ./configure
11. make


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-03-12 20:03

I tried using the windows XBMC PVR build provided from opdenkamp (http://xbmc.opdenkamp.eu/) and then copying the compiled addon into the addon directory.

Strange thing is that Channels, LiveTV, Timers, Recordings - everything seems to be working OK, except for the EPG stuff:

Code:
18:55:08 T:3804    INFO: AddOnLog: VU+ Client: Vu::GetHttpXML Got result. Length: 516896
18:55:08 T:3804    INFO: AddOnLog: VU+ Client: Vu::GetEPGForChannel Number of elements: '1010'
18:55:08 T:3804   ERROR: PVRClient - PVR::CPVRClient::GetEPGForChannel - exception 'Access violation' caught while trying to call GetEPGForChannel() on addon 'Vu:'. please contact the developer of this addon: Joerg Dembski

Not sure why this is happening though - will have to investigate this when I've got time...


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-03-12 20:06

(2012-03-12 17:08)trans Wrote:  Yes, I can build the windows version.

I checked out yesterday afternoon around 14:00 and built.
I checked again now and build again. But it takes a bit until it's finished.

I've downloaded it and built it but it's not working for me either, I'm uploading my build anyway to see if it works for anyone else.

http://www.mediafire.com/?r2hwplte82x590q
(2012-03-12 20:03)jdembski Wrote:  I tried using the windows XBMC PVR build provided from opdenkamp (http://xbmc.opdenkamp.eu/) and then copying the compiled addon into the addon directory.

Strange thing is that Channels, LiveTV, Timers, Recordings - everything seems to be working OK, except for the EPG stuff:

Code:
18:55:08 T:3804    INFO: AddOnLog: VU+ Client: Vu::GetHttpXML Got result. Length: 516896
18:55:08 T:3804    INFO: AddOnLog: VU+ Client: Vu::GetEPGForChannel Number of elements: '1010'
18:55:08 T:3804   ERROR: PVRClient - PVR::CPVRClient::GetEPGForChannel - exception 'Access violation' caught while trying to call GetEPGForChannel() on addon 'Vu:'. please contact the developer of this addon: Joerg Dembski

Not sure why this is happening though - will have to investigate this when I've got time...

What would be really nice would be to mash it together with the OPENELEC PVR build, that would fix a lot of the performance issues I'm having with the linux version and as far as I know the openelec pvr build is the opdenkamp pvr

I'm off for a few days should be back by the weekend


According to my tortoise git the last commit to the git was 26 hours ago, putting it at about 16:00 Sunday 11th March

Is this correct?

[Image: 3XQju.jpg]


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-03-12 20:35

So, now I have everything checked out and built again. I've uploaded it here:

http://www.mediafire.com/?ab04qils80lgkwl

In addition I need to be "msvcp100d.dll" and "msvcr100d.dll" (google) to copy the XBMC folder.


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - stadtkind - 2012-03-12 20:59

tested it with my et9x00, everything seems to be working , but no epg data...
hope jdembski can fix it.
thank you so far for this great addon


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-03-12 21:49

Yes, I can reproduce that on windows. Like I said I'm not sure why it does work on Linux and not on windows...

I will have a look tomorrow...


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - xayide - 2012-03-12 22:21

I do not know which build I tried, but I am running on OS X Lion. And EPG is working. I got it from here:

http://www.linux-sat-keys.com/forum/showthread.php/6195-XBMC-PVR-AddOn-for-VU


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-03-12 22:51

(2012-03-12 20:35)trans Wrote:  So, now I have everything checked out and built again. I've uploaded it here:

http://www.mediafire.com/?ab04qils80lgkwl

In addition I need to be "msvcp100d.dll" and "msvcr100d.dll" (google) to copy the XBMC folder.

Can I ask how you knew those dll files were also required and why we need to add those manually?

Is this something we can automate
(2012-03-12 22:21)xayide Wrote:  I do not know which build I tried, but I am running on OS X Lion. And EPG is working. I got it from here:

http://www.linux-sat-keys.com/forum/showthread.php/6195-XBMC-PVR-AddOn-for-VU

That build is from a week or so ago, but should work ok. Stability has been improved and support for adjusting your web interface port and zap when tuning for single tuner machines


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - xayide - 2012-03-12 23:10

(2012-03-12 22:51)redknight Wrote:  That build is from a week or so ago, but should work ok. Stability has been improved and support for adjusting your web interface port and zap when tuning for single tuner machines

Do you know any way to upgrade to latest plugin? Can I just download it somewhere and patch current xbmc ?


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-03-12 23:14

After installation, I enabled "LIVE TV", then the "VU + client" configured and activated. XBMC rebooted and then got the error messages refer to PDF.


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - xayide - 2012-03-12 23:17

(2012-03-12 23:14)trans Wrote:  After installation, I enabled "LIVE TV", then the "VU + client" configured and activated. XBMC rebooted and then got the error messages refer to PDF.

You have to google and find those missing files. Read above in this thread.


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-03-12 23:24

(2012-03-12 23:10)xayide Wrote:  
(2012-03-12 22:51)redknight Wrote:  That build is from a week or so ago, but should work ok. Stability has been improved and support for adjusting your web interface port and zap when tuning for single tuner machines

Do you know any way to upgrade to latest plugin? Can I just download it somewhere and patch current xbmc ?

someone built that version from git, if you look back at earlier posts you can see us discussing Linux and windows building techniques. For macOS I'm sure it's not that hard, some google searching for how to compile xbmc from git macOS should do it

http://wiki.xbmc.org/index.php?title=HOW-TO:Compile_XBMC_for_Mac_OS_X


RE: PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - mcheng89 - 2012-03-12 23:57

Scratch that comment, had the 'Access violation' for GetChannels... not epg
^Maybe its the same fix though?

@redknight, received your pm
You dont need to recompile xbmc to compile a plugin Smile

I'll send you the required files when I get home...