Kodi Community Forum

Full Version: how to map togglewatched to number 1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do i map mark as watched to number 1 key on my remote. this is my lircmap

<lircmap>
<remote device="devinput">
<mymusic>KEY_AUDIO</mymusic>
<myvideo>KEY_VIDEO</myvideo>
<w>KEY_NUMERIC_1</w>
</remote


what am i doing wrong?is there something else i need to do
(2014-03-28, 17:41)eoghan Wrote: [ -> ]how do i map mark as watched to number 1 key on my remote. this is my lircmap

<lircmap>
<remote device="devinput">
<mymusic>KEY_AUDIO</mymusic>
<myvideo>KEY_VIDEO</myvideo>
<w>KEY_NUMERIC_1</w>
</remote


what am i doing wrong?is there something else i need to do


Three things stand out to me.

1. Did you just make up the <w> ?
2. AFAIK there is no <w> in remote.xml
3. You are missing the closing tag for remote.


Understanding LIRC and XBMC
http://forum.xbmc.org/showthread.php?tid=189617
since you said you're doing this from a remote i think you're doing it wrong. lircmap.xml maps the raw remote command to a preset name like:

<one>KEY_NUMERIC_1</one>

where you assign a remote button to an XBMC action is in remote.xml like:

<one>ToggleWatched</one>

try that...probably in <MyVideoLibrary> or you'll have conflicts w/ the normal assignments for <one> but i'm just guessing at where you want this mapping to work. if i were you i'd assign it to a lesser used button...i chose <blue>.
I cant figure out what im doing wrong. I managed to get it working a few months back but not this time. This is my lircmap.xml now

<lircmap>
<remote device="devinput">
<mymusic>KEY_AUDIO</mymusic>
<myvideo>KEY_VIDEO</myvideo>
<green>KEY_TV</green>
</remote>
</lircmap>

Ithen went into keymaps folder and opened remote xml and added to <green>ToggleWatched</green> under <MyVideoLibrary>
example

<MyVideoLibrary>
<remote>
<green>ToggleWatched</green>
<zero>Queue</zero>
<clear>Delete</clear>
</remote>
</MyVideoLibrary>
(2014-03-30, 20:12)eoghan Wrote: [ -> ]I cant figure out what im doing wrong. I managed to get it working a few months back but not this time. This is my lircmap.xml now

<lircmap>
<remote device="devinput">
<mymusic>KEY_AUDIO</mymusic>
<myvideo>KEY_VIDEO</myvideo>
<green>KEY_TV</green>
</remote>
</lircmap>

Ithen went into keymaps folder and opened remote xml and added to <green>ToggleWatched</green> under <MyVideoLibrary>
example

<MyVideoLibrary>
<remote>
<green>ToggleWatched</green>
<zero>Queue</zero>
<clear>Delete</clear>
</remote>
</MyVideoLibrary>

I dont know how you expect it to get the #1 key to work by using a key that is called KEY_TV.

Start irw and press the key you want to use. Tell us EXACTLY what it returns