[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2

  Thread Rating:
  • 17 Votes - 4.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #1
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.

[Image: widget]
(This post was last modified: 2012-03-12 23:44 by redknight.)
find quote
jdembski Offline
Fan
Posts: 502
Joined: Feb 2012
Reputation: 12
Post: #2
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.
Attached File(s)
.zip  pvr.vuplus-0.1.0-win32.zip (Size: 266.02 KB / Downloads: 422)
.zip  pvr.vuplus-0.1.0-i686.zip (Size: 215.98 KB / Downloads: 154)
.zip  pvr.vuplus-0.1.0-x86_64.zip (Size: 216.6 KB / Downloads: 399)

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
(This post was last modified: 2012-12-20 14:38 by jdembski.)
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #3
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..._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

[Image: widget]
(This post was last modified: 2012-03-12 19:20 by redknight.)
find quote
jdembski Offline
Fan
Posts: 502
Joined: Feb 2012
Reputation: 12
Post: #4
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...

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #5
(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[hr]
(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]

[Image: widget]
(This post was last modified: 2012-03-12 20:21 by redknight.)
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #6
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.
find quote
stadtkind Offline
Junior Member
Posts: 23
Joined: Dec 2010
Reputation: 0
Post: #7
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
(This post was last modified: 2012-03-12 21:22 by stadtkind.)
find quote
jdembski Offline
Fan
Posts: 502
Joined: Feb 2012
Reputation: 12
Post: #8
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...

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
xayide Offline
Senior Member
Posts: 138
Joined: May 2010
Reputation: 0
Post: #9
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/show...dOn-for-VU
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #10
(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/show...dOn-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

[Image: widget]
(This post was last modified: 2012-03-12 23:01 by redknight.)
find quote
xayide Offline
Senior Member
Posts: 138
Joined: May 2010
Reputation: 0
Post: #11
(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 ?
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #12
After installation, I enabled "LIVE TV", then the "VU + client" configured and activated. XBMC rebooted and then got the error messages refer to PDF.
Attached File(s)
.pdf  XBMC-Error.pdf (Size: 104.14 KB / Downloads: 87)
find quote
xayide Offline
Senior Member
Posts: 138
Joined: May 2010
Reputation: 0
Post: #13
(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.
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #14
(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...r_Mac_OS_X

[Image: widget]
(This post was last modified: 2012-03-12 23:27 by redknight.)
find quote
mcheng89 Offline
Fan
Posts: 408
Joined: Jan 2012
Reputation: 4
Post: #15
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...
(This post was last modified: 2012-03-13 00:09 by mcheng89.)
find quote
Post Reply