XBMC meets VDR UI

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #1
[Image: screenshot000.png]

Isn't this nice Smile
I need to fix some bugs with audio on some channels before I finish this.
find quote
bomping Offline
Junior Member
Posts: 4
Joined: Jan 2011
Reputation: 0
Post: #2
Sweet !!!
find quote
pdeg69 Offline
Junior Member
Posts: 42
Joined: Mar 2005
Reputation: 0
Post: #3
Nice, I'm looking forward to this.
find quote
ZIOLele Offline
Senior Member
Posts: 132
Joined: Oct 2008
Reputation: 0
Post: #4
FernetMenta, you Rock!!

One thing i don't understand (it's just out of curiosity, either wa is good for me ;-D )
this is where you interact with vdr osd, or is just a setting window where you select the theme ui for vdr osd, and then you use the vdr osd from live tv ?
(This post was last modified: 2012-12-08 17:06 by ZIOLele.)
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #5
This is for administration and setup of VDR. It's quite hard to setup VDR and all of its plugins without a GUI. VDR provides.e.g. menus for the various plugins to adjust parameters. I already added a parameter for VNSI, setup for timeshift will follow.
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #6
For those who want to test this (only working on systems with OpenGL):

XBMC from my repo, branch osd:
https://github.com/FernetMenta/xbmc/tree/osd

VNSI addon and vdr plugin from my repo, branch osd:
https://github.com/FernetMenta/xbmc-pvr-addons/tree/osd

Make sue to checkout branch osd (git checkout osd) or reset directly to the branch if you already cloned the repo:
git fetch <repo name>
git reset --hard <repo name>/osd

Watch the hints on the screen. To exit OSD control you need to push the info button. PreviousMenu and NavBack are needed to control vdr osd.
find quote
senufo Offline
Junior Member
Posts: 18
Joined: Sep 2011
Reputation: 0
Post: #7
hello,

I compiled VNSI osd but I can not see the OSD. I just a gray screen. After a while xbmc crashes. Here are the error messages in the syslog:

Code:
Dec 17 21:28:21 netop vdr: [12728] ERROR: 1 ring buffer overflow (77 bytes dropped)
Dec 17 21:28:23 netop vdr: [12635] closing SVDRP connection
Dec 17 21:28:27 netop vdr: [12728] ERROR: 17386 ring buffer overflows (3268568 bytes dropped)
Dec 17 21:28:31 netop kernel: [550294.725683] xbmc.bin invoked oom-killer: gfp_mask=0x82d0, order=0, oom_adj=0, oom_score_adj=0
Dec 17 21:28:31 netop kernel: [550294.725696] xbmc.bin cpuset=/ mems_allowed=0
....
Dec 17 21:32:04 netop AptDaemon.Worker: INFO: Committing packages: dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([dbus.String(u'flashplugin-installer'), dbus.String(u'gnome-settings-daemon')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s'))
Dec 17 21:32:09 netop vdr: [12647] VNSI: Epg state changed (1355776318)
Dec 17 21:32:09 netop AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/c2874dac82494953b4afeede3d592ed9
Dec 17 21:32:09 netop vdr: [12647] loading /home/henri/Sources/Video/VDR/vdrconf/1.7.18/plugins/vnsiserver/allowed_hosts.conf
Dec 17 21:32:09 netop vdr: [12647] VNSI: Client with ID 5 connected: 127.0.0.1:53971
Dec 17 21:32:09 netop vdr: [12973] VNSI: Welcome client 'XBMC osd client' with protocol version '3'
Dec 17 21:32:09 netop vdr: [12973] VNSI: new osd provider
Dec 17 21:32:09 netop vdr: [12973] VNSI: new osd provider
Dec 17 21:32:10 netop vdr: [12635] EnigmaNG: cSkinEnigmaDisplayMenu: CanHandleAreas() [1] returned 6
Dec 17 21:32:10 netop vdr: [12635] ERROR: cOsd::SetAreas returned 6 (out of memory)
Dec 17 21:32:57 netop dbus[869]: [system] Reloaded configuration
Dec 17 21:33:37  dbus[869]: last message repeated 4 times
Dec 17 21:33:37 netop vdr: [12647] VNSI: Epg state changed (1355776329)
Dec 17 21:33:37 netop vdr: [12635] EnigmaNG: cSkinEnigmaDisplayMenu: CanHandleAreas() [1] returned 6
Dec 17 21:33:37 netop vdr: [12635] ERROR: cOsd::SetAreas returned 6 (out of memory)
Dec 17 21:33:41 netop vdr: [12973] VNSI: cxSocket::read: eof, connection closed
Dec 17 21:33:41 netop vdr: [12647] VNSI: Client with ID 5 seems to be disconnected, removing from client list
Dec 17 21:33:46 netop vdr: [12635] connect from 127.0.0.1, port 38673 - accepted
Dec 17 21:33:58 netop vdr: [12945] VNSI: cxSocket::read: eof, connection closed
Dec 17 21:33:59 netop vdr: [12647] VNSI: Client with ID 4 seems to be disconnected, removing from client list
Dec 17 21:34:01 netop vdr: [12647] VNSI: Epg state changed (1355776416)
Dec 17 21:34:05 netop vdr: [12635] closing SVDRP connection

and in xbmc.log :

Code:
21:33:41 T:3047466816   DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu
21:33:41 T:3047466816   DEBUG: ------ Window Deinit (/usr/share/xbmc/addons/pvr.vdr.vnsi/resources/skins/skin.confluence/720p/Admin.xml) ------
21:33:41 T:3047466816   ERROR: ClearBlock: Trying to clear non existent block /usr/share/xbmc/addons/pvr.vdr.vnsi
21:33:41 T:3047466816   DEBUG: ------ Window Deinit (Pointer.xml) ------
21:33:41 T:3047466816   ERROR: ClearBlock: Trying to clear non existent block /usr/share/xbmc/addons/pvr.vdr.vnsi

I use vdr 1.7.33 with plugin skinenigmang, svdrpservice, epgsync, vdrmanager, text2skin , Ubuntu 12.04 and kernel 3.2.0-34

Any idea ?

Thanks
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #8
Quote:Dec 17 21:33:37 netop vdr: [12635] EnigmaNG: cSkinEnigmaDisplayMenu: CanHandleAreas() [1] returned 6
Dec 17 21:33:37 netop vdr: [12635] ERROR: cOsd::SetAreas returned 6 (out of memory)

I only tested with skin lcars. Enigma seems to require more memory. I am just wondering how enigma works with sd device. I use pretty much the same code.
find quote
senufo Offline
Junior Member
Posts: 18
Joined: Sep 2011
Reputation: 0
Post: #9
Thanks,
I'll test tonight without skin Enigma

Senufo
find quote
senufo Offline
Junior Member
Posts: 18
Joined: Sep 2011
Reputation: 0
Post: #10
I tested LCARS and it works well, but with my version of the VDR 1.7.32 LCARS skin appears wrong with xineliboutput and it's the same thing with VNSI.
So I tried two other skins (classic and console) which focntionne with XLO. In this case I have the same error with enigma
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #11
I will test with a different skin over the weekend. There is actually no reason to limit the memory for the osd for VNSI. I just followed the example in sddevice which I thought is a kind of reference implementation.
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #12
I have increased resources for the OSD. EnigmaNG works on my system. Could you give it a try?
find quote
senufo Offline
Junior Member
Posts: 18
Joined: Sep 2011
Reputation: 0
Post: #13
Hi,

I tested the changes and now it works with LCARS and other skins. However I had crashes when I wanted to change the skin from the osd or just me moving through the menus.

the xbmc log file: http://pastebin.com/xjrBZxUS
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,556
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #14
Hi,

I tried to reproduce this issue but no luck. Does it crash just randomly or can you make it crash with a particular pattern? I changed skin more than 20 times but no issue.
find quote
senufo Offline
Junior Member
Posts: 18
Joined: Sep 2011
Reputation: 0
Post: #15
Hi,

I'm not at home, I can't test only next week

Senufo
find quote
Post Reply