XBMC

Questions and comments specific to a particular plugin should go here.

Re: ShowDVDMenu

Postby kricker » Wed Jan 07, 2009 2:24 am

Good news. You might want to let someone who has xbmc wiki editor status know so they can change the docs.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: event delivery speed to xbmc

Postby mcowher » Wed Jan 07, 2009 2:05 pm

dbbd wrote:The only options are initial repeat delay and continuous repeat delay.
Both deal with repeats. I played with both, and did not notice any effect on
the first response delay.
Anyway, thanks; I'll play with this some more.


Dbbd,

Did you ever solve this problem, because I'm having the same issue with laggy and missing response within XBMC?
mcowher
 
Posts: 2
Joined: Tue Jan 06, 2009 1:31 pm

Re: event delivery speed to xbmc

Postby dbbd » Thu Jan 08, 2009 8:52 am

mcowher wrote:
dbbd wrote:The only options are initial repeat delay and continuous repeat delay.
Both deal with repeats. I played with both, and did not notice any effect on
the first response delay.
Anyway, thanks; I'll play with this some more.


Dbbd,

Did you ever solve this problem, because I'm having the same issue with laggy and missing response within XBMC?


Yes, I solved the issue. My remote is a Philips SRU9600. It was configured as an MCE remote. MCE remotes have some issues with toggle codes. What I did was to reconfigure my remote to imitate some other remote that uses single codes, and everything started to play out.
dbbd
 
Posts: 33
Joined: Sat Apr 26, 2008 2:10 pm

Re: XBMC

Postby digitalhigh » Fri Jan 09, 2009 5:02 pm

Insert generic "I'm a noob, forgive me for asking dumb questions, I just started using Eventghost" disclaimer here.

Allright. Help me help you. I want to make this really crazy config script that tells eventghost to map the "Y" button on my XB1 controller to the "Y" button in XBMC. I then want to map the "X" Button to the "X" button in my keymap.xml. After that, I want to map the "A" button, "B" button, "start", "back", "black" and "white" buttons. to their corresponding keymap.xml buttons.

It's my understanding that this can be accomplished somehow using this object:
Code: Select all
class PacketBUTTON (Packet):
    """A BUTTON packet

    A button packet send a key press or release event to XBMC
    """
    def __init__(self, code=0, repeat=1, down=1, queue=0,
                 map_name="", button_name="", amount=0, axis=0):
        """
        Keyword arguments:
        code -- raw button code (default: 0)
        repeat -- this key press should repeat until released (default: 1)
                  Note that queued pressed cannot repeat.
        down -- if this is 1, it implies a press event, 0 implies a release
                event. (default: 1)
        queue -- a queued key press means that the button event is
                 executed just once after which the next key press is
                 processed. It can be used for macros. Currently there
                 is no support for time delays between queued presses.
                 (default: 0)
        map_name -- a combination of map_name and button_name refers to a
                    mapping in the user's Keymap.xml or Lircmap.xml.
                    map_name can be one of the following:
                    "KB" => standard keyboard map ( <keyboard> section )
                    "XG" => xbox gamepad map ( <gamepad> section )
                    "R1" => xbox remote map ( <remote> section )
                    "R2" => xbox universal remote map ( <universalremote>
                            section )
                    "LI:devicename" => LIRC remote map where 'devicename' is the
                    actual device's name
        button_name -- a button name defined in the map specified in map_name.
                       For example, if map_name is "KB" refering to the
                       <keyboard> section in Keymap.xml then, valid
                       button_names include "printscreen", "minus", "x", etc.
        amount -- unimplemented for now; in the future it will be used for
                  specifying magnitude of analog key press events


How? Do I have to define the object in the __init___.py file?:

All I need is an example button for syntax. Show me how to map the "Y" button. I can get it from there...
Last edited by digitalhigh on Fri Jan 09, 2009 6:03 pm, edited 1 time in total.
digitalhigh
 
Posts: 3
Joined: Fri Jan 09, 2009 4:31 pm

Re: XBMC

Postby kricker » Fri Jan 09, 2009 5:14 pm

I am a bit confused as to what your are trying to do. Using this plugin you should be able to map all your buttons to whatever function you want them to do. You can also edit your keymap.xml in XBMC to change what those functions do in XBMC if you need to. That should be all you need, unless I missed something.
kricker
Experienced User
 
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am

Re: XBMC

Postby digitalhigh » Fri Jan 09, 2009 5:33 pm

kricker wrote:I am a bit confused as to what your are trying to do. Using this plugin you should be able to map all your buttons to whatever function you want them to do. You can also edit your keymap.xml in XBMC to change what those functions do in XBMC if you need to. That should be all you need, unless I missed something.


Edit: Re-read the first post...I pasted the wrong thing when I was writing...this explains better why I think this shouldn't be that tricky to do...

I don't want it mapped to one of the available functions. I want to be able to press "b" on my controller and have XBMC see that I pushed "B" on my Xbox controller. I want to be able to press white and have XBMC recieve the command for "XBox Gamepad button 'white'". My end goal is to have an exact replica of the functionality found on the Xbox. I can get close with xpadder, but it sounds like I can get it right on using this method.

I want the original xbox keymap functions to work for the original xbox buttons they're defined for...
digitalhigh
 
Posts: 3
Joined: Fri Jan 09, 2009 4:31 pm

Re: XBMC

Postby digitalhigh » Fri Jan 09, 2009 6:16 pm

digitalhigh
 
Posts: 3
Joined: Fri Jan 09, 2009 4:31 pm

Re: XBMC

Postby ryguycmt » Sun Jan 11, 2009 10:18 am

I'm sorry in advance! I'm totally new to the HTPC remote thing.

I love XBMC and i've been using it for a couple months now...I'm hooked! but from what I've read the remote support for XP is horrible.

my current situation is that i just ordered a pvr card (Visiontek 650 PCIE http://www.visiontek.com/products/theater/tvw650_pcie.html) and it came with a crappy IR remote. Not knowing any better i had thought that this would work just fine. What could be complicated about a remote right? However, i got it, plugged in the receiver (it installed automatically as a generic HID) and the remote had some LIMITED functionality (Shut Down, Up, Down, Left, Right, Select, Mute, Volume Up and Volume Down) in the XP environment.

I opened XBMC and that same LIMITED functionality followed, though exactly the same as before....i.e. the volume/mute controls affected the sound card (system) volume and mute and the power button still shuts down XP and powers down the PC.

I started reading the posts on the XBMC forum which led me to Event Ghost. I installed the latest version and grabbed the most recent XBMC plugin. I started event ghost, installed the XBMC plugin (made the XBMC macros available), installed the generic "Plugin:HID:Philips ATI Theater Remote Receiver." Now what? I am totally lost in the Event Ghost application.

The two things i want to know from here are:
Should i bother with this piddly remote or just buy one of the many MCE remotes that i have now read so much about?
How do i assign actions, macros, etc. to specific buttons on the remote? (links to tutorials?)

I imagine that all this would be exceedingly simple if I had a real MCE remote. Any suggestions for a good all around HTPC remote (possibly that can also control other HT components)

My specs are as follows:
XBMC 8.10
SVN unknown (compiled: Nov 13 2008)
Event Ghost 0.3.6.1487
SVN 626
Python Version 2.5.2 final
WxPython Version 1.1.6
Platform Win-XP-5.1.2600-SP3
CPU Intel Pentium 4 2.66GHz
GPU Radeon x600 x86/SSE2
Res 800X600 (hand-me-down VGA in TV)
OpenGL ATI Version 1.5

Thank you for any feed back!
ryguycmt
 
Posts: 3
Joined: Sun Jan 11, 2009 9:10 am

Re: XBMC

Postby atz6975 » Sat Jan 17, 2009 8:23 am

ryguycmt wrote:I'm sorry in advance! I'm totally new to the HTPC remote thing.

....
My specs are as follows:
XBMC 8.10
SVN unknown (compiled: Nov 13 2008)
Event Ghost 0.3.6.1487
SVN 626
Python Version 2.5.2 final
WxPython Version 1.1.6
Platform Win-XP-5.1.2600-SP3
CPU Intel Pentium 4 2.66GHz
GPU Radeon x600 x86/SSE2
Res 800X600 (hand-me-down VGA in TV)
OpenGL ATI Version 1.5

Thank you for any feed back!

first thing first: when you press any button on the remote does it show up in EG's log window (left side). If you get anything (actually events) then it means your just a few steps away. If not, you need to make sure you're loading the appropriate "stuff" for your remote to work.

So if your button presses show up on the left side you just need to drag them to the right side where your XBMC macros stand! Just make sure those macros are active.

Good luck.
eg 0.3.7.1076
Vista, x32, SP1
atz6975
 
Posts: 21
Joined: Mon Dec 01, 2008 6:36 am

Re: XBMC

Postby shadowdragon » Sun Jan 18, 2009 12:40 am

I had this all working just the way i wanted it to when i was using my notebook to set up my mce remote for xbmc. the xbmc plugin was/is working great. Vista 64bit

now i go to my media center pc and install eventghost and the xbmc plug in. loaded my already configured xml file and now it wants to skip a line when i press the up and down arrows??? the log window in eventghost shows one key press, not 2 when i press the up or down arrow key, and for any other key for that matter.

eg: from the main screen you have videos, then music, pictures, weather, scripts and lastly settings. the cursor of course starts on videos and when i press the down arrow it jumps to pictures missing music. it will keep skipping a line. this happens for every menu.

i created a brand new xml file and no change, it still skips a line.

on my notebook all was good, and now on my media center pc, it's not so good..... :/

i am running atlantis 8.10 freshly d/l'd from xbmc.org/downloads. my media center pc is Vista 32bit.

any ideas? thx.


UPDATE: when I disabled MCE realated items in services.msc (4 of them) and rebooted, the cursor acted as normal. I didn't have to do that under the 64bit version of vista.... weird.... anyways all is good......so far :)
shadowdragon
 
Posts: 5
Joined: Thu Jan 15, 2009 5:39 pm

Re: XBMC

Postby ryguycmt » Wed Jan 21, 2009 1:21 pm

first thing first: when you press any button on the remote does it show up in EG's log window (left side). If you get anything (actually events) then it means your just a few steps away. If not, you need to make sure you're loading the appropriate "stuff" for your remote to work.

Nothing shows on the log. This is what was mystifying me i think...The CD's that came with the remote didn't have separate drivers for the IR receiver, and since windows automatically installed the thing i assumed that they weren't necessary. I have a usb-uirt and harmony remote on the way. I hope that improves the situation.
So if your button presses show up on the left side you just need to drag them to the right side where your XBMC macros stand! Just make sure those macros are active.

That's exactly what i needed to know! Thank You! I must sound retarded? But there isnt any documentation (that i found) explaining those types of fundamentals.

P.S. I apologize for posting this here, it probably belongs elsewhere.
ryguycmt
 
Posts: 3
Joined: Sun Jan 11, 2009 9:10 am

Re: XBMC

Postby rausch101 » Fri Jan 23, 2009 10:37 pm

Is there a "Queue" command in this plugin that I'm missing somehow? That's the one command that I often use that isn't in this plugin, at least as far as I can tell
rausch101
 
Posts: 7
Joined: Fri Jan 23, 2009 10:25 pm

Re: XBMC

Postby THX-UltraII » Tue Feb 24, 2009 8:02 am

Anyone by chance knows if it is possible in the XBMC plugin in EventGhost to add a button to immediately start a trailer (that is stored in a movie folder*)and not have to go into the 'ínfo' and select trailer?

* I use separate folders for each movie with a movie and trailer file. This way the trailer button becomes visible in the 'info' of a movie.
Folder sample:

C:\Documents and Settings\Movies\Transformers
folder contains:
Transformers.mkv
Transformers-trailer.mkv


thxz
THX-UltraII
 
Posts: 24
Joined: Tue Feb 24, 2009 7:40 am

Re: XBMC

Postby byronl » Tue Feb 24, 2009 11:56 am

"Is there a "Queue" command in this plugin that I'm missing somehow? That's the one command that I often use that isn't in this plugin, at least as far as I can tell"

It's there and it works. Have you got the latest version?

B
byronl
 
Posts: 22
Joined: Tue Feb 24, 2009 11:53 am

Re: XBMC

Postby Livin » Sat Feb 28, 2009 1:44 am

With the changes in 3.7 is it possible that this plug-in could be updated to auto-map IR codes to keyboard emulation?

I could never get the plug-in to work without KB emulation mapped... not sure if it is supposed to?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron