piotruspan1981 / sd-xbmc

Automatically exported from code.google.com/p/sd-xbmc
0 stars 0 forks source link

External control of Bino. #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install script.
2. Select Video 
3. Play video

What is the expected output? What do you see instead?

Video plays fine, but you dont have any control over bino.

What version of the product are you using? On what operating system?

Latest addon with Dahma on Linux.

Please provide any additional information below.

I notice when I hit a button on my controller XBMC is still running in the 
background, so when I hit space on the keyboard it issues the command to XBMC.

Is there any way to get bino to accept this command ? I was looking on external 
players on xbmc - http://wiki.xbmc.org/index.php?title=External_players and you 
can hide xbmc, but I cant work out what to change to implement that and see if 
it works.

Original issue reported on code.google.com by vixsand...@gmail.com on 9 Nov 2011 at 7:29

GoogleCodeExporter commented 8 years ago
I know xbmc is in the background. I've changed it on newest plugin, but you 
have to have patch to xbmc for handling it. I've done this patch, but I didn't 
publish it yet.

Can you check whether bino response from keyboard? If yes, it's good. I have 
added my own Lircmap.xml for handling Medion X10 remote control. Copy your own 
Lircma.xml, restart xbmc and check it again.

IMPORTANT!
If you want to use remote control you have to create .lircrc with command to 
bino ex:

begin
  prog = bino
  button = RED
  config = cycle-audio-stream
end

begin
  prog = bino
  button = GREEN
  config = cycle-subtitle-stream
end

begin
  prog = bino
  button = EDIT_IMAGE
  config = toggle-stereo-mode-swap
end

begin
  prog = bino
  button = STOP
  config = stop
end

begin
  prog = bino
  button = PLAY
  config = play
end

begin
  prog = bino
  button = PAUSE
  config = pause
end

begin
  prog = bino
  button = REWIND
  config = seek -120
end

begin
  prog = bino
  button = FORWARD
  config = seek +120
end

begin
  prog = bino
  button = FULLSCREEN
  config = toggle-fullscreen
end

begin
  prog = bino
  button = LEFT
  config = adjust-subtitle-parallax +0.01
end

begin
  prog = bino
  button = RIGHT
  config = adjust-subtitle-parallax -0.01
end

begin
  prog = bino
  button = UP
  config = adjust-brightness +0.05
end

begin
  prog = bino
  button = DOWN
  config = adjust-brightness -0.05
end

begin
  prog = bino
  button = CHAN+
  config = adjust-contrast +0.05
end

begin
  prog = bino
  button = CHAN-
  config = adjust-contrast -0.05
end

begin
  prog = bino
  button = VOL+
  config = adjust-parallax +0.05
end

begin
  prog = bino
  button = VOL-
  config = adjust-parallax -0.05
end

begin
  prog = bino
  button = 0
  config = set-pos 0
end

begin
  prog = bino
  button = 1
  config = set-pos 0.1
end

begin
  prog = bino
  button = 2
  config = set-pos 0.2
end

begin
  prog = bino
  button = 3
  config = set-pos 0.3
end

begin
  prog = bino
  button = 4
  config = set-pos 0.4
end

begin
  prog = bino
  button = 5
  config = set-pos 0.5
end

begin
  prog = bino
  button = 6
  config = set-pos 0.6
end

begin
  prog = bino
  button = 7
  config = set-pos 0.7
end

begin
  prog = bino
  button = 8
  config = set-pos 0.8
end

begin
  prog = bino
  button = 9
  config = set-pos 0.9
end 

Original comment by ples...@gmail.com on 9 Nov 2011 at 9:12

GoogleCodeExporter commented 8 years ago
Nope, I get no response from the keyboard (again if I push say up and down on 
the keyboard I can hear xbmc clicking in the background)

Keyboard support would cover what I need so if I could get that working it 
would be perfect.

Original comment by vixsand...@gmail.com on 9 Nov 2011 at 1:18

GoogleCodeExporter commented 8 years ago
It's very strange behavior... I have no idea how I can help...

Original comment by ples...@gmail.com on 10 Nov 2011 at 11:08

GoogleCodeExporter commented 8 years ago
No problem, thank you for at-least looking and trying to help.

I am planning to redo my HTPC at some point in the future, so I will try 
rebuilding xbmc then and hopefully that will solve it.

Original comment by vixsand...@gmail.com on 10 Nov 2011 at 11:17

GoogleCodeExporter commented 8 years ago
It worked fine (keyboard)  on a new fresh install, so for anyone reading this 
for reference it should work with with the latest ( 11 / 11 /11 ) git.

thanks for the patch and work on the plug in.  

Original comment by vixsand...@gmail.com on 11 Nov 2011 at 4:05

GoogleCodeExporter commented 8 years ago

Original comment by ples...@gmail.com on 4 Dec 2011 at 7:15